diff options
author | Sven Gothel <[email protected]> | 2009-09-24 10:05:45 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-09-24 10:05:45 -0700 |
commit | b4b7d23fd7a6e1bb8c6545a0e82d811244b5e2a7 (patch) | |
tree | a6e05095cd110cf97036413dbee9156d728a224e /make/build.xml | |
parent | 9fe768e87aa5adafce88f81d333f260191da5fe9 (diff) |
Add SWT example
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/make/build.xml b/make/build.xml index 4c848c9..a59134e 100644 --- a/make/build.xml +++ b/make/build.xml @@ -54,7 +54,18 @@ <property name="jogl.cg.excludes" value="" /> </target> - <target name="init" depends="java.class.path.validate,setup.gles,setup.cg.excludes,skip.cg.excludes"> + <target name="init.swt"> + <condition property="jogl.swt.excludes" + value="demos/swt/**"> + <not> + <isset property="user.swt.jar" /> + </not> + </condition> + + <property name="swt.jar" value="${user.swt.jar}"/> + </target> + + <target name="init" depends="java.class.path.validate,setup.gles,setup.cg.excludes,skip.cg.excludes,init.swt"> <property name="jogl.core.jar" value="../../jogl/${rootrel.build}/jogl/jogl.core.jar" /> <condition property="jogl.cg.jar" value="../../jogl/${rootrel.build}/jogl/jogl.cg.jar"> <isset property="jogl.cg"/> @@ -90,6 +101,14 @@ <property name="jogl.demos.util.jar" value="../${rootrel.build}/jogl-demos-util.jar" /> <property name="jogl.demos.data.jar" value="../${rootrel.build}/jogl-demos-data.jar" /> <property name="jogl.demos.src.zip" value="../${rootrel.build}/jogl-demos-src.zip" /> + + <condition property="jogl.redbook.excludes" + value="redbook/**"> + <not> + <isset property="jogl.redbook" /> + </not> + </condition> + </target> <target name="nurbs" if="jogl.nurbs"> @@ -135,9 +154,10 @@ <pathelement location="${joal.jar}" /> <pathelement location="${joal-demos.jar}" /> <pathelement location="${simple-xml.jar}" /> + <pathelement location="${swt.jar}" /> </path> <!-- For the time being we exclude the VertexArrayRange and HDR demos, which rely on NVIDIA-specific extensions --> - <javac destdir="${classes}" excludes="${jogl.cg.excludes},demos/nurbs/**,jbullet/**,redbook/**,demos/vertexArrayRange/**" source="1.4" target="1.4" debug="true" debuglevel="source,lines"> + <javac destdir="${classes}" excludes="${jogl.cg.excludes},demos/nurbs/**,${jogl.swt.excludes},jbullet/**,${jogl.redbook.excludes},demos/vertexArrayRange/**" source="1.4" target="1.4" debug="true" debuglevel="source,lines"> <src path="${src}" /> <classpath refid="jogl-demos.classpath" /> </javac> |