Jump to: navigation, search

Difference between revisions of "Equinox/p2/Zipped Repos"

< Equinox‎ | p2
m
m
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
With 3.5M6, there are zipped repos for the RCP, CVS, JDT and PDE (Runtime and SDK) zipped p2 repos available with each build.  
+
With 3.5M6, there are zipped p2 repos for the RCP, CVS, JDT and PDE (Runtime and SDK) features available with each build.  
  
These zipped repos can be either used to provision your install or used to provision your PDE target.
+
These zipped repos can be either used to provision your install or provision your PDE target. See [[Equinox/p2/Metadata_Consumption]] for background information on the motivation and value of providing repositories in this format.
  
<h4>Provisioning your install from a zipped repo</h4>
+
These repos have a format like this
 +
<pre>
 +
artifacts.jar
 +
content.jar
 +
plugins/
 +
pluginA.jar
 +
pluginB.jar
 +
pluginC.jar
 +
features/
 +
featureA.jar
 +
featureB.jar
 +
</pre>
  
To provision your install, select Help->Install New Software and select Add to add a new repository  
+
 
 +
The zipped repo is not in the format eclipse/plugins etc. so they cannot just be just unzipped over your existing install or into your dropins folder.  You need to use the p2 user ui to provision them into your install or pde target.
 +
 
 +
<h3>Provisioning your install from a zipped p2 repo</h3>
 +
 
 +
To provision your install, select <strong>Help</strong>-><strong>Install New Software</strong> and select <strong>Add</strong> to add a new repository.  Select <strong>Archive</strong> to point to the p2 repo archive you've downloaded from the build page.
  
  
Line 11: Line 27:
  
  
Select the archive that you have downloaded from the build page.  For example, if you wish to provision from the M6 jdt source zipped repo
+
For example, if you wish to provision from the M6 JDT source zipped repo
  
  
Line 19: Line 35:
  
  
[[Image:Repo3.JPG#file]]
+
[[Image:Repo3.jpg#file]]
 +
 
 +
Proceed to provision your install as if you were provisioning from a remote repository.
 +
 
 +
 
 +
<h3>Provisioning your target from a zipped repo</h3>
 +
 
 +
 
 +
When setting your target, select <strong>Add</strong> and select <strong>Repository or update site</strong>
 +
 
 +
[[Image:pde1.jpg#file]]
 +
 
 +
Select <strong>Manage Site</strong>
 +
 
 +
[[Image:Pde2.jpg#file]]
 +
 
 +
Select <strong>Archive</strong> and proceed to select the zipped archive on your filesystem.  Proceed to provision your target as if you were provisioning from a remote repository.
 +
 
 +
Note:  Please see bug [https://bugs.eclipse.org/bugs/show_bug.cgi?id=268210 bug 268210] for issues related to provisioning from these repos for your PDE target. Currently, you can't provision from these repos in PDE because the repository browser doesn't show categories.
 +
 
 +
[[Image:pde3.jpg#file]]
  
Proceed as normal to provision your install.
+
[[Category:Equinox_p2|Zipped Repos]]

Latest revision as of 14:42, 21 June 2010

With 3.5M6, there are zipped p2 repos for the RCP, CVS, JDT and PDE (Runtime and SDK) features available with each build.

These zipped repos can be either used to provision your install or provision your PDE target. See Equinox/p2/Metadata_Consumption for background information on the motivation and value of providing repositories in this format.

These repos have a format like this

artifacts.jar
content.jar
plugins/
pluginA.jar
pluginB.jar
pluginC.jar
features/
featureA.jar
featureB.jar


The zipped repo is not in the format eclipse/plugins etc. so they cannot just be just unzipped over your existing install or into your dropins folder. You need to use the p2 user ui to provision them into your install or pde target.

Provisioning your install from a zipped p2 repo

To provision your install, select Help->Install New Software and select Add to add a new repository. Select Archive to point to the p2 repo archive you've downloaded from the build page.


Repo1.JPG


For example, if you wish to provision from the M6 JDT source zipped repo


Repo2.JPG

Select Open. You'll see the contents of the repository, identical to one on a remote http repository.


Repo3.jpg

Proceed to provision your install as if you were provisioning from a remote repository.


Provisioning your target from a zipped repo


When setting your target, select Add and select Repository or update site

Pde1.jpg

Select Manage Site

Pde2.jpg

Select Archive and proceed to select the zipped archive on your filesystem. Proceed to provision your target as if you were provisioning from a remote repository.

Note: Please see bug bug 268210 for issues related to provisioning from these repos for your PDE target. Currently, you can't provision from these repos in PDE because the repository browser doesn't show categories.

Pde3.jpg