Last change
on this file since 29122 was 26113, checked in by sjm84, 12 years ago |
Added an ant build file that builds the util class into a jar file
|
-
Property svn:executable
set to
*
|
File size:
710 bytes
|
Line | |
---|
1 | <?xml version="1.0"?>
|
---|
2 | <project name="Greenstone3 Testing Extension" default="build-util-jar" basedir=".">
|
---|
3 | <target name="build-util-jar">
|
---|
4 | <mkdir dir="${basedir}/build"/>
|
---|
5 | <javac srcdir="${basedir}/src" destdir="${basedir}/build">
|
---|
6 | <classpath>
|
---|
7 | <fileset dir="${basedir}/lib/java">
|
---|
8 | <include name="*.jar"/>
|
---|
9 | </fileset>
|
---|
10 | </classpath>
|
---|
11 | <include name="org/greenstone/gsdl3/testing/*.java"/>
|
---|
12 | </javac>
|
---|
13 | <jar destfile="${basedir}/lib/java/GSTestingUtil.jar">
|
---|
14 | <fileset dir="${basedir}/build">
|
---|
15 | <include name="org/greenstone/gsdl3/testing/**"/>
|
---|
16 | </fileset>
|
---|
17 | <manifest>
|
---|
18 | <attribute name="Built-By" value="Greenstone" />
|
---|
19 | </manifest>
|
---|
20 | </jar>
|
---|
21 | </target>
|
---|
22 | </project> |
---|
Note:
See
TracBrowser
for help on using the repository browser.