SWT build dependency

Kevin Rushforth kevin.rushforth at oracle.com
Fri Oct 19 07:20:14 PDT 2012


>
> a) bundling the swt bits with the javafxrt.jar is a problem when
>    putting fx on the bootclasspath

In fact http://javafx-jira.kenai.com/browse/RT-23041 has been filed to 
unbundle javafx.embed.swt from jfxrt.jar for precisely this reason.

-- Kevin


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