Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to access a class in my exported RCP application ?
How to access a class in my exported RCP application ? [message #435341] Mon, 15 August 2005 09:41 Go to next message
Vincent Etter is currently offline Vincent EtterFriend
Messages: 72
Registered: July 2009
Member
Hello !

I have an exported RCP application that works fine. I have a class in
the main package that uses other classes from my application and that I
want to start "manually" from the prompt.

How can I specify the classpath ? I tried :

java -cp plugins/com.foo.application_1.0.0.jar com.foo.application.MainClass

but it doesn't work... I saw that in fact the classes are in a jar
within the first jar. How can I access it ?

Thanks in advance.

Vincent
Re: How to access a class in my exported RCP application ? [message #435978 is a reply to message #435341] Sat, 27 August 2005 11:46 Go to previous message
eclipse is currently offline eclipseFriend
Messages: 19
Registered: July 2009
Junior Member
In plugin.xml, you can specify required plug-ins, in that place, you add
"com.foo.application",
it should works. and when you start up manually, you needn't specify class
path
> Hello !
>
> I have an exported RCP application that works fine. I have a class in the
> main package that uses other classes from my application and that I want
> to start "manually" from the prompt.
>
> How can I specify the classpath ? I tried :
>
> java -cp plugins/com.foo.application_1.0.0.jar
> com.foo.application.MainClass
>
> but it doesn't work... I saw that in fact the classes are in a jar within
> the first jar. How can I access it ?
>
> Thanks in advance.
>
> Vincent
Previous Topic:Edit/Input Mask
Next Topic:Eclipse Plugin connecting to and ebj3 server application.
Goto Forum:
  


Current Time: Mon Dec 09 09:31:57 GMT 2024

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

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

Back to the top