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

From Eclipsepedia

< Equinox‎ | p2
Jump to: navigation, search
m
m
 
(10 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.
  
These repos have a format such as
+
These repos have a format like this
<code>
+
<pre>
 
artifacts.jar
 
artifacts.jar
 
content.jar
 
content.jar
Line 14: Line 14:
 
featureA.jar
 
featureA.jar
 
featureB.jar
 
featureB.jar
</code>
+
</pre>
  
Thus these zips cannot be just unzipped on top of your install or into your dropins folder.  You must use the p2 user ui to untilize them.
+
 
 +
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>
 
<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  
+
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 26: 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 36: Line 37:
 
[[Image:Repo3.jpg#file]]
 
[[Image:Repo3.jpg#file]]
  
Proceed as normal to provision your install.
+
Proceed to provision your install as if you were provisioning from a remote repository.
  
  
Line 50: Line 51:
 
[[Image:Pde2.jpg#file]]
 
[[Image:Pde2.jpg#file]]
  
Select <strong>Archive</strong> and proceed to select the zipped archive on your filesystem.
+
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.
 
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]]
 
[[Image:pde3.jpg#file]]
 +
 +
[[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