[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Problems with Eclipse 3.1.1 RCP Deployment

I know it's been a while since you posted this, but I can report the same problem and can thank you for the workaround. I didn't have this deployment problem with 3.1.

Another difference I've noticed is that now many more of the plugins are deployed as folders rather than as jars - for example org.eclipse.core.commands_3.1.0 is now being deployed as a folder, whereas before it was being deployed as a jar. Have we somehow gone back since 3.1, or is there something else about my environment that may have changed to cause this?

Ian Graham

On Mon, 10 Oct 2005 02:52:59 -0600, Gunnar Pietz <eclipse.newsgroups@xxxxxxxxxx> wrote:

Hello,

I discovered some problem while trying to export my eclipse RCP product
using the exporter. First of all I created a new product configuration
file for my rcp application. Then I exported it into a zip file.
After opening the zip file I wondered why there is no (!!) launcher
executable and no startup.jar in there. So I take those files from the
rcp delta pack an added it. After unpacking everything to a directory
I tried starting by clicking the launcher executable. Shortly after
that I got an error response and in the error log was the following:

java.io.IOException: Unable to initialize osgi.frameworkClassPath
	at org.eclipse.core.launcher.Main.addBaseJars(Main.java:567)
	at org.eclipse.core.launcher.Main.getDevPath(Main.java:466)
	at org.eclipse.core.launcher.Main.getBootPath(Main.java:646)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:272)
	at org.eclipse.core.launcher.Main.run(Main.java:973)
	at org.eclipse.core.launcher.Main.main(Main.java:948)

So I changed into the plugin directory and directly into the
org.eclipse.osgi_3.1.1 directory. I wondered about the zip file
which contains the source of the osgi plugin (that isn't required
for an deployment, so why is it in there?).
After copying the org.eclipse.osgi_3.1.1.jar to the parent
directory and deleting the whole org.eclipse.osgi_3.1.1 directory
my application is working fine.

In 3.1 I hadn't that problems and I would like to know if I'm doing
something wrong or is this a new bug ??