Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0e93cfee authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- introduced the generation of a alignsvc.jar

parent 2109d4b9
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,9 @@ ...@@ -45,6 +45,9 @@
<fileset dir="./lib"> <fileset dir="./lib">
<include name="*.jar"/> <include name="*.jar"/>
</fileset> </fileset>
<fileset dir="../lib">
<include name="*.jar" />
</fileset>
</path> </path>
</target> </target>
...@@ -85,6 +88,13 @@ ...@@ -85,6 +88,13 @@
<fileset dir="classes" includes="fr/inrialpes/exmo/align/ling/**/*.class"/> <fileset dir="classes" includes="fr/inrialpes/exmo/align/ling/**/*.class"/>
<fileset dir="classes" includes="LICENSE.TXT"/> <fileset dir="classes" includes="LICENSE.TXT"/>
</jar> </jar>
<delete file="lib/alignsvc.jar"/>
<!-- A manifest for the standalone service class should be created -->
<jar jarfile="lib/alignsvc.jar" manifest="distrib/MANIFEST-wn.MF">
<fileset dir="classes" includes="fr/inrialpes/exmo/align/service/**/*.class"/>
<fileset dir="classes" includes="fr/inrialpes/exmo/queryprocessor/**/*.class"/>
<fileset dir="classes" includes="LICENSE.TXT"/>
</jar>
</target> </target>
<!-- not tested --> <!-- not tested -->
...@@ -159,39 +169,76 @@ ...@@ -159,39 +169,76 @@
</zip> </zip>
</target> </target>
<target name="svnCommit">
<property name="source-root" value="/usr/src"/>
<property name="repository.URL" value="http://sources.example.com"/>
<java classname="org.tmatesoft.svn.cli.SVN"
dir="${source-root}/TESTREPO" fork="true">
<arg value="commit"/>
<arg value="--username"/>
<arg value="admin"/>
<arg value="--password"/>
<arg value="admin"/>
<arg value="-m"/>
<arg value='"Testing"'/>
<arg value="${repository.URL}/TESTING"/>
<classpath>
<pathelement location="${antroot}/LIB/ganymed.jar" />
<pathelement location="${antroot}/LIB/javasvn.jar" />
<pathelement location="${antroot}/LIB/javasvn-cli.jar" />
</classpath>
</java>
</target>
<!-- This is for testing purposes, but has been found to work -->
<target name="status" depends="init">
<java classname="org.tmatesoft.svn.cli.SVN" dir="." fork="true">
<arg value="status" />
<classpath refid="classpath"/>
</java>
</target>
<!-- not tested yet --> <!-- not tested yet -->
<target name="update" depends="init"> <target name="update" depends="init">
<exec executable="svn"> <java classname="org.tmatesoft.svn.cli.SVN" dir="." fork="true"
<arg line="update" /> failonerror="true">
<arg line="--username" /> <sysproperty key="javasvn.ssh2.key"
<arg line="${login}" /> value="/Volumes/Khata/.ssh/id_dsa" />
</exec> <!--sysproperty key="javasvn.ssh2.username" value="${login}" />
<sysproperty key="javasvn.ssh2.passphrase" value="aa" /-->
<arg value="update" />
<classpath refid="classpath"/>
</java>
</target> </target>
<!-- not tested yet --> <!-- not tested yet -->
<target name="commit" depends="update"> <target name="commit" depends="update">
<exec executable="svn"> <java classname="org.tmatesoft.svn.cli.SVN" dir="." fork="true">
<arg line="commit" /> <arg value="commit" />
<arg line="--username" /> <arg value="--username" />
<arg line="${login}" /> <arg value="${login}" />
<arg line="-m" /> <arg value="-m" />
<arg line='"Pre-release ${version}"' /> <arg value='"Pre-release ${version}"' />
</exec> <classpath refid="classpath"/>
</java>
</target> </target>
<!-- not tested yet --> <!-- not tested yet -->
<target name="svnbranch" depends=""> <target name="svnbranch" depends="">
<exec executable="svn"> <java classname="org.tmatesoft.svn.cli.SVN" dir="." fork="true">
<arg line="copy" /> <arg value="copy" />
<arg line="--username" /> <arg value="--username" />
<arg line="${login}" /> <arg value="${login}" />
<arg line="${rep}/trunk" /> <arg value="${rep}/trunk" />
<arg line="${rep}/tags/version-${version}" /> <arg value="${rep}/tags/version-${version}" />
<arg line="-m" /> <arg value="-m" />
<arg line='"Release ${version}"' /> <arg value='"Release ${version}"' />
</exec> <classpath refid="classpath"/>
</java>
</target> </target>
<target name="clean"> <target name="clean">
<echo message="Cleaning..."/> <echo message="Cleaning..."/>
</target> </target>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment