Fix the release build not outputting an LWJGL jar (oops)

This commit is contained in:
Jeremy Booth 2009-04-10 14:27:58 +00:00
parent e69f281298
commit 5668dcb1b2
1 changed files with 17 additions and 13 deletions

View File

@ -58,15 +58,17 @@
<antcall target="-initialize" /> <antcall target="-initialize" />
<!-- compile and create jars --> <!-- compile and create jars -->
<antcall target="generate-all"/> <antcall target="generate-all"/>
<antcall target="compile" /> <antcall target="compile" />
<antcall target="javadoc" />
<antcall target="-createjars" /> <antcall target="-createjars" />
<antcall target="debug-jars"/> <antcall target="generate-debug"/>
<antcall target="applet-release" /> <antcall target="compile" />
<antcall target="-createdebugjars" />
<antcall target="javadoc" />
<antcall target="applet-release" />
<!-- copy resources to res folder --> <!-- copy resources to res folder -->
<copy todir="${lwjgl.temp}/res"> <copy todir="${lwjgl.temp}/res">
<fileset dir="res"/> <fileset dir="res"/>
</copy> </copy>
@ -96,15 +98,17 @@
</move> </move>
</target> </target>
<target name="debug-jars" description="Creates the Java archives ONLY, the debug version of lwjgl jar, and places them in libs/" depends="jars"> <!-- Packages the java files -->
<!-- <target name="jars" description="Creates the Java archives ONLY and places them in libs/" depends="-initialize, compile, -createjars">--> <target name="-createdebugjars">
<!--<target name="jars" description="Creates the Java archives ONLY and places them in libs/" depends="-initialize, compile, -createjars">--> <!-- Create lwjgl.jar -->
<antcall target="generate-debug"/> <jar destfile="${lwjgl.temp}/jar/lwjgl-debug.jar" taskname="lwjgl-debug.jar">
<antcall target="compile"/> <fileset refid="lwjgl.fileset" />
<antcall target="-createjars"/> <manifest>
<move tofile="libs/lwjgl-debug.jar" file="${lwjgl.temp}/jar/lwjgl.jar"/> <attribute name="Sealed" value="true"/>
</manifest>
</jar>
</target> </target>
<!-- Packages the java files --> <!-- Packages the java files -->
<target name="-createjars"> <target name="-createjars">
<!-- Create lwjgl.jar --> <!-- Create lwjgl.jar -->