Mentions légales du service

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

- improved build entry for generating aserv.jar (from all jars in lib)

parent 15435992
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
lint: compiles all sources with bug flags on lint: compiles all sources with bug flags on
jar: archives compiled code jar: archives compiled code
test: performs unit tests test: performs unit tests
aserv: creates an empty jar file for launching servers
zip: creates a new zip file zip: creates a new zip file
javadoc: generates documentation javadoc: generates documentation
release: releases a new version release: releases a new version
...@@ -277,40 +278,42 @@ ...@@ -277,40 +278,42 @@
<delete file="lib/ontowrap.jar"/> <delete file="lib/ontowrap.jar"/>
<delete file="lib/alignsvc.jar"/> <delete file="lib/alignsvc.jar"/>
<delete file="lib/procalign.jar"/> <delete file="lib/procalign.jar"/>
<delete file="lib/aserv.jar"/>
</target> </target>
<!-- tested --> <!-- tested -->
<!-- This generate a server jar with a class path containing all
libs in the lib directory. Useful for servers -->
<target name="aserv" depends="bind"> <target name="aserv" depends="bind">
<echo message="Setting property..."/> <echo message="Generating aserv jar..."/>
<jar jarfile="lib/aserv.jar"> <delete file="lib/aserv.jar" />
<pathconvert property="aserv.classpath" pathsep=" ">
<map from="${user.dir}/${libdir}/" to=""/>
<path>
<fileset dir="./lib">
<include name="**/*.jar"/>
<include name="*.jar"/>
<!-- several useless (and may be harmful) things at the moment -->
<!--exclude name="seals/seals-omt-client.jar" /-->
</fileset>
</path>
<!--flattenmapper /-->
</pathconvert>
<echo message="path: ${aserv.classpath}" />
<jar jarfile="aserv.jar">
<manifest> <manifest>
<attribute name="Built-Date" value="${date}"/> <attribute name="Built-Date" value="${date}"/>
<attribute name="Main-Class" value="fr.inrialpes.exmo.align.service.AlignmentService"/> <attribute name="Main-Class" value="fr.inrialpes.exmo.align.service.AlignmentService"/>
<!-- usually each MANIFEST knows what it needs, add here --> <!-- usually each MANIFEST knows what it needs, add here -->
<!-- semanticmapper-0.2.jar jwnl.jar sboa.jar TaxoMap.jar AROMA_aserv.jar oyster2.jar, semanticmapper-0.2.jar, sboalgorithms.jar --> <!-- semanticmapper-0.2.jar jwnl.jar sboa.jar TaxoMap.jar AROMA_aserv.jar oyster2.jar, semanticmapper-0.2.jar, sboalgorithms.jar -->
<!-- others should be there naturally --> <!-- others should be there naturally -->
<attribute name="Class-Path" value="alignsvc.jar"/> <attribute name="Class-Path" value="${aserv.classpath}"/>
<attribute name="Implementation-Title" value="Alignment server custom launcher"/> <attribute name="Implementation-Title" value="Alignment server custom launcher"/>
<attribute name="Implementation-Version" value="${version} (${svn.rev})"/> <attribute name="Implementation-Version" value="${version} (${svn.rev})"/>
</manifest> </manifest>
</jar> </jar>
<move file="aserv.jar" tofile="lib/aserv.jar" />
</target> </target>
<!-- JE: May also be done this way... bundles all the necessary jars...
<jar destfile="build/main/checksites.jar">
<fileset dir="build/main/classes"/>
<restrict>
<name name="**/*.class"/>
<archives>
<zips>
<fileset dir="lib/main" includes="**/*.jar"/>
</zips>
</archives>
</restrict>
<manifest>
<attribute name="Main-Class"
value="com.acme.checksites.Main"/>
</manifest>
</jar-->
<!-- tested --> <!-- tested -->
<target name="test" depends="bind" description="Unit test code"> <target name="test" depends="bind" description="Unit test code">
......
...@@ -76,6 +76,7 @@ with a warning: ...@@ -76,6 +76,7 @@ with a warning:
<li><span style="color: red;">Deprecated</span> <tt>BasicAlignment.removeAlignCell()</tt>, use <tt>remCell()</tt> instead (impl)</tt> <li><span style="color: red;">Deprecated</span> <tt>BasicAlignment.removeAlignCell()</tt>, use <tt>remCell()</tt> instead (impl)</tt>
<li><span style="color: red;">Moved</span> <tt>QueryMediator</tt>, from <tt>service</tt> to <tt>queryprocessor</tt> (impl)</tt> <li><span style="color: red;">Moved</span> <tt>QueryMediator</tt>, from <tt>service</tt> to <tt>queryprocessor</tt> (impl)</tt>
<li><span style="color: red;">Changed</span> standard extension namespace to http://exmo.inrialpes.fr/align/ext/1.0/ (impl)</tt> <li><span style="color: red;">Changed</span> standard extension namespace to http://exmo.inrialpes.fr/align/ext/1.0/ (impl)</tt>
<li><span style="color: red;">Changed</span> <tt>-a</tt> command line argument takes a URI instead of a filename (add a "file:") (cli)</li>
<li>Fixed a bug in <tt>QueryMediator</tt> which doubled '#' (serv)</li> <li>Fixed a bug in <tt>QueryMediator</tt> which doubled '#' (serv)</li>
<li>Fixed a few mistakes in <tt>SilkRendererVisitor</tt> (impl)</li> <li>Fixed a few mistakes in <tt>SilkRendererVisitor</tt> (impl)</li>
<li>Fixed several bugs in <tt>GraphPatternRendererVisitor</tt> (impl)</li> <li>Fixed several bugs in <tt>GraphPatternRendererVisitor</tt> (impl)</li>
......
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