DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page RCP + Web Start + multi platform
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Apr 2008
Default RCP + Web Start + multi platform - 04-16-2008, 02:00 PM

I'm using Eclipse RCP 3.3.1.1 on Linux. I implemented an application according to the Eclipse Help, for using together RCP and Java Web Start.
As written in the Help I created 3 projects: A plugin Project, A feature project and a wrapping feature project. I also created my jnlp file. I'm using the export wizard for creating the structure and the result works in Linux. Now, I would like to make the application working on Windows as well but I'm not able to add in the export wizard the necessary jars to be used in windows (in particular the SWT and the Launcher) specific for that platform. Can someone help me?
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Apr 2008
Default 04-17-2008, 10:39 AM

I found the way to export the "jnlp feature" for two different platform linux-gtk and win32-win32 but separately, changing the target platform setting. I tried to merge the two different results (adding to the linux result the missing plugins). It works for Linux but I have a strange error in Windows:


!SESSION Thu Apr 17 16:33:10 CEST 2008 -----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2008-04-17 16:33:10.156
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
at org.eclipse.equinox.launcher.Main.findMax(Main.jav a:871)
at org.eclipse.equinox.launcher.WebStartMain.searchFo r(WebStartMain.java:116)
at org.eclipse.equinox.launcher.Main.setupJNI(Main.ja va:388)
at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:434)
at org.eclipse.equinox.launcher.WebStartMain.basicRun (WebStartMain.java:78)
at org.eclipse.equinox.launcher.Main.run(Main.java:11 73)
at org.eclipse.equinox.launcher.WebStartMain.main(Web StartMain.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unkn own Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Apr 2008
Default 04-23-2008, 03:17 AM

I've tried to adapt this help JWS to Eclipse 3.3, but it is not clear to me how to replace the startup.jar...
I tried to sign the org.eclipse.equinox.launcher_*.jar but now, when I try to run the export wizard I get "jarsigner returned 1"
Any Ideas...???
Reply With Quote
  (#4 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Apr 2008
Default 05-07-2008, 10:11 AM

Did you sign your launcher?
All the jar files must be signed

Marco
Reply With Quote
  (#5 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Apr 2008
Default 06-10-2008, 12:36 PM

So you were able to get rid of your error?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing WAR file in using Eclipse Platform API js9329 Eclipse 0 11-26-2008 12:38 PM
New RCP App - Where to start MrDzoneEclipse Eclipse 0 09-23-2008 10:18 AM
Access to eclipse.platform.rcp forum Pietro.Mascagni Zones 0 06-04-2008 05:15 AM
JPA Ported For Full Use To .NET Platform. greg baker Java 0 05-20-2008 09:35 PM
How to change the Target Platform when developing a RCP App? joco Eclipse 0 03-12-2008 08:33 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com