Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » P2 Metadata generator broken?
P2 Metadata generator broken? [message #112661] Fri, 27 June 2008 09:59 Go to next message
Miles Daffin is currently offline Miles DaffinFriend
Messages: 86
Registered: July 2009
Member
Dear All,

I have been following the notes on generating P2 metadata for an existing
update site:

http://wiki.eclipse.org/Equinox_p2_Metadata_Generator

The site in question is distributed in readonly file space. I therefore
wanted to generate the repository metadata in a separate, writable
location. This failed with multiple errors: java.io.IOException: The media
is write protected.

So I copied the update site to a writable location next to where I wanted
the metadata generated and reran the tool. This time is succeeded,
although the metadata (artifacts.jar and content.jar) had been added to
the update site directory, *not* to the specified repository directory. I
used the following args:

eclipse.exe -application
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator
-updateSite C:/tmp/eclipse/site/
-site file:C:/tmp/eclipse/site/site.xml
-metadataRepository file:C:/tmp/eclipse/repos/
-metadataRepositoryName "Site Metadata"
-artifactRepository file:C:/tmp/eclipse/repos/
-artifactRepositoryName "Site Artifacts"
-compress
-reusePack200Files
-noDefaultIUs
-vmargs -Xmx256m"

To reiterate, the op completed successfully but C:/tmp/eclipse/repos/ was
empty. C:/tmp/eclipse/site/ contained both of the metadata jars. Is this a
bug? Please advise.

Miles
Re: P2 Metadata generator broken? [message #112949 is a reply to message #112661] Mon, 30 June 2008 09:38 Go to previous messageGo to next message
Miles Daffin is currently offline Miles DaffinFriend
Messages: 86
Registered: July 2009
Member
Hi All,

Should I just go ahead and report this as a bug?

Miles
Re: P2 Metadata generator broken? [message #113204 is a reply to message #112949] Thu, 03 July 2008 15:39 Go to previous message
Eclipse UserFriend
Originally posted by: eclipseng.arthorne.com

Please enter a bug. Thanks.
--

Miles Daffin wrote:
> Should I just go ahead and report this as a bug?
Previous Topic:How to listen for "Javadoc location" change
Next Topic:Equinox p2 Repository Mirroring
Goto Forum:
  


Current Time: Thu Apr 25 17:12:45 GMT 2024

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

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

Back to the top