root/gs3-extensions/testing/trunk/src/build.xml @ 26113

Revision 26113, 0.7 KB (checked in by sjm84, 7 years ago)

Added an ant build file that builds the util class into a jar file

  • Property svn:executable set to *
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 browser.