/tycho-demo

Tycho Demo for EclipseCon 2011

Primary LanguageJava

<!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 2011 Tycho Tutorial</title>
</head>
<body>
<h1>EclipseCon 2011 Tycho Tutorial</h1>
<h2>Setup/Prerequisites</h2>

<ol>
<li>You need an Indigo SR1 eclipse classic SDK + m2eclipse + m2e Tycho configurators 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 harddrive, e.g. to <tt>c:\tmp</tt> or <tt>/tmp</tt></li>
</ol>


<h2>Exercises Overview:
Building an RCP application in six step-by-step exercises</h2>

The hands-on exercises will guide you through setting up a 
typical Tycho project for an RCP application.<br/>
<ul>
<li>We start from scratch with a small "Hello World" RCP plugin,</li>
<li>Add a simple unit test to make sure the plugin works, and</li>
<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>Add a product with native launcher binaries, branding etc.</li>
<li>Finally, we make sure that other developers can also work on the RCP application project by using a target file to define the target platform.</li>
</ul>

<h2>Table Of Contents</h2>
The exercises consist of six steps:
<ol>
<li> <a href="exercises/Exercise_01_Create_RCP_Bundle/README.html">Build a simple 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 repository</a></li>
<li> <a href="exercises/Exercise_05_Add_Product/tychodemo.parent/README.html">Add 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>
</ol>
<br/>





Each step has a subfolder with stub content as a starting point.<br/>
The links above give detailed step-by-step instructions for each step.<br/>
The folder for an exercise is at the same time starting point for the current exercise and solution of the previous one.<br/>
If you want to catch up to a certain step during the exercises, 
just follow the recovery instructions provided in the corresponding step.
<br/>
<br/>
If you successfully installed everything under "Setup" above,
you can now jump to the <a href="exercises/Exercise_01_Create_RCP_Bundle/README.html">first exercise</a>.
</body>
</html>