[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [p2-dev] Help needed for installing a feature using p2

Usually when it fails you'll find something in the error log. 

-----Original Message-----
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
Behalf Of ext dheeraj guntupalli
Sent: Wednesday, August 06, 2008 9:54 AM
To: p2-dev@xxxxxxxxxxx
Subject: [p2-dev] Help needed for installing a feature using p2


We tried generating metadata and installing a feature, but failed to do
so. Following are the steps we used to install the feature. Please let
us know if we are missing anything, or point out to any documentation or
examples that would help us understand the problem.

1.)We have developed a simple plugin using the HelloWorld template.
Included the plugin in a feature. Both the plugin and feature folders
are placed in the C:/sourceFolder.
2.) Generated the metadata using EclipseGenerator withe the following
      -source C:/sourceFolder     -metadataRepository
file:C:/repository/      -metadataRepositoryName "Sample Repository"
      -artifactRepository file:C:/repository/ -artifactRepositoryName
"Sample Artifacts"
      -publishArtifacts  -publishArtifactRepository
4.) After the metadata is generated inthe C:/repository folder, tried
installing the featureby running the
org.eclipse.equinox.p2.director.app.application with the following
      -metadataRepository file:C:/repository/
      -artifactRepository file:C:/repository/

This didn't throw any errors, but didn't install the feature either.

Also tried installing the feature using the Help > Software Updates>
Available Software. Added the C:/repository by selecting "Add Site"
button. Then selecting the "Install" menu in the context menu over
"Sample Feature". This too didn't work.

Please let us know if we are doing anything wrong here.

Thanks & regards,
p2-dev mailing list