Skip to content

Commit

Permalink
Adapt recovery instructions
Browse files Browse the repository at this point in the history
no longer need to change p2 URL
as this is done via mirror in settings.xml now.
  • Loading branch information
jsievers committed Mar 21, 2013
1 parent db9cb30 commit a1a3a39
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ <h2>Exercise 2: Add a test fragment with a simple JUnit test</h2>
<br/><img src="../resources/import.png" /> <br/><img src="../resources/import.png" />
<br/><img src="../resources/import_2.png" /> <br/><img src="../resources/import_2.png" />
</li> </li>
<li>If you are not connected to the Internet, use your <a href="../../../p2_repository">local copy</a> of the p2 repository from the USB stick for resolving dependencies:<ul>
<li>Open the file <tt>tychodemo.parent/pom.xml</tt> and switch to the <tt>pom.xml</tt> tab
<br/><img src="../resources/local_p2_repository.png" />
</li>
<li>In the <tt>&lt;repositories&gt;</tt> section, replace <tt>http://download.eclipse.org/releases/juno/</tt> by a <tt>file:</tt> URL pointing to the <a href="../../../p2_repository">local p2 repository</a>
<br/><img src="../resources/local_p2_repository_2.png" />
</li>
</ul></li>
<li>Right-click on <tt>tychodemo.parent > Run As > Maven build</tt>, enter Goals: <tt>clean install</tt>.<br/> <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 two modules:<br/> The build should succeed and build two modules:<br/>
<img src="../resources/build_success.png"/> <img src="../resources/build_success.png"/>
Expand Down
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ <h3>Recovery option</h3>
<ul> <ul>
<li>Select <tt>File > Switch Workspace > Other...</tt> and choose the folder <a href="../">Exercise_03_Add_Feature</a>.<br/> <li>Select <tt>File > Switch Workspace > Other...</tt> and choose the folder <a href="../">Exercise_03_Add_Feature</a>.<br/>
Import all three projects from this folder into the new empty Eclipse workspace using <tt>File &gt; Import &gt; Existing Maven Projects</tt></li> Import all three projects from this folder into the new empty Eclipse workspace using <tt>File &gt; Import &gt; Existing Maven Projects</tt></li>
<li>Configure your <a href="../../../p2_repository">local copy</a> of the p2 repository from the USB stick as target platform of the build:<ul>
<li>Open the file <tt>tychodemo.parent/pom.xml</tt> and switch to the <tt>pom.xml</tt> tab</li>
<li>In the <tt>&lt;repositories&gt;</tt> section, replace <tt>http://download.eclipse.org/releases/juno/</tt> by a <tt>file:</tt> URL pointing to the <a href="../../../p2_repository">local p2 repository</a></li>
</ul></li>
<li> Right-click on <tt>tychodemo.parent, Run As > Maven build</tt>, enter Goals: <tt>clean install</tt>.<br/> <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 three modules The build should succeed and build three modules
<pre> <pre>
Expand Down
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ <h3>Recovery option</h3>
<ul> <ul>
<li>Select <tt>File > Switch Workspace > Other...</tt> and choose the folder <a href="../">Exercise_04_Add_P2_Repository</a></li> <li>Select <tt>File > Switch Workspace > Other...</tt> and choose the 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>Import all four projects from this folder into the workspace using <tt>File > Import > Existing Maven Projects</tt></li>
<li>Configure your <a href="../../../p2_repository">local copy</a> of the p2 repository from the USB stick as target platform of the build:<ul>
<li>Open the file <tt>tychodemo.parent/pom.xml</tt> and switch to the <tt>pom.xml</tt> tab</li>
<li>In the <tt>&lt;repositories&gt;</tt> section, replace <tt>http://download.eclipse.org/releases/juno/</tt> by a <tt>file:</tt> URL pointing to the <a href="../../../p2_repository">local p2 repository</a></li>
</ul></li>
<li>Trigger a build on the parent POM: <ul> <li>Trigger a build on the parent POM: <ul>
<li>Right-click on <tt>tychodemo.parent > Run As > Maven build</tt></li> <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> <li>If a launch configuration dialog appears, enter the goals <tt>clean install</tt> and hit <tt>Run</tt></li>
Expand Down
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ <h3>Recovery option</h3>
<ul> <ul>
<li>Select <tt>File > Switch Workspace > Other...</tt> and choose the folder <a href="../">Exercise_05_Add_Product</a></li> <li>Select <tt>File > Switch Workspace > Other...</tt> and choose the 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>Import all five projects from this folder into the workspace using <tt>File > Import > Existing Maven Projects</tt></li>
<li>Configure your <a href="../../../p2_repository">local copy</a> of the p2 repository from the USB stick as target platform of the build:<ul>
<li>Open the file <tt>tychodemo.parent/pom.xml</tt> and switch to the <tt>pom.xml</tt> tab</li>
<li>In the <tt>&lt;repositories&gt;</tt> section, replace <tt>http://download.eclipse.org/releases/juno/</tt> by a <tt>file:</tt> URL pointing to the <a href="../../../p2_repository">local p2 repository</a></li>
</ul></li>
<li>Trigger a build on the parent POM: <ul> <li>Trigger a build on the parent POM: <ul>
<li>Right-click on <tt>tychodemo.parent > Run As > Maven build</tt></li> <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> <li>If a launch configuration dialog appears, enter the goals <tt>clean install</tt> and hit <tt>Run</tt></li>
Expand Down

0 comments on commit a1a3a39

Please sign in to comment.