Stephan Herrmann | 0166441 | 2010-04-01 20:28:43 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <meta name="copyright" content="Copyright Technical University Berlin and others 2004, 2010. This page is made available under the Eclipse Public License v1.0. For full details see http://www.eclipse.org/legal/epl-v10.html" /> |
| 4 | <link rel=stylesheet type="text/css" href="../css/book.css"> |
| 5 | <link rel=stylesheet type="text/css" href="otguide.css"> |
| 6 | <title>Object Teams project creation</title> |
| 7 | <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| 8 | <style type="text/css"> |
| 9 | h2 {color: blue} |
| 10 | </style> |
| 11 | </head> |
| 12 | <body> |
| 13 | <h1>Object Teams project creation</h1> |
| 14 | <h2>Opening the project wizard</h2> |
| 15 | <p>The easiest way to create a new Object Teams project is to use the Object Teams |
| 16 | project wizard. The project wizard selection dialog can be opened either by selecting |
| 17 | <b>File > New > Project...</b> from the main workbench window or by selecting |
| 18 | <b>New > Project...</b> from the package explorer's pop-up menu or by selecting |
| 19 | <b>Project...</b> from the drop-down menu on the <b>New</b> button in the workbench |
| 20 | toolbar. Afterwards the wizard for creating an Object Teams project has to be chosen. |
| 21 | </p> |
| 22 | |
| 23 | <h2>Define settings</h2> |
| 24 | <p>On the first page of the project wizard the name of the project has to be entered. |
| 25 | On the second and last page the standard Java build settings can be defined as desired |
| 26 | (source folder, output folder, libraries etc.). |
| 27 | </p> |
| 28 | |
| 29 | <h2>Resulting effects</h2> |
| 30 | <p>After all information has been entered the project with the chosen name will be created, |
| 31 | the files <i>.classpath</i> and <i>.project</i> will be created and the tree view in the |
| 32 | package explorer will be updated and the new project displayed. |
| 33 | </p> |
| 34 | <p> |
| 35 | <img src="images/screenshots/projectWizard.jpg" |
| 36 | alt="Object Teams project wizard"> |
| 37 | </p> |
| 38 | <h2>OT/Equinox: Plug-in project</h2> |
| 39 | <p> |
| 40 | If the project is to develop an Eclipse plug-in using Object Teams (OT/Equinox) choose |
| 41 | the wizard for "Object Teams Plugin Project". This wizard is a variant of the regular |
| 42 | "Plug-in Project" wizard. |
| 43 | </p> |
| 44 | <h1>Adding Object Teams support to an existing project</h1> |
| 45 | <p> |
| 46 | Alternatively, if you already have a valid Java project or Plug-in project, you may |
| 47 | add Object Teams support using the project's context menu <span class="ui">Configure > Add Object Teams support</span>. |
| 48 | </p> |
| 49 | <img src="images/screenshots/addOTNature.png" alt="Add Object Teams support menu option"/> |
| 50 | </body> |
| 51 | </html> |