[jbosstools-dev] Proposed change to JBoss Tools' parent pom -- better support for SWTBot UI testing on OSX Jenkins slave

Nick Boldt nboldt at redhat.com
Fri May 4 13:04:40 EDT 2012


Currently, the parent pom [1] includes a profile which is enabled 
automagically on OSX when java.vendor.url=http://www.apple.com. This 
simply sets the following systemProperties property:

  -d32 -Dosgi.arch=x86 -XstartOnFirstThread

However, this appears to be ignored/overwritten by Surefire when running 
tests. So, it's been proposed [2] that we instead use a new property, 
platformSystemProperties, which is null on windows/linux but takes this 
value on OSX:

  -d32 -Dosgi.arch=x86 -XstartOnFirstThread

Before I make this change and break any of our consumers by removing the 
old systemProperties value in favour of the new one, I wanted to know if 
this was a Very Bad Idea from anyone's point of view, or in fact a 
simple tweak that affects no one (but in fact makes life easier for QE).

I'll make this change in trunk some time next week, unless someone 
voices a concern in the JIRA [2] below.

Thanks!

[1] https://anonsvn.jboss.org/repos/jbosstools/trunk/build/parent/pom.xml
[2] https://issues.jboss.org/browse/JBIDE-11666

-- 
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com


More information about the jbosstools-dev mailing list