summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorXerxes Rånby <[email protected]>2013-07-05 15:09:14 +0200
committerXerxes Rånby <[email protected]>2013-07-05 15:09:14 +0200
commitc2c87e29d324ade3853a91644cf00e6a6650c4f2 (patch)
treee6d05a1042fadfc8d8265d21ccab039e3c67971c /make
parentfe93f999b0b655fa1ad99671be7cc0f0a5176ed5 (diff)
build.xml: Exclude SWT demos if empty user.swt.jar property is set
Signed-off-by: Xerxes Rånby <[email protected]>
Diffstat (limited to 'make')
-rw-r--r--make/build.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/make/build.xml b/make/build.xml
index 68cbac2..f11e6a5 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -79,11 +79,13 @@
<target name="init.swt">
<condition property="jogl.swt.excludes"
value="demos/swt/**">
- <not>
- <isset property="user.swt.jar" />
- </not>
- </condition>
-
+ <or>
+ <equals arg1="${user.swt.jar}" arg2="" />
+ <not>
+ <isset property="user.swt.jar" />
+ </not>
+ </or>
+ </condition>
<property name="swt.jar" value="${user.swt.jar}"/>
</target>