Revision d9ee5eab
Added by Niels Hoffmann over 12 years ago
src/site/apt/getting-started.apt | ||
---|---|---|
31 | 31 |
|
32 | 32 |
* Setting up eclipse |
33 | 33 |
|
34 |
The Taxonomic Editor uses maven for convenient configuration and automation of common tasks, such as setting up eclipse. |
|
35 |
|
|
36 |
--- |
|
37 |
$ cd taxeditor/ |
|
38 |
$ mvn eclipse:eclipse |
|
39 |
--- |
|
40 |
|
|
41 |
This will take some time, as maven will download the required dependencies and configure the projects. After maven has finished follow these steps: |
|
42 |
|
|
43 | 34 |
* Start up eclipse (make sure you have the required version installed) and open a workspace. |
44 | 35 |
|
45 | 36 |
* Open up the Import Wizard via <File -\> Import...> from the menu |
46 | 37 |
|
47 | 38 |
* Choose <General -\> Existing projects into Workspace > and click next. |
48 | 39 |
|
49 |
* Check <Select Root Directory> and browse to the <<<taxeditor/>>> directory. After confirming the directory selection dialog, the <Projects> list should contain a number of projects. |
|
40 |
* Check <Select Root Directory> and browse to the <<<taxeditor/>>> directory. After confirming the directory selection dialog, the <Projects> list should contain a number of projects all starting with |
|
41 |
<<<eu.etaxonomy.taxditor>>> which should be checked for import. |
|
42 |
|
|
43 |
* Click <Select All> to finish the wizard and import the projects into your workspace. |
|
44 |
|
|
45 |
You should now be able to see the taaxeditor projects in your workspace. |
|
46 |
|
|
47 |
* Dependencies |
|
48 |
|
|
49 |
The Taxonomic Editor uses <maven 3> for convenient configuration and automation of common tasks, |
|
50 |
such as resolving dependencies and automating builds. |
|
51 |
|
|
52 |
The <<<trunk>>> branch of the Taxonomic Editor is programmed against the latest |
|
53 |
SNAPSHOT version of the cdmlibrary. Because that dependency will change quickly, we |
|
54 |
do not imclude it with the other dependencies but rather install it with maven. |
|
55 |
|
|
56 |
In order to do that you have to run <<<mvn validate>>> in your <<<taxeditor/>>> directory. |
|
57 |
|
|
58 |
--- |
|
59 |
$ cd taxeditor/ |
|
60 |
$ mvn validate |
|
61 |
--- |
|
62 |
|
|
63 |
This will take some time, as maven will download the required dependencies. |
|
64 |
After maven has finished follow these steps: |
|
50 | 65 |
|
51 |
* Click <Select All> and finish the wizard. |
|
52 | 66 |
|
53 |
The package exporer should show a bunch of projects. To get rid of the errors, you have to update the classpaths of all plugin projects. To do this right-click any of the <taxeditor-*> projects and choose <PDE Tools -\> Update Classpath...>. Click <Select All> in the dialog and confirm. After a rebuild of your entire workspace all errors should be gone and you are ready to go.
|
|
67 |
To get rid of the errors, you have to update the classpaths of all plugin projects. To do this right-click any of the <taxeditor-*> projects and choose <PDE Tools -\> Update Classpath...>. Click <Select All> in the dialog and confirm. After a rebuild of your entire workspace all errors should be gone and you are ready to go. |
|
54 | 68 |
|
55 | 69 |
* Bundle overview |
56 | 70 |
|
... | ... | |
90 | 104 |
|
91 | 105 |
A feature containing all dependencies for the eclipse platform. |
92 | 106 |
|
93 |
** <eu.etaxonomy.taxeditor.product>
|
|
107 |
** <eu.etaxonomy.taxeditor> |
|
94 | 108 |
|
95 |
A feature configuring the standalone application and bundling all plugins and dependencies.
|
|
109 |
The product configuration for the standalone application.
|
|
96 | 110 |
|
97 | 111 |
** <eu.etaxonomy.taxeditor.test> |
98 | 112 |
|
... | ... | |
102 | 116 |
|
103 | 117 |
To start the Taxonomic Editor from your newly created development environment you need to create a launch configuration. |
104 | 118 |
|
105 |
* Expand <taxeditor-feature-product> and open <<<taxeditor.product>>>
|
|
119 |
* Expand <eu.etaxonomy.taxeditor> and open <<<eu.etaxonomy.taxeditor.product>>>
|
|
106 | 120 |
|
107 | 121 |
* In the <Testing> section (down left) click on <Launch an Eclipse application in Debug mode> |
108 | 122 |
|
Also available in: Unified diff
updated maven site to reflect change in dependeny management