Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » p2 publisher - error message
p2 publisher - error message [message #708847] Wed, 03 August 2011 08:11 Go to next message
niederle is currently offline niederleFriend
Messages: 2
Registered: August 2011
Junior Member
Hello,

I'm looking for help to create a working update site.
I tried to do it with Eclipse (3.6.1, I'm bound to this version at the moment) but there is this bug with the categories and I tried to follow the workaround mentioned here (cannot use links yet - sorry for adding it as code):

ekkescorner.wordpress.com/2010/04/19/who-eats-the-categories-from-update-sites-part-2-workaround


Running the P2 update site publisher gives me the following output:

Generating metadata for ..
Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0  java.lang.NullPointerException
-metadataRepository
file:/Users/niederle/Desktop/testrepo/
-artifactRepository
file:/Users/niederle/Desktop/testrepo/
source
/Users/niederle/projects/betachannel/
-compress
-publishArtifacts


What does this error message tell?
When running both steps, I end up with artifacts.jar, contents.jar, plugins-folder, features-folder and my application (based on Eclipse) does not find anything in this location when I add it as update site... So I guess, it's not created correctly.

Can anybody help?

I'm pretty new to the whole field, I hope I could explain my problem...

A
Re: p2 publisher - error message [message #709840 is a reply to message #708847] Thu, 04 August 2011 11:14 Go to previous message
niederle is currently offline niederleFriend
Messages: 2
Registered: August 2011
Junior Member
Hello,

I could solve my problem.
1. mistake: the dash in front of "source" was missing
2. mistkae: I tried to run it on an update site, which was created with Eclipse but not build...

Now it works.

A
Previous Topic:Content Assist
Next Topic:what's the difference between getResource and getEntry in Bundle interface
Goto Forum:
  


Current Time: Mon Dec 22 10:42:54 GMT 2014

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

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