diff options
author | endolf <[email protected]> | 2009-12-12 13:29:01 +0000 |
---|---|---|
committer | endolf <[email protected]> | 2009-12-12 13:29:01 +0000 |
commit | e78a60a0dc6ebc4cc24a27ea0eb15b5f1904dd33 (patch) | |
tree | 9cc8002829b52cc018f3fbd9b9ce8cb9f7ba9708 /coreAPI/build.xml | |
parent | 341499addf81df07ea33abadb512cdf089c4530a (diff) |
Add version information that hudson will update.
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@231 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'coreAPI/build.xml')
-rw-r--r-- | coreAPI/build.xml | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/coreAPI/build.xml b/coreAPI/build.xml index d4986ed..bef1953 100644 --- a/coreAPI/build.xml +++ b/coreAPI/build.xml @@ -9,13 +9,24 @@ </target> <target name="compile" depends="init"> - <javac srcdir="src/java" destdir="classes" debug="true" deprecation="true" source="1.4" target="1.4"> - <include name="net/**"/> - <!-- To add something to the classpath: --> - <classpath> - <pathelement location="${utils}"/> - </classpath> - </javac> + <javac srcdir="src/java" destdir="classes" debug="true" deprecation="true" source="1.4" target="1.4"> + <include name="net/**"/> + <exclude name="**/Version.java"/> + <!-- To add something to the classpath: --> + <classpath> + <pathelement location="${utils}"/> + </classpath> + </javac> + <buildnumber/> + <copy file="src/java/net/java/games/input/Version.java" + todir="build/src/java/net/java/games/input/" overwrite="true"> + <filterset> + <filter token="BUILD_NUMBER" value="${build.number}"/> + </filterset> + </copy> + <javac srcdir="build/src/java" destdir="classes" debug="true" deprecation="true" source="1.4" target="1.4"> + <include name="net/**" /> + </javac> </target> <target name="jar" depends="init,compile"> |