add: cvs build target

This commit is contained in:
Brian Matzon 2002-12-22 00:54:00 +00:00
parent 08b93da34a
commit ea1281887e
1 changed files with 12 additions and 1 deletions

View File

@ -131,6 +131,17 @@
<antcall target="internal_clean"/>
</target>
<target name="cvsbuild" description="Builds lwjgl, by exporting files from cvs into a LWJGL folder and executing the package target on that folders build file">
<available file="LWJGL/build.xml" property="lwjgl.preexistingfiles"/>
<available file="${lwjgl.src}/java/org/lwjgl/Sys.java" property="lwjgl.preexistingfiles"/>
<fail if="lwjgl.preexistingfiles" message="Cannot perform webbuild from nonempty folder"/>
<cvs command="export -D 'now'" compressionlevel="3" cvsRoot=":pserver:anonymous@cvs.sf.net:/cvsroot/java-game-lib" package="LWJGL/build.xml" dest="."/>
<cvs command="export -D 'now'" compressionlevel="3" cvsRoot=":pserver:anonymous@cvs.sf.net:/cvsroot/java-game-lib" package="LWJGL/src" dest="."/>
<cvs command="export -D 'now'" compressionlevel="3" cvsRoot=":pserver:anonymous@cvs.sf.net:/cvsroot/java-game-lib" package="LWJGL/examples" dest="."/>
<cvs command="export -D 'now'" compressionlevel="3" cvsRoot=":pserver:anonymous@cvs.sf.net:/cvsroot/java-game-lib" package="LWJGL/doc" dest="."/>
<ant dir="LWJGL" target="package"/>
</target>
<!-- Creates a versioned distribution of dll's and jars -->
<target name="distribution_application">
<!-- check for file presence -->
@ -211,4 +222,4 @@
<target name="internal_clean">
<delete dir="${lwjgl.temp}" taskname="cleanup"/>
</target>
</project>
</project>