Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Multiplatform Web Start export for RCP app
Multiplatform Web Start export for RCP app [message #435317] Fri, 12 August 2005 14:04 Go to next message
Neil Bartlett is currently offline Neil BartlettFriend
Messages: 93
Registered: July 2009
Member
Hi,

I'm exporting my RCP application as a Java Web Start/JNLP site. I also
have the RCP Delta Pack installed to allow multiplatform exports.

However, the export wizard builds completely separate folders for each
selected platform. For example if I choose to export to both Windows and
Mac, I get two separate copies of my application under a win32.win32.x86
directory and under a macosx.carbon.ppc directory. On the other hand the
only difference I can see between these two copies is the
platform-speficic SWT fragment jar.

I don't really want to put up separate Web Start URLs for each platform.
Can I simply copy the Mac SWT jar into the win32 export directory to allow
that JNLP app to launch on both platforms? Unfortunately I don't have
anything other than windows boxes to test on.

Thanks,
Neil Bartlett
Re: Multiplatform Web Start export for RCP app [message #435386 is a reply to message #435317] Wed, 17 August 2005 11:56 Go to previous messageGo to next message
Ricky is currently offline RickyFriend
Messages: 204
Registered: July 2009
Senior Member
> I'm exporting my RCP application as a Java Web Start/JNLP site. I also
> have the RCP Delta Pack installed to allow multiplatform exports.

I want to do the same.

>
> I don't really want to put up separate Web Start URLs for each platform.
> Can I simply copy the Mac SWT jar into the win32 export directory to
> allow that JNLP app to launch on both platforms? Unfortunately I don't
> have anything other than windows boxes to test on.

I would say so as it is possible to declare resources on a per platform
basis within the jnlp file.

Would you mind telling me your rcp setup? Is it feature or plugin based?
Do you use manifest or plugin.xml files? Is only one plugin present oder
several plugins which are declared in the osgi.bundles property? Do you
have a external build process or the gui based export?

I am lost in the maze now and get strange errors when I export my rcp or
try to run plugins not defined within the main application plugin.

Ricky

PS
I am on linux and able to click a webstart link and post the logs.
Re: Multiplatform Web Start export for RCP app [message #435592 is a reply to message #435317] Fri, 19 August 2005 00:57 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 440
Registered: July 2009
Senior Member
There is no capability to export for multiple platforms at once. However
if you export in the same folder multiple times you will get the desired
effect.
At runtime the filtering will be done by the filters that are part of
jnlp file. The filters are generated according to the platform
information associated with each plugin in the feature.xml.

For example:
if you export the org.eclipse.rcp feature for win32, you will get a
folder with all the non platform specific plugins and swt.win32.
if you export a second time for linux gtk, you will get a folder with
all the non platform specific plugins and swt.linux.gtk.

HTH

PaScaL

Neil Bartlett wrote:
> Hi,
>
> I'm exporting my RCP application as a Java Web Start/JNLP site. I also
> have the RCP Delta Pack installed to allow multiplatform exports.
>
> However, the export wizard builds completely separate folders for each
> selected platform. For example if I choose to export to both Windows and
> Mac, I get two separate copies of my application under a win32.win32.x86
> directory and under a macosx.carbon.ppc directory. On the other hand the
> only difference I can see between these two copies is the
> platform-speficic SWT fragment jar.
>
> I don't really want to put up separate Web Start URLs for each platform.
> Can I simply copy the Mac SWT jar into the win32 export directory to
> allow that JNLP app to launch on both platforms? Unfortunately I don't
> have anything other than windows boxes to test on.
>
> Thanks,
> Neil Bartlett
>
Re: Multiplatform Web Start export for RCP app [message #435602 is a reply to message #435317] Fri, 19 August 2005 08:12 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Yes, you can deploy the same WebStart location for both products. Just ensure that both the versions of SWT are installed in the same place and the appropriate one will be picked.
Previous Topic:Concurrent Jobs?
Next Topic:Multiple perspective
Goto Forum:
  


Current Time: Sun Dec 08 07:33:14 GMT 2024

Powered by FUDForum. Page generated in 0.03075 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top