diff options
author | Sven Gothel <[email protected]> | 2011-10-18 20:08:04 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-18 20:08:04 +0200 |
commit | d3c3d69ded58e325287746635d614fc5db43594a (patch) | |
tree | a2ddb929d2c8833e0e14db4d105f7bfbb7678ee2 /make/build-common.xml | |
parent | fe9d0bee5185a4f523f2fc7fdd6efb718e20378d (diff) |
Exclude SWT tests on platforms w/o SWT runtime
Diffstat (limited to 'make/build-common.xml')
-rw-r--r-- | make/build-common.xml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/make/build-common.xml b/make/build-common.xml index 58a829fc6..aceece32d 100644 --- a/make/build-common.xml +++ b/make/build-common.xml @@ -164,16 +164,29 @@ <istrue value="${isSolarisX86}" /> </condition> <condition property="swt.jar" value="${project.root}/make/lib/swt/gtk-solaris-x86/swt-debug.jar"> - <istrue value="${isSolarisAMD64}" /> + <istrue value="${isSolarisAMD64}" /> <!-- FIXME JAU .. hack --> </condition> <condition property="swt.jar" value="${project.root}/make/lib/swt/gtk-solaris-sparc/swt-debug.jar"> <istrue value="${isSolarisSparc}" /> </condition> <condition property="swt.jar" value="${project.root}/make/lib/swt/gtk-solaris-sparc/swt-debug.jar"> - <istrue value="${isSolarisSparcv9}" /> + <istrue value="${isSolarisSparcv9}" /> <!-- FIXME JAU .. hack --> </condition> <echo message="swt.jar=${swt.jar}" /> + <condition property="isSWTRuntimeAvailable"> + <or> + <istrue value="${isWindowsAMD64}" /> + <istrue value="${isWindowsX86}" /> + <istrue value="${isLinuxAMD64}" /> + <istrue value="${isLinuxX86}" /> + <istrue value="${isOSX}" /> + <istrue value="${isSolarisX86}" /> + <istrue value="${isSolarisSparc}" /> + </or> + </condition> + <echo message="isSWTRuntimeAvailable=${isSWTRuntimeAvailable}" /> + <property name="target.sourcelevel" value="1.5" /> <property name="host.sourcelevel" value="1.5" /> |