diff --git a/exercises/Exercise_01_Create_RCP_Bundle/README.html b/exercises/Exercise_01_Create_RCP_Bundle/README.html
index c5b0278..1d0be4d 100644
--- a/exercises/Exercise_01_Create_RCP_Bundle/README.html
+++ b/exercises/Exercise_01_Create_RCP_Bundle/README.html
@@ -28,9 +28,12 @@
Generating an Eclipse 4 sample application
On the Content page, enter the name Tycho Demo Bundle. Click Next >
- On the Eclipse 4 Application page, select Create sample content and press Finish
+ On the Templates page, select Eclipse 4 RCP application. Click Next >
+ On the Basic Eclipse 4 Application page, select Create sample content and press Finish
+
+
Run the generated application to see what it does:
- Open the product definition file tychodemo.bundle.product
@@ -64,7 +67,7 @@ Setting up the Tycho build
- Right-click on the tychodemo.bundle project and select Configure > Convert to Maven Project
- - Enter the groupId tychodemo, the version 1.0.0-SNAPSHOT, and the packaging eclipse-plugin
+
- Enter the groupId tychodemo, the version 1.0.0-SNAPSHOT, and the packaging eclipse-plugin and press Finish.
Note: Tycho requires that the artifactId in the POM is the same as the Bundle-SymbolicName in the OSGi manifest, and that the versions match (with .qualifier replaced by -SNAPSHOT)
@@ -76,7 +79,7 @@ Setting up the Tycho build
- Open the pom.xml and switch to the tab pom.xml
- Define a property with the Tycho version by adding this snippet to the <project> :
<properties>
- <tycho-version>0.20.0</tycho-version>
+ <tycho-version>1.3.0</tycho-version>
</properties>
- To enable Tycho, add this snippet to the <project> :
@@ -113,19 +116,13 @@ Setting up the Tycho build
<repositories>
<!-- configure p2 repository to resolve against -->
<repository>
- <id>eclipse-project-luna</id>
+ <id>eclipse-project-2018-12</id>
<layout>p2</layout>
- <url>http://download.eclipse.org/eclipse/updates/4.4milestones</url>
+ <url>http://download.eclipse.org/eclipse/updates/4.10</url>
</repository>
</repositories>
- - In order to be independent of network access to eclipse.org:
-
This p2 repository contains a subset of the Eclipse Project Luna M6 repository.
-
+
Run the build of tychodemo.parent again, e.g. by right-clicking on tychodemo.parent > Run As > Maven build
diff --git a/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app.png b/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app.png
index 9b441ca..9150028 100644
Binary files a/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app.png and b/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app.png differ
diff --git a/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_1.png b/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_1.png
index 1a0d85c..c88eeec 100644
Binary files a/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_1.png and b/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_1.png differ
diff --git a/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_2.png b/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_2.png
index 0174d27..b67a77b 100644
Binary files a/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_2.png and b/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_2.png differ
diff --git a/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_3.png b/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_3.png
index 6641342..ebb26d8 100644
Binary files a/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_3.png and b/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_3.png differ
diff --git a/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_4.png b/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_4.png
new file mode 100644
index 0000000..869dbe6
Binary files /dev/null and b/exercises/Exercise_01_Create_RCP_Bundle/resources/new_e4_app_4.png differ
diff --git a/exercises/Exercise_02_Add_Test_Fragment/resources/extract_method_2.png b/exercises/Exercise_02_Add_Test_Fragment/resources/extract_method_2.png
index 615f083..d2d694d 100644
Binary files a/exercises/Exercise_02_Add_Test_Fragment/resources/extract_method_2.png and b/exercises/Exercise_02_Add_Test_Fragment/resources/extract_method_2.png differ
diff --git a/exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html b/exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html
index 7a8bb0d..007d294 100644
--- a/exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html
+++ b/exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html
@@ -27,7 +27,8 @@ Importing the refactored project
- Right-click on tychodemo.parent > Run As > Maven build, enter the goals clean install.
+ If you see a dialog labeled Setup Maven plugin connectors click Finish. If you see an Install dialog asking you to install Tycho Projector Configurators, do so.
+ Right-click on tychodemo.parent > Run As > Maven build. If you get a dialog asking for goals, enter the goals clean install.
The build should succeed and build two modules:
@@ -60,7 +61,7 @@ Adding a JUnit test
Open AboutHandler.java, select the about text string, right-click Refactor > Extract Method
- Enter the method name getGreeting and select the default access modifier
+ Enter the method name getGreeting and select the package access modifier
@@ -112,7 +113,8 @@ Running the JUnit test in the build
Expected results:
- You may get an error "Project configuration is not up to date".
- If this is the case, right-click on tychodemo.bundle.tests > Maven > Update Project..., select the project and click OK
+ If this is the case, right-click on tychodemo.bundle.tests > Maven > Update Project..., select the project. If you see a message
+ asking if you should include other projects that need to be updated, click the link in the message to include it/them. Then click OK
- The tychodemo.bundle.tests project is now listed as module in the parent POM.
(This means that it will be included in the build reactor when triggering a build on the parent POM.)
@@ -132,7 +134,8 @@
Running the JUnit test in the build
- Implement the test and run it again:
- Assert that getGreeting() contains "Tycho Demo"
-
(Possible solution)
+
(Possible solution). If you use this possible
+ solution, you may see an error that CoreMatchers cannot be resolved. If so, select Import 'CoreMatchers' (org.hamcrest) from the list of Content Assist choices.
- Execute the test in Eclipse, e.g. by selecting the AboutHandlerTest launch configuration from the launch history
diff --git a/exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/pom.xml b/exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/pom.xml
index e5ef32e..1969628 100644
--- a/exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/pom.xml
+++ b/exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/pom.xml
@@ -15,7 +15,7 @@
- 0.20.0
+ 1.3.0
@@ -23,7 +23,7 @@
eclipse-project-luna
p2
- http://download.eclipse.org/eclipse/updates/4.4milestones
+ http://download.eclipse.org/eclipse/updates/4.10
diff --git a/exercises/Exercise_03_Add_Feature/tychodemo.parent/pom.xml b/exercises/Exercise_03_Add_Feature/tychodemo.parent/pom.xml
index 198fa52..957383d 100644
--- a/exercises/Exercise_03_Add_Feature/tychodemo.parent/pom.xml
+++ b/exercises/Exercise_03_Add_Feature/tychodemo.parent/pom.xml
@@ -16,15 +16,15 @@
- 0.20.0
+ 1.3.0
- eclipse-project-luna
+ eclipse-project-2018-12
p2
- http://download.eclipse.org/eclipse/updates/4.4milestones
+ http://download.eclipse.org/eclipse/updates/4.10
diff --git a/exercises/Exercise_04_Add_P2_Repository/tychodemo.parent/pom.xml b/exercises/Exercise_04_Add_P2_Repository/tychodemo.parent/pom.xml
index 17cc2e5..2543c3c 100644
--- a/exercises/Exercise_04_Add_P2_Repository/tychodemo.parent/pom.xml
+++ b/exercises/Exercise_04_Add_P2_Repository/tychodemo.parent/pom.xml
@@ -17,15 +17,15 @@
- 0.20.0
+ 1.3.0
- eclipse-project-luna
+ eclipse-project-2018-12
p2
- http://download.eclipse.org/eclipse/updates/4.4milestones
+ http://download.eclipse.org/eclipse/updates/4.10
diff --git a/exercises/Exercise_05_Add_Product/resources/feature_based.png b/exercises/Exercise_05_Add_Product/resources/feature_based.png
index 5bb4bba..c14262c 100644
Binary files a/exercises/Exercise_05_Add_Product/resources/feature_based.png and b/exercises/Exercise_05_Add_Product/resources/feature_based.png differ
diff --git a/exercises/Exercise_05_Add_Product/resources/start_levels_add.png b/exercises/Exercise_05_Add_Product/resources/start_levels_add.png
index a435e7b..021c810 100644
Binary files a/exercises/Exercise_05_Add_Product/resources/start_levels_add.png and b/exercises/Exercise_05_Add_Product/resources/start_levels_add.png differ
diff --git a/exercises/Exercise_05_Add_Product/resources/start_levels_add_recommended.png b/exercises/Exercise_05_Add_Product/resources/start_levels_add_recommended.png
new file mode 100644
index 0000000..2003742
Binary files /dev/null and b/exercises/Exercise_05_Add_Product/resources/start_levels_add_recommended.png differ
diff --git a/exercises/Exercise_05_Add_Product/tychodemo.parent/README.html b/exercises/Exercise_05_Add_Product/tychodemo.parent/README.html
index e7db442..7faf0f5 100644
--- a/exercises/Exercise_05_Add_Product/tychodemo.parent/README.html
+++ b/exercises/Exercise_05_Add_Product/tychodemo.parent/README.html
@@ -44,16 +44,11 @@ Building a product distribution
- Configure the start levels and auto-start settings of the product:
- Open the tychodemo.bundle.product product definition
- Switch to the Configuration tab
- - In the Start Levels section, click on Add...
+
- In the Start Levels section, click on Add Recommended...
- - Select the bundles org.eclipse.equinox.common and org.eclipse.equinox.ds and hit OK
-
-
- - For both bundles, set the start level to 2 and auto-start to true
- - Click Add... again and add the bundle org.eclipse.core.runtime
- - For org.eclipse.core.runtime only set auto-start to true
-
+ - You will see a dialog with a list of recommended start levels for some plug-ins similar to the following. Click OK.
+
@@ -65,7 +60,7 @@ Building a product distribution
- Select "The product configuration is based on features"
- - On the Dependencies tab, click on Add... and select the tychodemo.feature, and hit OK
+ - On the Contents tab, click on Add... and select the tychodemo.feature, and hit OK
- In the same way, add the feature org.eclipse.rcp
diff --git a/exercises/Exercise_05_Add_Product/tychodemo.parent/pom.xml b/exercises/Exercise_05_Add_Product/tychodemo.parent/pom.xml
index 573ce94..06e63ee 100644
--- a/exercises/Exercise_05_Add_Product/tychodemo.parent/pom.xml
+++ b/exercises/Exercise_05_Add_Product/tychodemo.parent/pom.xml
@@ -18,15 +18,15 @@
- 0.20.0
+ 1.3.0
- eclipse-project-luna
+ eclipse-project-2018-12
p2
- http://download.eclipse.org/eclipse/updates/4.4milestones
+ http://download.eclipse.org/eclipse/updates/4.10
diff --git a/exercises/Exercise_05_Solution/tychodemo.parent/pom.xml b/exercises/Exercise_05_Solution/tychodemo.parent/pom.xml
index 573ce94..06e63ee 100644
--- a/exercises/Exercise_05_Solution/tychodemo.parent/pom.xml
+++ b/exercises/Exercise_05_Solution/tychodemo.parent/pom.xml
@@ -18,15 +18,15 @@
- 0.20.0
+ 1.3.0
- eclipse-project-luna
+ eclipse-project-2018-12
p2
- http://download.eclipse.org/eclipse/updates/4.4milestones
+ http://download.eclipse.org/eclipse/updates/4.10
diff --git a/exercises/Exercise_05_Solution/tychodemo.repository/tychodemo.bundle.product b/exercises/Exercise_05_Solution/tychodemo.repository/tychodemo.bundle.product
index 5605640..64bdaaa 100644
--- a/exercises/Exercise_05_Solution/tychodemo.repository/tychodemo.bundle.product
+++ b/exercises/Exercise_05_Solution/tychodemo.repository/tychodemo.bundle.product
@@ -15,6 +15,15 @@
+
+
+
+
+
+
+
+
+
@@ -110,16 +119,18 @@
-
+
+
-
+
+