SWT build dependency

Tom Schindl tom.schindl at bestsolution.at
Fri Oct 19 07:05:07 PDT 2012

Steve replied to me in private that you need to have the real SWT-Jars
for each and every platform because the automated test runs against them.

The Jar for the JavaFX supported platforms are:
* org.eclipse.swt.cocoa.macosx.x86_64_3.7.2.v3740f.jar
* org.eclipse.swt.gtk.linux.x86_3.7.2.v3740f.jar
* org.eclipse.swt.gtk.linux.x86_64_3.7.2.v3740f.jar
* org.eclipse.swt.win32.win32.x86_3.7.2.v3740f.jar
* org.eclipse.swt.win32.win32.x86_64_3.7.2.v3740f.jar

As a general note in this area.
a) bundling the swt bits with the javafxrt.jar is a problem when
   putting fx on the bootclasspath
b) wouldn't it be better if Oracle contributes the code to Eclipse.org,
   the SWT-Swing bridge is already part of SWT (in light of a this
   makes even more sense)


Am 19.10.12 01:57, schrieb Tom Schindl:
> That can't work there you get a zip which inlcude swt.jar. You need to
> have the plain jar.
> Which you can get from:
> http://download.eclipse.org/eclipse/updates/3.7/R-3.7.2-201202080800/plugins/
> The mac one is named org.eclipse.swt.cocoa.macosx_3.7.2.v3740f.jar
> because you only need to compile against it doesn't really matter which
> platform you compile against.
> Tom
> Am 19.10.12 01:30, schrieb Richard Bair:
>> So may latest headache is downloading the SWT dependency for our build. We use SWT for the SWT embedding support. So this is what I tried from looking at various blogs, because the version of SWT I'm looking for isn't in a Repo:
>> project(':swt') {
>>     sourceSets.main.java.srcDirs = ['src/java']
>>     dependencies {
>>         compile project(':build-tools'), project(':base'), project(':graphics')
>>         compile module('org.eclipse.swt:org.eclipse.swt:3.7.1 at jar') {
>>             //name = 'org.eclipse.swt'
>>             extension = 'jar'
>>             url = 'http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.7.1-201109091335/swt-3.7.1-cocoa-macosx-x86_64.zip'
>>         }
>>     }
>> }
>> so I'm trying to download directly from a URL. No dice. Still browsing the web looking for some solution

B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
tom schindl                 geschäftsführer/CEO
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833
http://www.BestSolution.at                      phone    ++43 512 935834

More information about the openjfx-dev mailing list