BasicLighting
BasicLighting copied to clipboard
missing ant build file
last time i did a pull request it was a thorough pain in the arse to work out how to do... for something simple like this I might as well post it here...
build.xml
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="bin" location="bin"/>
<property name="lwjgl" location="lwjgl-2.9.1/jar"/>
<target
name="clean" description="removes all classes" >
<delete>
<fileset dir="${src}" includes="**/*.class"/>
<fileset dir="${bin}" includes="**/*.class"/>
</delete>
</target>
<target
name="compile" description="compile the source " >
<fileset dir="${src}" includes="**/*.class"/>
<javac
srcdir="${src}" destdir="${bin}"
classpath="${lwjgl}/lwjgl.jar:${lwjgl}/lwjgl_util.jar"
includeantruntime="false"
debug="on" debuglevel="lines,vars,source" >
<compilerarg value="-Xlint:all" />
<compilerarg value="-Werror" />
</javac>
</target>
<target
name="run" depends="compile"
description="runs the project compiling if needed" >
<java
fork="true" classname="Main"
classpath="bin:${lwjgl}/lwjgl.jar:${lwjgl}/lwjgl_util.jar" >
<sysproperty key="java.library.path" value="lwjgl-2.9.1/native/linux/"/>
</java>
</target>
btw as there is still no p2p coms on git hub chrisSPAM AT bedroomSPAMcodersSPAM fullstop co dotty uk