Home » Eclipse Projects » Rich Client Platform (RCP) » Eclipsr 3.2 RCP and Java Web Start
Eclipsr 3.2 RCP and Java Web Start [message #448828] |
Wed, 03 May 2006 22:44  |
Eclipse User |
|
|
|
Hi
I am wonhdering if anyone has tried using the Eclipse 3.2 export wizard to deploy an RCP to java web start and if you can answer a few questions
I have been trying to do this by creating a sample RCP and then collowing the older docs :
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/java_web_start.htm
For example, if I create a newRCP (Hello World) and try to export it, the wizard does not export any of the required jars except the newRCP plugin jar. That is, it does not export org.eclipse.core.runtime or org.eclipse.core.ui and so on.
I am hoping that someone can explain to me the default behavior of the export wizard and perhaps can lend a hand explaining how JWS and Eclispe RCPs play together
Thanks
Charles
|
|
| | | | | |
Re: Eclipsr 3.2 RCP and Java Web Start [message #448859 is a reply to message #448854] |
Fri, 05 May 2006 12:42   |
Eclipse User |
|
|
|
(1) What do you mean by "you are as target rcp 3.2 ?"
(2) I tried creating the build.xml as you suggested, and I found that this did not list the required feature that I need to include the the feature project?
(3) It is my understanding that the eclipse help system will not function in an RCP deployed using java web start. Is this correct?
More precisely...
To deploy a simple rcp (like the example mail RCP plugin, you have to create a feature. The feature should be configured to use the mail RCP as a plugin, and it should also be configured to include org.eclipse.rcp as an "included feature". Once this is set up, you can then use the Eclipse GUI to "compute the plugins that will need to be present before installing this feature"
I guess what I was expecting is that the Eclipse GUI would automatically detect the "included features" in the same way it can "compute" the required dependencies. For example, the feature.xml contains an <includes> tag to specify the included feature:
<includes
id="org.eclipse.rcp"
version="0.0.0"/>
and a <requires> tag to specify the dependent plugins
<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
</requires>
When you setup that your product is based on features
> insteand of products,
> you need to create it and add all plugins that you
> add in rcps that you add
> in target. For example if you are as target rcp 3.2,
> the necessary plugins
> are there. But let suppose that you you use helps an
> update manager, when
> you define your feature
> the plugins that you added to target including your
> rcp application.
> If you want to see what plugins you be exported then
> use the pop up menu in
> plugin.xml set pde tolls and generate ant built, this
> is the build that
> eclipse uses behid the scense to export you plugins,
> there you can see what
> will be done when you export it.
>
> "Charles Martin" <charlesmartin14@hotmail.com> wrote
> in message
> news:31158636.1146794803581.JavaMail.root@cp1.javalobb
> y.org...
> > I'll answer this myself
> >
> > Turns out in 3.2, you can create a feature (which I
> though were being
> replaced with products in 3.x), and you have to
> include the
> org.eclipse.rcp... jar as a feature
> >
> > This is not totally obvious and there seems to be
> no mechanism to
> automatically detect this dependency
> >
> > Seems to work fine if you do this
>
>
|
|
| | |
Re: Eclipsr 3.2 RCP and Java Web Start [message #448864 is a reply to message #448859] |
Fri, 05 May 2006 19:20   |
Eclipse User |
|
|
|
"Charles Martin" <charlesmartin14@hotmail.com> wrote in message
news:24962586.1146847375954.JavaMail.root@cp1.javalobby.org...
> (1) What do you mean by "you are as target rcp 3.2 ?"
>
Let suposse that youre developing an RCP just from Windows operational
System:
You culd donload the RCP runtime binary to windows :
http://download.eclipse.org/eclipse/downloads/drops/S-3.2RC2 -200604281315/do
wnload.php?dropFile=eclipse-RCP-3.2RC2-win32.zip, these is the core runtime
system that you will nedd to any RCP application.
After that you culd put it in c:\eclipsercp for example:
In eclipe ope Windows-> Preference Plug-in development-> target plataform,
this is where you setup wat will be used by eclipse as target when it starts
an rcp application inside eclipse, if you use c:\eclipsercp\eclipse it will
use the runtime with plugins that are there, and this plugins doesn't need
to be referenced in you features.
Than when you start your rcp Project the runtime will be like this runtime
plus your plugins. But if you need some extra functionality, you need to put
the plugins that you need in c:\eclipsercp\eclipse\plugins and reload the
targed.
> (2) I tried creating the build.xml as you suggested, and I found that
this did not list the required feature that I need to include the the
feature project?
In your features you need to setup the extra plugins (using dependencies in
feature editors)and the build shows in
<path id="@dot.classpath"> element the plugins thaw will be exported
>
> (3) It is my understanding that the eclipse help system will not function
in an RCP deployed using java web start. Is this correct?
Well the Help can not be deployed using web start but can be deployed latter
using update manager.
I dont know why some plugins are not packeged in jar files, and if its the
only problem with help system, but you can only deploy signed jars in
web-start.
>
> More precisely...
> To deploy a simple rcp (like the example mail RCP plugin, you have to
create a feature. The feature should be configured to use the mail RCP as a
plugin, and it should also be configured to include org.eclipse.rcp as an
"included feature". Once this is set up, you can then use the Eclipse GUI
to "compute the plugins that will need to be present before installing this
feature"
>
> I guess what I was expecting is that the Eclipse GUI would automatically
detect the "included features" in the same way it can "compute" the required
dependencies. For example, the feature.xml contains an <includes> tag to
specify the included feature:
>
> <includes
> id="org.eclipse.rcp"
> version="0.0.0"/>
>
> and a <requires> tag to specify the dependent plugins
>
> <requires>
> <import plugin="org.eclipse.ui"/>
> <import plugin="org.eclipse.core.runtime"/>
> </requires>
>
>
>
>
>
>
>
> When you setup that your product is based on features
> > insteand of products,
> > you need to create it and add all plugins that you
> > add in rcps that you add
> > in target. For example if you are as target rcp 3.2,
> > the necessary plugins
> > are there. But let suppose that you you use helps an
> > update manager, when
> > you define your feature
> > the plugins that you added to target including your
> > rcp application.
> > If you want to see what plugins you be exported then
> > use the pop up menu in
> > plugin.xml set pde tolls and generate ant built, this
> > is the build that
> > eclipse uses behid the scense to export you plugins,
> > there you can see what
> > will be done when you export it.
> >
> > "Charles Martin" <charlesmartin14@hotmail.com> wrote
> > in message
> > news:31158636.1146794803581.JavaMail.root@cp1.javalobb
> > y.org...
> > > I'll answer this myself
> > >
> > > Turns out in 3.2, you can create a feature (which I
> > though were being
> > replaced with products in 3.x), and you have to
> > include the
> > org.eclipse.rcp... jar as a feature
> > >
> > > This is not totally obvious and there seems to be
> > no mechanism to
> > automatically detect this dependency
> > >
> > > Seems to work fine if you do this
> >
> >
|
|
|
Re: Eclipsr 3.2 RCP and Java Web Start [message #449036 is a reply to message #448864] |
Tue, 09 May 2006 03:11   |
Eclipse User |
|
|
|
>
> "Charles Martin" <charlesmartin14@hotmail.com> wrote
> in message
> news:24962586.1146847375954.JavaMail.root@cp1.javalobb
> y.org...
> > (1) What do you mean by "you are as target rcp 3.2
> ?"
> >
> Let suposse that youre developing an RCP just from
> Windows operational
> System:
>
> You culd donload the RCP runtime binary to windows :
> http://download.eclipse.org/eclipse/downloads/drops/S-
> 3.2RC2-200604281315/do
> wnload.php?dropFile=eclipse-RCP-3.2RC2-win32.zip,
> these is the core runtime
> system that you will nedd to any RCP application.
> After that you culd put it in c:\eclipsercp for
> example:
> n eclipe ope Windows-> Preference Plug-in
> development-> target plataform,
> this is where you setup wat will be used by eclipse
> as target when it starts
> an rcp application inside eclipse, if you use
> c:\eclipsercp\eclipse it will
> use the runtime with plugins that are there, and this
> plugins doesn't need
> to be referenced in you features.
> Than when you start your rcp Project the runtime will
> be like this runtime
> plus your plugins. But if you need some extra
> functionality, you need to put
> the plugins that you need in
> c:\eclipsercp\eclipse\plugins and reload the
> arged.
>
> > (2) I tried creating the build.xml as you
> suggested, and I found that
> this did not list the required feature that I need to
> include the the
> feature project?
> In your features you need to setup the extra plugins
> (using dependencies in
> feature editors)and the build shows in
> <path id="@dot.classpath"> element the plugins thaw
> will be exported
>
> >
> > (3) It is my understanding that the eclipse help
> system will not function
> in an RCP deployed using java web start. Is this
> correct?
> Well the Help can not be deployed using web start but
> can be deployed latter
> using update manager.
> I dont know why some plugins are not packeged in jar
> files, and if its the
> only problem with help system, but you can only
> deploy signed jars in
> web-start.
> >
> > More precisely...
> > To deploy a simple rcp (like the example mail RCP
> plugin, you have to
> create a feature. The feature should be configured
> to use the mail RCP as a
> plugin, and it should also be configured to include
> org.eclipse.rcp as an
> "included feature". Once this is set up, you can
> then use the Eclipse GUI
> to "compute the plugins that will need to be present
> before installing this
> feature"
> >
> > I guess what I was expecting is that the Eclipse
> GUI would automatically
> detect the "included features" in the same way it can
> "compute" the required
> dependencies. For example, the feature.xml contains
> an <includes> tag to
> specify the included feature:
> >
> > <includes
> > id="org.eclipse.rcp"
> > version="0.0.0"/>
> >
> > and a <requires> tag to specify the dependent
> plugins
> >
> > <requires>
> > <import plugin="org.eclipse.ui"/>
> > <import plugin="org.eclipse.core.runtime"/>
> > </requires>
> >
> >
> >
> >
> >
> >
> >
> > When you setup that your product is based on
> features
> > > insteand of products,
> > > you need to create it and add all plugins that
> you
> > add in rcps that you add
> > in target. For example if you are as target rcp
> 3.2,
> > the necessary plugins
> > are there. But let suppose that you you use helps
> an
> > update manager, when
> > you define your feature
> > the plugins that you added to target including
> your
> > rcp application.
> > If you want to see what plugins you be exported
> then
> > use the pop up menu in
> > plugin.xml set pde tolls and generate ant built,
> this
> > is the build that
> > eclipse uses behid the scense to export you
> plugins,
> > there you can see what
> > will be done when you export it.
> >
> > "Charles Martin" <charlesmartin14@hotmail.com>
> wrote
> > in message
> >
> news:31158636.1146794803581.JavaMail.root@cp1.javalob
>
> > > y.org...
> > > > I'll answer this myself
> > > >
> > > > Turns out in 3.2, you can create a feature
> (which I
> > > though were being
> > > replaced with products in 3.x), and you have to
> > > include the
> > > org.eclipse.rcp... jar as a feature
> > > >
> > > > This is not totally obvious and there seems to
> be
> > > no mechanism to
> > > automatically detect this dependency
> > > >
> > > > Seems to work fine if you do this
> > >
> > >
>
>
>
Thanks for the clarification because thisis an interesting approach
For deploying my Eclipse RCP by Java Web Start it is not an option to download the RCP runtime binary first
|
|
|
Eclipse 3.1 RCP and Java Web Start [message #449580 is a reply to message #448839] |
Tue, 16 May 2006 06:22  |
Eclipse User |
|
|
|
Originally posted by: msribrah.cisco.com
Hi Group,
I am so much tried to find out this solution.
1. How Eclipse creating No Folder( Please See in ur Local system-
eclipse\configuration\org.eclipse.osgi\bundles)
2. My product Launching Fine using RCP and Java web start
But all Required data Temlate( Contain all xml file ) it's need run
time.
all my data java webstart save on bundel No folder directory not my
required workspace. Now i am doing manually copy Temlate to workspace .
Please help me, i will be highly obliged for ur kind work.
Thanks
Mukesh
|
|
|
Goto Forum:
Current Time: Sat Aug 30 13:43:22 EDT 2025
Powered by FUDForum. Page generated in 0.05750 seconds
|