problem running RCP app in M7 [message #201352] |
Wed, 25 February 2004 06:34  |
Eclipse User |
|
|
|
Originally posted by: kk.dev.null
Hi,
I have an RCP app which can be started up directly inside
the Eclipse (runtime-workspace) in M6.
But in M7, everytime I start it up, I get this error:
ERROR: Launch : org.eclipse.platform does not exist
There's no other error message in the log, nothing to
debug with. I can check the set of Eclipse SDK plugins
to start with, and I still get the same error (which does
not make much sense to me).
However, I can start it without any problem from the command
line, with the option
-application my_app_class
This makes debugging & testing such a pain in the behind.
Could someone give a hint about what the heck is going
on?
My environment is:
OS: Linux Debian 2.4.22
JDK: Sun 1.4.2
Eclipse: 3.0M7
Desktop: Gnome 2.4
Locale: en_us
TIA.
|
|
|
|
Re: problem running RCP app in M7 [message #202090 is a reply to message #202045] |
Thu, 26 February 2004 01:15   |
Eclipse User |
|
|
|
Originally posted by: kk.dev.null
Ian Lang wrote:
> That sounds a bit like the problem I am having after moving M7. Check out
> this thread
> < http://www.eclipse.org/newsportal/article.php?id=15009&g roup=eclipse.platform>
> I am running Win XP and the error is not the same but the error I am
> getting is in a class in the plug-in you refernece.
>
Interesting, but not quite the same though. I copy the minimum set
of plugins from Eclipse (M7), along with the boot.jar and the
executable, put in my own plugins, and I can start from the
command line. That's fine.
The problem is when I try to start it from within the Eclipse
environment (as in code-compile-debug cycle), then it won't
do, even though I selected exactly the same set of plugins
as I had done for command line startup, with exactly the
same arguments.
I tried to add dependency on org.eclipse.platform, but that
doesn't help.
I didn't remember what I did this morning (have been fooling around
for 2 days for this stupid thing!), and I kinda get pass this
problem. But I'm still getting InvocationTargetException, and turning
on some debug params, here is what's shown on the console:
Configuration location:
file:/home/csp/workspace/.metadata/.plugins/org.eclipse.pde. core/_home_csp_runtime-workspace/
Configuration file:
file:/home/csp/workspace/.metadata/.plugins/org.eclipse.pde. core/_home_csp_runtime-workspace/config.ini
loaded
Install location:
file:/home/csp/bin/eclipse-SDK-M7
Configuration file:
file:/home/csp/bin/eclipse-SDK-M7configuration/config.ini not
found or not read
Framework located:
file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/
Framework classpath:
file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/core.jar
file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/console.jar
file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/osgi.jar
file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/resolver.jar
file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/defaultAdaptor.jar
file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/eclipseAdaptor.jar
Debug-Options:
file:/home/csp/.options
Time loadBundles in the framework: 607
Have no clue why it's looking for the file
file:/home/csp/bin/eclipse-SDK-M7configuration/config.ini
I get the exception at line 304 in Main.java where it's supposed
to invoke the run() method.
That's at least one step ahead... but not very far :(
Oh well, another day totally wasted on something that's supposed
to be a non-issue!
|
|
|
Re: problem running RCP app in M7 [message #202777 is a reply to message #202090] |
Thu, 26 February 2004 23:53  |
Eclipse User |
|
|
|
Originally posted by: jeff_mcaffer.REMOVE.ca.ibm.com
I'm not 100% sure but we were just fixing some bugs related to relative
paths and trailing /. If you note in your console output, the install
location does not have a trialing /. To test out this try
- in the launch config, use the Configuration tab and UNcheck "clear the
configuration..."
- run your launch config
- go to the config location that PDE constructed
e.g.,
file:/home/csp/workspace/.metadata/.plugins/org.eclipse.pde. core/_home_csp_runtime-workspace/
- in there edit config.ini and put a / on the end of the line that has
osgi.installLocation (or it may be osgi.install.area)
- run again.
Alternatively, get the latest I or N build and try that without the steps
above.
Your patience and feedback while we get this right are appreciated.
Jeff
"kk" <kk@dev.null> wrote in message news:c1k2rc$qc2$1@eclipse.org...
> Ian Lang wrote:
> > That sounds a bit like the problem I am having after moving M7. Check
out
> > this thread
> >
< http://www.eclipse.org/newsportal/article.php?id=15009&g roup=eclipse.platfo
rm>
> > I am running Win XP and the error is not the same but the error I am
> > getting is in a class in the plug-in you refernece.
> >
>
> Interesting, but not quite the same though. I copy the minimum set
> of plugins from Eclipse (M7), along with the boot.jar and the
> executable, put in my own plugins, and I can start from the
> command line. That's fine.
>
> The problem is when I try to start it from within the Eclipse
> environment (as in code-compile-debug cycle), then it won't
> do, even though I selected exactly the same set of plugins
> as I had done for command line startup, with exactly the
> same arguments.
>
> I tried to add dependency on org.eclipse.platform, but that
> doesn't help.
>
> I didn't remember what I did this morning (have been fooling around
> for 2 days for this stupid thing!), and I kinda get pass this
> problem. But I'm still getting InvocationTargetException, and turning
> on some debug params, here is what's shown on the console:
>
> Configuration location:
>
>
file:/home/csp/workspace/.metadata/.plugins/org.eclipse.pde. core/_home_csp_runtime-workspace/
> Configuration file:
>
>
file:/home/csp/workspace/.metadata/.plugins/org.eclipse.pde. core/_home_csp_runtime-workspace/config.ini
> loaded
> Install location:
> file:/home/csp/bin/eclipse-SDK-M7
> Configuration file:
> file:/home/csp/bin/eclipse-SDK-M7configuration/config.ini not
> found or not read
> Framework located:
> file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/
> Framework classpath:
>
> file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/core.jar
>
>
file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/console.jar
>
> file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/osgi.jar
>
>
file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/resolver.jar
>
>
file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/defaultAdaptor.jar
>
>
file:/home/csp/bin/eclipse-SDK-M7/plugins/org.eclipse.osgi_3 .0.0/eclipseAdaptor.jar
> Debug-Options:
> file:/home/csp/.options
> Time loadBundles in the framework: 607
>
> Have no clue why it's looking for the file
>
> file:/home/csp/bin/eclipse-SDK-M7configuration/config.ini
>
> I get the exception at line 304 in Main.java where it's supposed
> to invoke the run() method.
>
> That's at least one step ahead... but not very far :(
>
> Oh well, another day totally wasted on something that's supposed
> to be a non-issue!
|
|
|
Powered by
FUDForum. Page generated in 0.04573 seconds