Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Has anyone run an RCP application outside Eclipse?
Has anyone run an RCP application outside Eclipse? [message #413209] Tue, 01 March 2005 13:27 Go to next message
Eclipse UserFriend
Originally posted by: npickard.ll.mit.edu

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 #413214 is a reply to message #413209] Tue, 01 March 2005 14:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kent.generatescape.com

I believe that is the whole point, you do not have to have eclipse
installed.


"Nigel Pickard" <npickard@ll.mit.edu> wrote in message
news:d01qkg$9am$1@www.eclipse.org...
> 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 #413217 is a reply to message #413209] Tue, 01 March 2005 14:18 Go to previous messageGo to next message
Roland Tepp is currently offline Roland TeppFriend
Messages: 336
Registered: July 2009
Senior Member
There are whole bunch of tutorials describing how to achieve this at
http://www.eclipse.org/

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?
>

--
Roland Tepp
Re: Has anyone run an RCP application outside Eclipse? [message #413415 is a reply to message #413217] Tue, 01 March 2005 18:09 Go to previous messageGo to next message
Eclipse UserFriend
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
> http://www.eclipse.org/

> 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 #413418 is a reply to message #413209] Tue, 01 March 2005 18:30 Go to previous messageGo to next message
Peter Manahan is currently offline Peter ManahanFriend
Messages: 131
Registered: July 2009
Senior Member
Nigel Pickard wrote:
> I'm trying to run an RCP application outside Eclipse.... can this be
> done? Or do you have to have Eclipse installed?
>


The Rational Product Updater in RAD and various other Rational products
is a small RCP application. So it definitely can be done.

When you say run it outside of Eclipse what do you mean by "eclipse"?
If Eclipse as the IDE then yes it works. If you mean without the Eclipse
RCP infrastructure then I doubt it would work.



Peter
Re: Has anyone run an RCP application outside Eclipse? [message #413419 is a reply to message #413209] Tue, 01 March 2005 19:51 Go to previous messageGo to next message
Eclipse UserFriend
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
plugin

and copied over the required plugins (runtime, osgi, swt, etc..) to
the same directory that i deployed my app too.. and also copied over
the
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), npickard@ll.mit.edu (Nigel
Pickard) wrote:

>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 #413422 is a reply to message #413419] Tue, 01 March 2005 21:39 Go to previous messageGo to next message
Eclipse User is currently offline Eclipse UserFriend
Messages: 257
Registered: July 2009
Senior Member
this might help too:

http://www.eclipsecon.org/presentations/EclipseCon2005_Tutor ial26.pdf

-H

FireFly wrote:
> 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
> plugin
>
> and copied over the required plugins (runtime, osgi, swt, etc..) to
> the same directory that i deployed my app too.. and also copied over
> the
> 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), npickard@ll.mit.edu (Nigel
> Pickard) wrote:
>
>
>>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 #413432 is a reply to message #413415] Wed, 02 March 2005 10:02 Go to previous messageGo to next message
Roland Tepp is currently offline Roland TeppFriend
Messages: 336
Registered: July 2009
Senior Member
Yeap - I've done it and it works just fine.

It is hard for me to tell, what You might be doing wrong just on a
hunch. What are the problems You are facing?

Roland

Nigel Pickard kirjutas mulle ühel talvisel päeval midagi seesugust:
> 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
>> http://www.eclipse.org/
>
>
>> 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?
>>>
>
>
>

--
Roland Tepp
Thanks everyone [message #413437 is a reply to message #413209] Wed, 02 March 2005 13:01 Go to previous messageGo to next message
Eclipse UserFriend
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
proper).

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!
Re: Thanks everyone [message #413454 is a reply to message #413437] Thu, 03 March 2005 00:35 Go to previous messageGo to next message
Eclipse UserFriend
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:

osgi.splashPath=platform:/base/plugin/com.myCompany.myRCPApp lication
osgi.bundles=org.eclipse.core.runtime@2:start,
org.eclipse.update.configurator@3:start
osgi.bundles.defaultStartLevel=4
eclipse.application=com.myCompany.myRCPApplication.myApplica tionClassName

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">
<application>
<run class="com.myCompany.myRCPApplication.myApplicationClassName "/>
</application>
</extension>

....where myApplicationClassName is the class you wrote to extend
IPlatformRunnable.

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.

David
---
David Beers
Pikesoft Mobile Computing
www.pikesoft.com

"Nigel Pickard" <npickard@ll.mit.edu> wrote in message
news:d04dek$j0p$1@www.eclipse.org...
> 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
> proper).
>
> 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!
>
Re: Has anyone run an RCP application outside Eclipse? [message #413472 is a reply to message #413209] Fri, 04 March 2005 00:19 Go to previous message
Jody Garnett is currently offline Jody GarnettFriend
Messages: 20
Registered: July 2009
Junior Member
Nigel Pickard wrote:
> I'm trying to run an RCP application outside Eclipse.... can this be
> done? Or do you have to have Eclipse installed?
>

Yep see - http://docs.codehaus.org/display/UDIG/UDIG+0.8+Quickstart for
sample install instructions.

Jody
Previous Topic:Progress dialog box within RCP & Job API question.
Next Topic:Problems with progress monitor running multiple jobs
Goto Forum:
  


Current Time: Fri Nov 28 12:36:31 GMT 2014

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

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