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 @@
<fileset dir="./lib">
<include name="*.jar"/>
</fileset>
<fileset dir="../lib">
<include name="*.jar" />
</fileset>
</path>
</target>
......@@ -85,6 +88,13 @@
<fileset dir="classes" includes="fr/inrialpes/exmo/align/ling/**/*.class"/>
<fileset dir="classes" includes="LICENSE.TXT"/>
</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>
<!-- not tested -->
......@@ -159,39 +169,76 @@
</zip>
</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 -->
<target name="update" depends="init">
<exec executable="svn">
<arg line="update" />
<arg line="--username" />
<arg line="${login}" />
</exec>
<java classname="org.tmatesoft.svn.cli.SVN" dir="." fork="true"
failonerror="true">
<sysproperty key="javasvn.ssh2.key"
value="/Volumes/Khata/.ssh/id_dsa" />
<!--sysproperty key="javasvn.ssh2.username" value="${login}" />
<sysproperty key="javasvn.ssh2.passphrase" value="aa" /-->
<arg value="update" />
<classpath refid="classpath"/>
</java>
</target>
<!-- not tested yet -->
<target name="commit" depends="update">
<exec executable="svn">
<arg line="commit" />
<arg line="--username" />
<arg line="${login}" />
<arg line="-m" />
<arg line='"Pre-release ${version}"' />
</exec>
<java classname="org.tmatesoft.svn.cli.SVN" dir="." fork="true">
<arg value="commit" />
<arg value="--username" />
<arg value="${login}" />
<arg value="-m" />
<arg value='"Pre-release ${version}"' />
<classpath refid="classpath"/>
</java>
</target>
<!-- not tested yet -->
<target name="svnbranch" depends="">
<exec executable="svn">
<arg line="copy" />
<arg line="--username" />
<arg line="${login}" />
<arg line="${rep}/trunk" />
<arg line="${rep}/tags/version-${version}" />
<arg line="-m" />
<arg line='"Release ${version}"' />
</exec>
<java classname="org.tmatesoft.svn.cli.SVN" dir="." fork="true">
<arg value="copy" />
<arg value="--username" />
<arg value="${login}" />
<arg value="${rep}/trunk" />
<arg value="${rep}/tags/version-${version}" />
<arg value="-m" />
<arg value='"Release ${version}"' />
<classpath refid="classpath"/>
</java>
</target>
<target name="clean">
<echo message="Cleaning..."/>
</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