You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
ant build/run file
<!-- 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>
The text was updated successfully, but these errors were encountered:
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
ant build/run fileThe text was updated successfully, but these errors were encountered: