SWT build dependency

steve.x.northover at oracle.com steve.x.northover at oracle.com
Fri Oct 19 07:28:41 PDT 2012

.. the reply in private was an accident.  Thanks for forwarding back to 
the list.

I'm not against contributing the code to Eclipse.org and having it in 
SWT, just like the Swing bridge.  There are a few arguments against 
this.  The code uses objects and frameworks that are not yet open 
source.  It is easier to keep the code up to date when FX changes and 
ensure that interop works from day one when FX ships rather than 
aligning with an Eclipse release.


On 19/10/2012 10:05 AM, Tom Schindl wrote:
> 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:
> http://download.eclipse.org/eclipse/updates/3.7/R-3.7.2-201202080800/plugins/...
> * 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)
> Tom
> 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

More information about the openjfx-dev mailing list