|Re: Has anyone run an RCP application outside Eclipse? [message #413415 is a reply to message #413217]
||Tue, 01 March 2005 13:09
Originally posted by: npickard.ll.mit.edu|
Thanks for the answer Roland, but I've checked those out and googled as
well, and I'm still having problems. I was wondering if anyone had ever
done it successfully. I have something wrong, I'm just going through
everything to get it working.
Roland Tepp wrote:
> There are whole bunch of tutorials describing how to achieve this at
> see the Articles section and look for "Rich Client Tutorial" parts 1,2,3
> and "Branding Your Application", but there are more... just look around ;)
> Nigel Pickard kirjutas mulle ühel talvisel päeval midagi seesugust:
>> I'm trying to run an RCP application outside Eclipse.... can this be
>> done? Or do you have to have Eclipse installed?
|Re: Has anyone run an RCP application outside Eclipse? [message #413419 is a reply to message #413209]
||Tue, 01 March 2005 14:51
Originally posted by: wiz.vball.net|
Yes it can be done..... i'm actually doing a gui prototype at work
using eclipse and pde... i've deployed the finished project as a
and copied over the required plugins (runtime, osgi, swt, etc..) to
the same directory that i deployed my app too.. and also copied over
startup.jar and using this i can launch the app on any machine that
has java runtime installed (no eclipse required)
i've even created a shortcut that contains the following
%windir%\system32\javaw.exe -cp startup.jar
org.eclipse.core.launcher.Main -application nameOfMyApp -pdelaunch -os
win32 -ws win32 -arch x86 -nl en_US -clean -consoleLog
in the target field and this allows me to double click the short cut
and run my app without eclipse....
where nameofMyApp can be something like com.mycompany.myApp
so yes it can be done..
just deploy as a plugin/rcp...
then copy over the required plugins your app uses
and also the startup.jar which is in the root directory of eclipse
and you can launch it outside of eclipse
On Tue, 1 Mar 2005 13:27:44 +0000 (UTC), email@example.com (Nigel
>I'm trying to run an RCP application outside Eclipse.... can this be done?
> Or do you have to have Eclipse installed?
|Thanks everyone [message #413437 is a reply to message #413209]
||Wed, 02 March 2005 08:01
Originally posted by: npickard.ll.mit.edu|
I've still not got it to work, but at least I know it should work, and I'm
on the right track.....
I created the simplest possible application I could, and managed to get
that to run outside Eclipse (i.e. copying files to a folder, and running
it from there without any reference to the Eclipse IDE installed folder
My application runs using the launcher within the Eclipse IDE, so I know
it's working -it must be that I haven't got a setting quite right
somewhere. Hopefully I can get this done today -and thanks once again for
|Re: Thanks everyone [message #413454 is a reply to message #413437]
||Wed, 02 March 2005 19:35
Originally posted by: cervezas.no-spam-pikesoft.com|
It took me a while to get these issues worked out, too, but I assure you
this does work! I've got a branded RCP application out in beta right now
that installs and runs like any other piece of stand alone software.
A few other things to check:
1. What does your config.ini file look like? Can you post it for us (minus
the comments)? If you haven't created an Eclipse product yet (extended
org.eclipse.core.runtime.products) it should look something like this:
You might also have the full list if required plugins set in the
osgi.bundles property, without the update.configurator plug-in. That's ok.
Make sure the eclipse.application property matches exactly with what you
identified in plugin.xml where you extended the
org.eclipse.core.runtime.applications extension point. That is, you should
have something like this in there:
<extension id="myApplication" point="org.eclipse.core.runtime.applications">
<run class="com.myCompany.myRCPApplication.myApplicationClassName "/>
....where myApplicationClassName is the class you wrote to extend
2. What does your install directory structure look like? You should have
startup.jar at the root of that and then a plugins subdirectory that
contains both your own application plug-in (put there by the Export wizard)
and the same required Eclipse plugins that you had to check when you created
your runtime launch configuration when you first ran the application inside
the Eclipse workbench. Those often have to be manually copied over from
your Eclipse IDE plugins directory.
Pikesoft Mobile Computing
"Nigel Pickard" <firstname.lastname@example.org> wrote in message
> I've still not got it to work, but at least I know it should work, and I'm
> on the right track.....
> I created the simplest possible application I could, and managed to get
> that to run outside Eclipse (i.e. copying files to a folder, and running
> it from there without any reference to the Eclipse IDE installed folder
> My application runs using the launcher within the Eclipse IDE, so I know
> it's working -it must be that I haven't got a setting quite right
> somewhere. Hopefully I can get this done today -and thanks once again for
> the help!
Powered by FUDForum
. Page generated in 0.01894 seconds