summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-07-28 17:06:30 +0200
committerSven Gothel <[email protected]>2015-07-28 17:06:30 +0200
commit36889161d37b07835eb2db83c147585ca0ef77a1 (patch)
tree97354222866521ea6c06da5930c98690260e8dbf
parent1b1a05eb49cc3a0e0da505c175388ae1147ea2d6 (diff)
Bug 1154 - Make plugin3-public.jar optional: Part 2 / 2
Exclude plugin3.jar dependent source files from compilation of NEWT.
-rw-r--r--make/build-newt.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/make/build-newt.xml b/make/build-newt.xml
index 37e6b8bff..ec7a8a789 100644
--- a/make/build-newt.xml
+++ b/make/build-newt.xml
@@ -114,6 +114,9 @@
<property name="java.part.swt"
value="com/jogamp/newt/swt/** jogamp/newt/swt/**"/>
+ <property name="java.part.applet3"
+ value="com/jogamp/newt/util/applet3/**"/>
+
<property name="java.part.driver.linux"
value="jogamp/newt/driver/linux/**"/>
@@ -153,11 +156,18 @@
<isset property="setup.noSWT"/>
</condition>
+ <condition property="java.excludes.applet3"
+ value="${java.part.applet3}">
+ <not>
+ <isset property="plugin3-jars.available"/>
+ </not>
+ </condition>
+
<condition property="java.excludes.opengl" value="${java.part.opengl}">
<isset property="setup.noOpenGL"/>
</condition>
- <property name="java.excludes.all" value="${java.excludes.awt}, ${java.excludes.swt}, ${java.excludes.opengl}" />
+ <property name="java.excludes.all" value="${java.excludes.awt}, ${java.excludes.swt}, ${java.excludes.applet3}, ${java.excludes.opengl}" />
<echo message="java.excludes.all: ${java.excludes.all}" />
</target>