Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogicgames committed Dec 29, 2011
1 parent 095044b commit 325eb95
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions build-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ zipfileset id="jarfiles" -> the jar files to be merged with the project's classe
<!-- init task, creates all necessary directories -->
<target name="init" depends="clean">
<mkdir dir="${target}" />
<mkdir dir="${target}/java" />
<!-- need to copy the internal font to target if compiling the gdx core :/ -->
<copy failonerror="false" tofile="${target}/com/badlogic/gdx/utils/arial-15.png" file="src/com/badlogic/gdx/utils/arial-15.png" />
<copy failonerror="false" tofile="${target}/com/badlogic/gdx/utils/arial-15.fnt" file="src/com/badlogic/gdx/utils/arial-15.fnt" />
<copy failonerror="false" tofile="${target}/java/com/badlogic/gdx/utils/arial-15.png" file="src/com/badlogic/gdx/utils/arial-15.png" />
<copy failonerror="false" tofile="${target}/java/com/badlogic/gdx/utils/arial-15.fnt" file="src/com/badlogic/gdx/utils/arial-15.fnt" />
<!-- need to copy jni headers for gdx-jnigen -->
<copy failonerror="false" todir="${target}">
<copy failonerror="false" todir="${target}/java">
<fileset dir="src">
<include name="**/*.h"/>
<include name="**/*.template"/>
Expand All @@ -40,7 +41,7 @@ zipfileset id="jarfiles" -> the jar files to be merged with the project's classe

<!-- compiles the java code -->
<target name="compile" depends="init">
<javac debug="on" srcdir="${src}" destdir="${target}">
<javac debug="on" srcdir="${src}" destdir="${target}/java">
<classpath>
<path refid="classpath"/>
<fileset file="${libs}/*.jar">
Expand Down Expand Up @@ -87,9 +88,7 @@ zipfileset id="jarfiles" -> the jar files to be merged with the project's classe

<!-- class jar -->
<jar destfile="${distDir}/${jar}.jar">
<fileset dir="${target}">
<exclude name="**/native/**"/>
</fileset>
<fileset dir="${target}/java">
<!-- merge dependencies found in libs/ folder, exclude native, debug and android jars -->
<zipgroupfileset file="${libs}/*.jar">
<exclude name="*-natives.jar"/>
Expand Down

0 comments on commit 325eb95

Please sign in to comment.