Return-Path:
After checking out Cocoon 2.2, see the Quickst=
art
--- page, you can mount the projects in Eclipse. After following the Working with Cocoon 2.2 fr=
om
+++ trunk page you can mount the projects in Eclipse. From the directory where you installed Cocoon trunk, we refer to it =
as
--- /trunk, run mvn eclipse:clean first to remove any left over eclipse fil=
es. Then
--- run mvn eclipse:eclipse.
Next go to eclipse, and make sure you haven't got trunk mounted as a= project +++
mvn eclipse:clean=20 ++++++=20 +++
first to remove any left over eclipse files. Then run
+++=20 +++mvn eclipse:eclipse+++=20 +++
This creates classpath and .project files for each= module. +++
+++=20 +++Next start Eclipse and make sure you haven't got trunk mounted as a = project already. Also remove .classpath and .project files po= ssibly --- remaining in /trunk from a previous project mount. Do File-Import->E= xisting --- projects into workspace, then point to your /trunk directory and it sho= uld --- detect the newly created blocks as projects.
+++ remaining in /trunk from a previous project mount. Do +++ File-Import->Existing projects into workspace, then point t= o your +++ /trunk directory and it should detect the newly created blocks= as +++ projects. =20Note that you need to declare the M2_REPO classpath v= ariable in --- your workspace, it should point to your local m2 repository.
+++ your workspace, it should point to your local m2 repository. The Maven = eclipse +++ plugin offers a goal for this purpose: mvn eclipse:add-maven-repo +++ -Dworkspace=3D[path-to-your-local-maven-repo] =20 ---You can also get Eclipse to download the sources of the dependent li= braries --- and attach them to the jars in Eclipse :
+++You can also get Eclipse to download the sources of dependent librar= ies and +++ attach them to the jars in Eclipse :
=20 ---$ mvn -Declipse.downloadSources=3Dtrue eclipse:eclipse+++
$ mvn -DdownloadSources=3Dtrue eclipse:eclipse=20 ---
For further information about the maven eclipse plugin visit --- http://maven.apache.org/plugins/maven-eclipse-plugin/.
+++For further information about the Maven Eclipse plugin visit +++ http:= //maven.apache.org/plugins/maven-eclipse-plugin/. +++
=20 ---Note below should be evaluated and either removed if= untrue or --- incorporated in the text above.
---=20 ---Normally it would have been sufficient to just run