diff options
Diffstat (limited to 'make/build-common.xml')
-rw-r--r-- | make/build-common.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/make/build-common.xml b/make/build-common.xml index 84a2e3014..a17b7ca6f 100644 --- a/make/build-common.xml +++ b/make/build-common.xml @@ -270,8 +270,6 @@ <pathelement location="${gluegen.jar}" /> <pathelement location="${antlr.jar}" /> </path> - <taskdef name="gluegen" classname="com.jogamp.gluegen.ant.GlueGenTask" - classpathref="gluegen.classpath" /> <property name="gluegen-gl.jar" value="${build.jogl}/gluegen-gl.jar" /> @@ -667,7 +665,11 @@ <!-- - Build GlueGen --> - <target name="common.gluegen.build" depends="common.init" unless="common.gluegen.build.done"> + <target name="common.gluegen.init" depends="common.init, common.gluegen.build"> + <taskdef name="gluegen" classname="com.jogamp.gluegen.ant.GlueGenTask" + classpathref="gluegen.classpath" /> + </target> + <target name="common.gluegen.build" unless="common.gluegen.build.done"> <property name="common.gluegen.build.done" value="true" /> <!-- Run the GlueGen build to ensure that the GlueGen ANT task |