Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 7 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
Commits on Mar 21, 2013
@jsievers Adapt intro README to ECon 2013 905e0fc
@jsievers Adapt exercise 1 README
- use kepler M6
- remove workarounds for m2e bug and not self-
  contained e4 product
f2ce2a1
@jsievers Adapt exc 2 to Econ 2013
remove workarounds for m2e bug and
junit 4 bundle version.
9a99a91
@jsievers Adapt exc3 to Econ 2013 0b29fbc
@jsievers Adapt exc 4 to ECon 2013 5e3a9bf
@jsievers correct repository zip name 66f4cbe
@jsievers Adapt exc 5 44c51ef
View
17 README.html
@@ -1,14 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>EclipseCon Europe 2012 Tycho Tutorial</title>
+<title>EclipseCon 2013 Tycho Tutorial</title>
</head>
<body>
-<h1>EclipseCon Europe 2012 Tycho Tutorial</h1>
+<h1>EclipseCon 2013 Tycho Tutorial</h1>
<h2>Setup/Prerequisites</h2>
<ol>
-<li>You need a Juno SR1 eclipse classic SDK with m2eclipse, m2e Tycho configurators and e4 Tools installed.<br/>
+<li>You need a Kepler M6 eclipse classic SDK with m2eclipse, m2e Tycho configurators and e4 Tools installed.<br/>
For your convenience, we provide <a href="../">pre-packaged zips/tarballs</a> with this installation in the root folder of the USB stick. </li>
<li>Copy and unpack the eclipse SDK archive for your platform and start it.<br/> NOTE: for the 64-bit versions you will need a 64-bit JVM installed</li>
<li>Copy folder <tt>tutorial/</tt> to your local hard drive, e.g. to <tt>C:\temp\tycho\</tt> or <tt>~/tycho/</tt></li>
@@ -16,7 +16,7 @@
<h2>Exercises Overview:
-Building an e4 RCP application in six step-by-step exercises</h2>
+Building an e4 RCP application in five step-by-step exercises</h2>
The hands-on exercises will guide you through setting up a
typical Tycho build for an e4 RCP application.<br/>
@@ -26,20 +26,17 @@
<li>Create a feature for grouping the plugins we want to deliver.</li>
<li>Then, we create a p2 repository/update site containing our feature(s)
and bundles, and </li>
-<li>Build a ready-to-use distribution archive of our RCP application.</li>
-<li>Finally, we improve the project setup by using a target definition file.</li>
+<li>Finally, we create a ready-to-use distribution archive of our multi-platform RCP application.</li>
</ul>
<h2>Table Of Contents</h2>
-The exercises consist of six steps:
+The exercises consist of five steps:
<ol>
<li> <a href="exercises/Exercise_01_Create_RCP_Bundle/README.html">Build a simple e4 RCP plugin</a></li>
<li> <a href="exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html">Build and execute a simple test</a></li>
<li> <a href="exercises/Exercise_03_Add_Feature/tychodemo.parent/README.html">Add a feature</a></li>
<li> <a href="exercises/Exercise_04_Add_P2_Repository/tychodemo.parent/README.html">Add a p2 repository</a></li>
-<li> <a href="exercises/Exercise_05_Add_Product/tychodemo.parent/README.html">Build a product</a>
-<li> <a href="exercises/Exercise_06_Use_Target_File/tychodemo.parent/README.html">Use a target file</a>
- (<a href="exercises/Exercise_06_Solution/">solution</a>)</li>
+<li> <a href="exercises/Exercise_05_Add_Product/tychodemo.parent/README.html">Build a product</a>(<a href="exercises/Exercise_05_Solution/">solution</a>)</li>
</ol>
<br/>
View
13 exercises/Exercise_01_Create_RCP_Bundle/README.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>EclipseCon 2012 Tycho Tutorial - Exercise 1</title>
+<title>EclipseCon 2013 Tycho Tutorial - Exercise 1</title>
</head>
<body>
<p align="center">
@@ -33,7 +33,6 @@
<li>Run the application to check if it works:
<ul>
<li>Open the Product definition file <tt>tychodemo.bundle.product</tt></li>
- <li>Open the tab "Dependencies" and press "Add Required Plug-ins" (this is a workaround, the generated product is not self-contained)</li>
<li>In the tab "Overview", press "Launch an Eclipse application"<br/>
<img src="resources/product_1.png"/>
</li>
@@ -70,14 +69,12 @@
<img src ="resources/build_error.png" />
</li>
-<li><a name="remove_build_section"/>Open <tt>pom.xml</tt>, go to Tab "pom.xml". Remove the complete <tt>&lt;build&gt;</tt> element (this is an <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374742">m2eclipse bug</a>).<br/>
- <img src ="resources/remove_build_section.png" />
-</li>
+<li>Open <tt>pom.xml</tt>, go to Tab "pom.xml". </li>
<li> To define the tycho version to be used, add this snippet into <tt>&lt;project&gt;</tt> :
<pre>
&lt;properties&gt;
- &lt;tycho-version&gt;0.16.0&lt;/tycho-version&gt;
+ &lt;tycho-version&gt;0.17.0&lt;/tycho-version&gt;
&lt;/properties&gt;
</pre>
</li>
@@ -124,9 +121,9 @@
&lt;repositories&gt;
&lt;!-- configure p2 repository to resolve against --&gt;
&lt;repository&gt;
- &lt;id&gt;juno&lt;/id&gt;
+ &lt;id&gt;eclipse-platform-m6&lt;/id&gt;
&lt;layout&gt;p2&lt;/layout&gt;
- &lt;url&gt;http://download.eclipse.org/releases/juno/&lt;/url&gt;
+ &lt;url&gt;http://download.eclipse.org/eclipse/updates/4.3milestones/S-4.3M6-201303141330&lt;/url&gt;
&lt;/repository&gt;
&lt;/repositories&gt;
</pre></li>
View
6 exercises/Exercise_02_Add_Test_Fragment/tychodemo.parent/README.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>EclipseCon 2012 Tycho Tutorial - Exercise 2</title>
+<title>EclipseCon 2013 Tycho Tutorial - Exercise 2</title>
</head>
<body>
<p align="center">
@@ -74,7 +74,7 @@
<li>choose <tt>getGreeting()</tt> as test method for which a stub will be created<br/>
<img src="../resources/new_junit_testcase_2.png"/>
</li>
- <li>confirm "Add org.junit to required bundles" if prompted and make sure that the minimum version required for <tt>org.junit</tt> is <tt>4.0.0</tt></li>
+ <li>confirm "Add org.junit to required bundles" if prompted</li>
<img src="../resources/junit_min_version.png"/>
</ul>
</li>
@@ -100,8 +100,6 @@
Again, you will get an error <tt>Unknown packaging: eclipse-test-plugin</tt> because the tycho build extension is not configured yet. Ignore this error for now.
</li>
</ul>
- <li> Same as in <a href="../../Exercise_01_Create_RCP_Bundle/README.html#remove_build_section">exercise 1</a>, remove the unnecessary <tt>&lt;build&gt;</tt> section from the newly created <tt>pom.xml</tt>.
- </li>
</li>
<li><a name="add_module"/>Add the module to <tt>&lt;modules&gt;</tt> section of the <a href="pom.xml">parent pom.xml</a>:
View
2  exercises/Exercise_03_Add_Feature/tychodemo.parent/README.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>EclipseCon 2012 Tycho Tutorial - Exercise 3</title>
+<title>EclipseCon 2013 Tycho Tutorial - Exercise 3</title>
</head>
<body>
<p align="center">
View
4 exercises/Exercise_04_Add_P2_Repository/tychodemo.parent/README.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>EclipseCon 2012 Tycho Tutorial - Exercise 4</title>
+<title>EclipseCon 2013 Tycho Tutorial - Exercise 4</title>
</head>
<body>
<p align="center">
@@ -72,7 +72,7 @@
<br /><img src="../resources/build_success.png" />
</li>
<li>A p2 repository in <tt>tychodemo.repository/target/repository/</tt>, and</li>
- <li>The zipped p2 repository in <tt>tychodemo.repository/target/tychodemo.repository.zip</tt></li>
+ <li>The zipped p2 repository in <tt>tychodemo.repository/target/tychodemo.repository-1.0.0-SNAPSHOT.zip</tt></li>
</ul>
</li>
<li>Test the p2 repository just created:<ul>
View
16 exercises/Exercise_05_Add_Product/tychodemo.parent/README.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>EclipseCon 2012 Tycho Tutorial - Exercise 5</title>
+<title>EclipseCon 2013 Tycho Tutorial - Exercise 5</title>
</head>
<body>
<p align="center">
@@ -132,19 +132,7 @@
</li>
<li>Run the product executable
- <br />Expected result: The <tt>tychodemo.bundle</tt> RCP is started, but the toolbar icons are missing
- <br /><img src="../resources/rcp_noicons.png" />
- </li>
-
- <li>Configure the build to include the icons in the <tt>tychodemo.bundle</tt> JAR file: <ul>
- <li>Open the file <tt>tychodemo.bundle/build.properties</tt></li>
- <li>In the <tt>Binary Build</tt> section, select the <tt>icons</tt> folder
- <br /><img src="../resources/add_icons.png" />
- </li>
- </ul></li>
-
- <li>Close the RCP (if it is still running), run the build of <tt>tychodemo.parent</tt>, and launch the RCP again from the <tt>target</tt> folder of <tt>tychodemo.repository</tt> project
- <br />Now the icons should be shown correctly
+ <br />Expected result: The <tt>tychodemo.bundle</tt> RCP is started:
<br /><img src="../resources/rcp.png" />
</li>
</ol>

No commit comments for this range

Something went wrong with that request. Please try again.