Comment #22 on issue 126 by heuermh: Update SWT dependency version
http://code.google.com/p/piccolo2d/issues/detail?id=126

As of r856, which contains a dependency version range specifier,  
[3.3.0-v3346,) works
for me on

Windows

  * with version 3.3.0-v3346 downloaded from maven central repo
  * with version 3.5.1 downloaded from http://eclipse.org/swt and installed  
via

$ mvn install:install-file -DgroupId=org.eclipse.swt.win32.win32  
-DartifactId=x86
-Dversion=3.5.1 -Dpackaging=jar -Dfile=swt.jar


Linux GTK 32-bit, open-jdk 1.6

  * with version 3.3.0-v3346 downloaded from maven central repo
  * with version 3.5.1 downloaded from http://eclipse.org/swt and installed  
via

$ mvn install:install-file -DgroupId=org.eclipse.swt.gtk.linux  
-DartifactId=x86
-Dversion=3.5.1 -Dpackaging=jar -Dfile=swt.jar


Linux GTK 64-bit, sun-jdk 1.6

  * with version 3.3.0-v3346 downloaded from maven central repo
  * with version 3.5.1 downloaded from http://eclipse.org/swt and installed  
via

$ mvn install:install-file -DgroupId=org.eclipse.swt.gtk.linux  
-DartifactId=x86_64
-Dversion=3.5.1 -Dpackaging=jar -Dfile=swt.jar


Mac OSX Carbon PPC, Apple JDK 1.5

With version 3.3.0-v3346 downloaded from maven central repo, tests pass.   
Running
example fails with SWTException:

$ mvn install
$ cd swt-examples
$ mvn assembly:assembly
$ java -jar  
target/piccolo2d-swt-examples-1.3-SNAPSHOT-jar-with-dependencies.jar

...org.eclipse.swt.SWTException: Failed to execute runnable
(org.eclipse.swt.SWTException: Invalid thread access)

With version 3.5.1 downloaded from http://eclipse.org/swt and installed via

$ mvn install:install-file -DgroupId=org.eclipse.swt.carbon  
-DartifactId=macosx
-Dversion=3.5.1 -Dpackaging=jar -Dfile=swt.jar

Tests pass, example throws SWTException:

$ java -jar  
target/piccolo2d-swt-examples-1.3-SNAPSHOT-jar-with-dependencies.jar

...org.eclipse.swt.SWTException: Failed to execute runnable
(org.eclipse.swt.SWTException: Invalid thread access)


Mac OSX Cocoa PPC, Apple JDK 1.5

There are no versions 3.3.0-v3346 or later of org.eclipse.swt.cocoa:macosx  
available
on maven central repo.

After enabling the profile macosx_cocoa_ppc in swt/pom.xml, version 3.5.1  
downloaded
from http://eclipse.org/swt and installed via

$ mvn install:install-file -DgroupId=org.eclipse.swt.gtk.linux  
-DartifactId=x86_64
-Dversion=3.5.1 -Dpackaging=jar -Dfile=swt.jar

Tests pass.  Running example results in leak warnings as above, then CPU  
appears to
lock up, fans go nuts, no window appears.


Mac OSX Carbon Intel, Apple JDK 1.5

  * with version 3.3.0-v3346 downloaded from maven central repo, according  
to comment
#19 above

(need to test running examples)


Mac OSX Carbon Intel, Apple JDK 1.6

(need to test)


Mac OSX Cocoa Intel, Apple JDK 1.6

There are no versions 3.3.0-v3346 or later of org.eclipse.swt.cocoa:macosx  
available
on maven central repo.

After enabling the profile macosx_cocoa_intel in swt/pom.xml, version 3.5.1
downloaded from http://eclipse.org/swt and installed via

$ mvn install:install-file -DgroupId=org.eclipse.swt.cocoa  
-DartifactId=macosx
-Dversion=3.5.1 -Dpackaging=jar -Dfile=swt.jar

$ export MAVEN_OPTS="-Dd64"
$ mvn install

Tests pass.  Running example results in leak warnings as above, then CPU  
appears to
lock up, fans go nuts, no window appears.

Tests fail without MAVEN_OPTS setting, as in comment #16.


So in summary, not much progress.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to