|
Revision 586, 1.1 KB
(checked in by martijn, 3 months ago)
|
|
Various fixes for unit testing in ant
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | <?xml version="1.0"?> |
|---|
| 2 | <project name="org.bridgedb" default="dist" basedir="."> |
|---|
| 3 | |
|---|
| 4 | <property name="jar.name" value="../dist/org.bridgedb.jar"/> |
|---|
| 5 | <property name="svn.exec.svnversion" value="svnversion"/> |
|---|
| 6 | |
|---|
| 7 | <property file="version.props"/> |
|---|
| 8 | |
|---|
| 9 | <path id="absolute.deps"> |
|---|
| 10 | <!-- no dependencies --> |
|---|
| 11 | </path> |
|---|
| 12 | |
|---|
| 13 | <path id="transient.deps"> |
|---|
| 14 | <!-- no dependencies --> |
|---|
| 15 | </path> |
|---|
| 16 | |
|---|
| 17 | <path id="test.deps"> |
|---|
| 18 | <pathelement location="build-lib/junit4.jar"/> |
|---|
| 19 | <pathelement location="build-lib/measure.jar"/> |
|---|
| 20 | </path> |
|---|
| 21 | |
|---|
| 22 | <target name="prepare"> |
|---|
| 23 | <tstamp /> <!-- set ${TODAY} and ${TSTAMP} --> |
|---|
| 24 | <mkdir dir="../dist"/> |
|---|
| 25 | <exec executable="${svn.exec.svnversion}" outputproperty="subversion_revision" failifexecutionfails="false"> |
|---|
| 26 | <arg line="-n ."/> |
|---|
| 27 | </exec> |
|---|
| 28 | <mkdir dir="build/org/bridgedb"/> |
|---|
| 29 | <echo file="build/org/bridgedb/BridgeDb.properties"># Version and compilation information |
|---|
| 30 | REVISION=${subversion_revision} |
|---|
| 31 | COMPILE_DATE=${DSTAMP} ${TSTAMP} |
|---|
| 32 | # copied from version.props |
|---|
| 33 | bridgedb.version=${bridgedb.version} |
|---|
| 34 | </echo> |
|---|
| 35 | </target> |
|---|
| 36 | |
|---|
| 37 | <import file="../build-common.xml" /> |
|---|
| 38 | |
|---|
| 39 | </project> |
|---|