Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] Running Eclipse RCP Application from Java Web Start (JNLP)

Hi Pascal,

Are you essentially talking about creating the eclipse directory
hierarchy on the filesystem on startup?

|
| - because webstart put all the jars listed in the jnlp file directly
on your classpath,
| list all the plugins (plugins will be jar'ed up) you need as
resources (there is a jnlp
| tag) so they won't clutter the classpath. 
| 

AFAIK, in JNLP, you can define the following resources:
j2se - not interesting in this context
jar - these are downloaded and added to the classpath
nativelib - dll's or .so's inside jars
extension - reference to other jnlp files
property - -Dproperty=value on the command line
package - not sure what this is for - I have never used it. 

In the case of jars, I am not sure how you access a given one to
unpack it (ie treat it essentially as a zip file...) - I am not sure
how you would get a handle to it...

|
| - write a bundle that will be responsible to find all the plugins 
| (the one we tagged as resources), download them, then install them into the 
| framework. 
| 

As above, not sure how we access what jars we downloaded...
However, its possible to download some other jar(s) (not specified in
the jnlp) and unpack it/them.
Ultimately then all we need is to jnlp deploy startup.jar...

Do I take it then that its not possible to run eclipse without the
plugins/XXXXX directories?

The one thing I did find as I started looking into this was that
org.eclipse.core.launcher.Main looks for a "plugins" directory and a
"configuration" directory...etc so I guess the directorie structure is
still required - and moreover we need to have these in place before
the app starts....

-Nick

(btw, is there an IRC channel for eclipse? Do you want to spend a
quick 5mins on irc so we can get to the bottom of this - then I can
post the chat here...)



----- Original Message -----
From: Pascal Rapicault <pascal_rapicault@xxxxxxxxxx>
Date: Mon, 20 Sep 2004 10:50:21 -0400
Subject: Re: [platform-core-dev] Running Eclipse RCP Application from
Java Web Start (JNLP)
To: platform-core-dev@xxxxxxxxxxx


Nick, 

There is no "out of the box" way to start eclipse with Webstart. 
After putting some more thoughts on that (talking with Nick Edgar), it
seems that there is a way to do it, but it requires a little bit of
work (not much either).
Note that this is a one time cost only, since everyone will be able to
reuse the same thing.

Basically here is the idea: 
- because webstart put all the jars listed in the jnlp file directly
on your classpath, list all the plugins (plugins will be jar'ed up)
you need as resources (there is a jnlp tag) so they won't clutter the
classpath.
- write a bundle that will be responsible to find all the plugins (the
one we tagged as resources), download them, then install them into the
framework.

HTH, 

PaScaL 




Nick Minutello <nick.minutello@xxxxxxxxx> 
Sent by: platform-core-dev-admin@xxxxxxxxxxx 

09/15/2004 05:21 PM 

Please respond to
platform-core-dev


Toplatform-core-dev@xxxxxxxxxxx 

cc

Subject[platform-core-dev] Running Eclipse RCP Application from Java
Web Start (JNLP)











Hi,

I am looking for information / help on getting an Eclipse RCP app
(http://timtam.codehaus.org/) to run (ultimately) from Java Web Start.

I have made a few tentative (but unsuccessful) attempts so far but
have been unsuccessful.

Any help (Pascal?) & pointers to information would be greatly appreciated...

Cheers,
-Nick
_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-core-dev


Back to the top