Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Error in exported product log
Error in exported product log [message #57329] Tue, 21 April 2009 13:47 Go to next message
Maurice O'Connor is currently offline Maurice O'ConnorFriend
Messages: 86
Registered: July 2009
Member
Hi!

This is x-posted from .equinox, in the hope that you guys might know more
:)

I'm seeing this error in the log of my exported product:

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)

I solved it using the solution given here:

http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg12468.html

It says:

- Copy the org.eclipse.osgi_vernum.jar from the
plugins/org.eclipse.osgi_vernum directory to the plugins directory
- Delete the org.eclipse.osgi_vernum directory
- Launch the application

So this has solved my problem, but I haven't figured out _why_ I need to
do this. Is there something I can do to prevent it on the Eclipse GUI
side, so it doesn't happen if I'm exporting to a new product?

Thanks!

Maurice
Re: Error in exported product log [message #57356 is a reply to message #57329] Tue, 21 April 2009 15:58 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
It is probably caused by having org.eclipse.osgi imported into your
workspace as a binary project.

Try doing the export after closing all such imported binary projects.
You don't need to have them in your workspace, it is enough that they
are in your target.

This would be a bug in the export, but the problem is that from the
shape of the project, build can't tell that this is a spoofed up bundle
created by the import and not the real binary bundle.


Maurice O'Connor wrote:
> Hi!
>
> This is x-posted from .equinox, in the hope that you guys might know
> more :)
>
> I'm seeing this error in the log of my exported product:
>
> 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)
>
> I solved it using the solution given here:
>
> http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg12468.html
>
> It says:
>
> - Copy the org.eclipse.osgi_vernum.jar from the
> plugins/org.eclipse.osgi_vernum directory to the plugins directory
> - Delete the org.eclipse.osgi_vernum directory
> - Launch the application
>
> So this has solved my problem, but I haven't figured out _why_ I need to
> do this. Is there something I can do to prevent it on the Eclipse GUI
> side, so it doesn't happen if I'm exporting to a new product?
>
> Thanks!
>
> Maurice
>
>
>
Re: Error in exported product log [message #57658 is a reply to message #57356] Wed, 22 April 2009 11:19 Go to previous message
Maurice O'Connor is currently offline Maurice O'ConnorFriend
Messages: 86
Registered: July 2009
Member
This was indeed the issue. It's working perfectly now - thanks for your
help!

Maurice

Andrew Niefer wrote:

> It is probably caused by having org.eclipse.osgi imported into your
> workspace as a binary project.

> Try doing the export after closing all such imported binary projects.
> You don't need to have them in your workspace, it is enough that they
> are in your target.

> This would be a bug in the export, but the problem is that from the
> shape of the project, build can't tell that this is a spoofed up bundle
> created by the import and not the real binary bundle.


> Maurice O'Connor wrote:
>> Hi!
>>
>> This is x-posted from .equinox, in the hope that you guys might know
>> more :)
>>
>> I'm seeing this error in the log of my exported product:
>>
>> 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)
>>
>> I solved it using the solution given here:
>>
>> http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg12468.html
>>
>> It says:
>>
>> - Copy the org.eclipse.osgi_vernum.jar from the
>> plugins/org.eclipse.osgi_vernum directory to the plugins directory
>> - Delete the org.eclipse.osgi_vernum directory
>> - Launch the application
>>
>> So this has solved my problem, but I haven't figured out _why_ I need to
>> do this. Is there something I can do to prevent it on the Eclipse GUI
>> side, so it doesn't happen if I'm exporting to a new product?
>>
>> Thanks!
>>
>> Maurice
>>
>>
>>
Re: Error in exported product log [message #595977 is a reply to message #57329] Tue, 21 April 2009 15:58 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
It is probably caused by having org.eclipse.osgi imported into your
workspace as a binary project.

Try doing the export after closing all such imported binary projects.
You don't need to have them in your workspace, it is enough that they
are in your target.

This would be a bug in the export, but the problem is that from the
shape of the project, build can't tell that this is a spoofed up bundle
created by the import and not the real binary bundle.


Maurice O'Connor wrote:
> Hi!
>
> This is x-posted from .equinox, in the hope that you guys might know
> more :)
>
> I'm seeing this error in the log of my exported product:
>
> 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)
>
> I solved it using the solution given here:
>
> http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg12468.html
>
> It says:
>
> - Copy the org.eclipse.osgi_vernum.jar from the
> plugins/org.eclipse.osgi_vernum directory to the plugins directory
> - Delete the org.eclipse.osgi_vernum directory
> - Launch the application
>
> So this has solved my problem, but I haven't figured out _why_ I need to
> do this. Is there something I can do to prevent it on the Eclipse GUI
> side, so it doesn't happen if I'm exporting to a new product?
>
> Thanks!
>
> Maurice
>
>
>
Re: Error in exported product log [message #596083 is a reply to message #57356] Wed, 22 April 2009 11:19 Go to previous message
Maurice O'Connor is currently offline Maurice O'ConnorFriend
Messages: 86
Registered: July 2009
Member
This was indeed the issue. It's working perfectly now - thanks for your
help!

Maurice

Andrew Niefer wrote:

> It is probably caused by having org.eclipse.osgi imported into your
> workspace as a binary project.

> Try doing the export after closing all such imported binary projects.
> You don't need to have them in your workspace, it is enough that they
> are in your target.

> This would be a bug in the export, but the problem is that from the
> shape of the project, build can't tell that this is a spoofed up bundle
> created by the import and not the real binary bundle.


> Maurice O'Connor wrote:
>> Hi!
>>
>> This is x-posted from .equinox, in the hope that you guys might know
>> more :)
>>
>> I'm seeing this error in the log of my exported product:
>>
>> 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)
>>
>> I solved it using the solution given here:
>>
>> http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg12468.html
>>
>> It says:
>>
>> - Copy the org.eclipse.osgi_vernum.jar from the
>> plugins/org.eclipse.osgi_vernum directory to the plugins directory
>> - Delete the org.eclipse.osgi_vernum directory
>> - Launch the application
>>
>> So this has solved my problem, but I haven't figured out _why_ I need to
>> do this. Is there something I can do to prevent it on the Eclipse GUI
>> side, so it doesn't happen if I'm exporting to a new product?
>>
>> Thanks!
>>
>> Maurice
>>
>>
>>
Previous Topic:Build updatesite doesn't create web/* and index.html
Next Topic:Creating an update site
Goto Forum:
  


Current Time: Fri Apr 19 19:58:57 GMT 2024

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

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

Back to the top