|
Revision 521, 1.0 KB
(checked in by martijn, 8 months ago)
|
|
Use bnd to generate OSGi headers. Merge common build file bits in build-common.xml
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | <?xml version="1.0"?> |
|---|
| 2 | <project name="org.bridgedb.tools.batchmapper" default="jar" basedir="."> |
|---|
| 3 | |
|---|
| 4 | <property name="jar.file" value="../dist/org.bridgedb.tools.batchmapper.jar"/> |
|---|
| 5 | |
|---|
| 6 | <!-- absolute deps are used for building, testing and in the manifest classpath --> |
|---|
| 7 | <path id="absolute.deps"> |
|---|
| 8 | <fileset dir="../dist"> |
|---|
| 9 | <include name="org.bridgedb.jar"/> |
|---|
| 10 | <include name="org.bridgedb.bio.jar"/> |
|---|
| 11 | </fileset> |
|---|
| 12 | </path> |
|---|
| 13 | |
|---|
| 14 | <!-- transient deps are optional, they are used only in the manifest classpath --> |
|---|
| 15 | <path id="transient.deps"> |
|---|
| 16 | </path> |
|---|
| 17 | |
|---|
| 18 | <!-- test deps are only used for testing --> |
|---|
| 19 | <path id="test.deps"> |
|---|
| 20 | <!-- nothing yet... --> |
|---|
| 21 | </path> |
|---|
| 22 | |
|---|
| 23 | <target name="jar" depends="build"> |
|---|
| 24 | <jar jarfile="${jar.file}"> |
|---|
| 25 | <manifest> |
|---|
| 26 | <attribute name="Main-Class" value="org.bridgedb.tools.batchmapper.BatchMapper"/> |
|---|
| 27 | <attribute name="Class-Path" value="org.bridgedb.jar org.bridgedb.bio.jar org.bridgedb.rdb.jar"/> |
|---|
| 28 | </manifest> |
|---|
| 29 | <fileset dir="build" includes="**/*.class"/> |
|---|
| 30 | </jar> |
|---|
| 31 | </target> |
|---|
| 32 | |
|---|
| 33 | <import file="../build-common.xml" /> |
|---|
| 34 | |
|---|
| 35 | </project> |
|---|