Skip to content
Browse files

Use juno p2 repo

With the equinox.executable feature no longer missing in juno,
(see [1]), we can now use the juno release train p2 repository
for the exercises.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=355433
  • Loading branch information...
1 parent 133a345 commit 88f0555f14132e4bde41474e277188e95ef94c3a @jsievers committed Apr 2, 2012
View
10 exercises/Exercise_01_Create_RCP_Bundle/README.html
@@ -120,19 +120,13 @@
<repositories>
<!-- configure p2 repository to resolve against -->
<repository>
- <id>juno-local</id>
+ <id>juno</id>
<layout>p2</layout>
- <url>file:/PATH/TO/tutorial/p2_repository/</url>
+ <url>http://download.eclipse.org/releases/juno/</url>
</repository>
</repositories>
</pre></li>
-<li>
-Change the file URL to point to the folder <tt>tutorial/p2_repository/</tt> which you copied earlier from the USB stick.
-</li>
-
-<li>Copy your local file URL and save it in a text editor (we will need it later in other exercises)
-</li>
</ul>
<br/>
View
4 exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html
@@ -24,10 +24,6 @@
<li> Import the 2 projects from this folder into the new empty eclipse workspace using <tt>File > Import > Maven > Existing Maven Projects</tt><br/>
<img src="../resources/import.png"/>
</li>
-<li><a name="change_p2_url"/> Open <tt>pom.xml</tt> in <tt>tychodemo.parent</tt> and change the file URL to point to the folder <tt>tutorial/p2_repository/</tt> which you copied earlier from the USB stick:<br/>
-<img src="../resources/p2_repo_path.png"/>
-
-</li>
<li>Right-click on tychodemo.parent, <tt>Run As > Maven build</tt>, enter Goals: <tt>clean install</tt>.<br/>
The build should succeed and build 2 modules:<br/>
<img src="../resources/build_success.png"/>
View
2 exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/pom.xml
@@ -22,7 +22,7 @@
<repository>
<id>juno</id>
<layout>p2</layout>
- <url>file:/PATH/TO/tutorial/p2_repository/</url> <!-- e.g. file:/c:/temp/tycho/tutorial/p2_repository/ -->
+ <url>http://download.eclipse.org/releases/juno/</url>
</repository>
</repositories>
View
1 exercises/Exercise_03_Add_Feature/tychodemo.parent/README.html
@@ -21,7 +21,6 @@
<ul>
<li>Select <tt>File > Switch Workspace > Other...</tt> and choose folder <a href="../">Exercise_03_Add_Feature</a>.<br/>
Import all 3 projects from this folder into the new empty eclipse workspace using <tt>File &gt; Import &gt; Existing Maven Projects</tt></li>
-<li><a href="../../Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html#change_p2_url">Change the p2 repository file URL</a> in <tt>tychodemo.parent/pom.xml</tt> to point to your local copy</li>
<li> Right-click on <tt>tychodemo.parent, Run As > Maven build</tt>, enter Goals: <tt>clean install</tt>.<br/>
The build should succeed and build 3 modules
<pre>
View
2 exercises/Exercise_03_Add_Feature/tychodemo.parent/pom.xml
@@ -23,7 +23,7 @@
<repository>
<id>juno</id>
<layout>p2</layout>
- <url>file:/PATH/TO/tutorial/p2_repository/</url> <!-- e.g. file:/c:/temp/tycho/tutorial/p2_repository/ -->
+ <url>http://download.eclipse.org/releases/juno/</url>
</repository>
</repositories>
View
1 exercises/Exercise_04_Add_P2_Repository/tychodemo.parent/README.html
@@ -21,7 +21,6 @@
<ul>
<li>Select <tt>File > Switch Workspace > Other...</tt> and choose folder <a href="../">Exercise_04_Add_P2_Repository</a></li>
<li>Import all four projects from this folder into the workspace using <tt>File > Import > Existing Maven Projects</tt></li>
- <li><a href="../../Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html#change_p2_url">Change the p2 repository file URL</a> in <tt>tychodemo.parent/pom.xml</tt> to point to your local copy</li>
<li>Trigger a build on the parent POM: <ul>
<li>Right-click on <tt>tychodemo.parent > Run As > Maven build</tt></li>
<li>If a launch configuration dialog appears, enter the goals <tt>clean install</tt> and hit <tt>Run</tt></li>
View
2 exercises/Exercise_04_Add_P2_Repository/tychodemo.parent/pom.xml
@@ -24,7 +24,7 @@
<repository>
<id>juno</id>
<layout>p2</layout>
- <url>file:/PATH/TO/tutorial/p2_repository/</url> <!-- e.g. file:/c:/temp/tycho/tutorial/p2_repository/ -->
+ <url>http://download.eclipse.org/releases/juno/</url>
</repository>
</repositories>
View
1 exercises/Exercise_05_Add_Product/tychodemo.parent/README.html
@@ -21,7 +21,6 @@
<ul>
<li>Select <tt>File > Switch Workspace > Other...</tt> and choose folder <a href="../">Exercise_05_Add_Product</a></li>
<li>Import all five projects from this folder into the workspace using <tt>File > Import > Existing Maven Projects</tt></li>
- <li><a href="../../Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html#change_p2_url">Adapt the p2 repository file URL</a> in <tt>tychodemo.parent/pom.xml</tt>to your local copy</li>
<li>Trigger a build on the parent POM: <ul>
<li>Right-click on <tt>tychodemo.parent > Run As > Maven</tt></li>
<li>If an launch configuration dialog appears, enter the goals <tt>clean install</tt> and hit <tt>Run</tt></li>
View
2 exercises/Exercise_05_Add_Product/tychodemo.parent/pom.xml
@@ -25,7 +25,7 @@
<repository>
<id>juno</id>
<layout>p2</layout>
- <url>file:/PATH/TO/tutorial/p2_repository/</url>
+ <url>http://download.eclipse.org/releases/juno/</url>
</repository>
</repositories>
View
2 exercises/Exercise_05_Solution/tychodemo.parent/README.txt
@@ -3,5 +3,3 @@ Exercise 5: Add a product (solution)
This folder contains the solution of exercise 5.
-NOTE: To build, you have to change the file:/ URL in pom.xml to point to your local copy of the folder tutorial/p2_repository/
-copied from the USB stick we handed out.
View
2 exercises/Exercise_05_Solution/tychodemo.parent/pom.xml
@@ -25,7 +25,7 @@
<repository>
<id>juno</id>
<layout>p2</layout>
- <url>file:/PATH/TO/tutorial/p2_repository/</url> <!-- e.g. file:/c:/temp/tycho/tutorial/p2_repository/ -->
+ <url>http://download.eclipse.org/releases/juno/</url>
</repository>
</repositories>

0 comments on commit 88f0555

Please sign in to comment.
Something went wrong with that request. Please try again.