SWT build dependency

Tom Schindl tom.schindl at bestsolution.at
Thu Oct 18 16:57:32 PDT 2012


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