Skip to main content



      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 05:41 Go to next message
Eclipse UserFriend
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 07:46 Go to previous message
Eclipse UserFriend
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: Wed Jul 16 12:29:07 EDT 2025

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

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

Back to the top