A new document has been created. http://cocoon.zones.apache.org/daisy/documentation/1214.html
Document ID: 1214 Branch: main Language: default Name: How to mount the Cocoon 2.2 projects in Eclipse Document Type: Cocoon Document Created: 10/2/06 9:05:27 AM Creator (owner): Helma van der Linden State: publish Parts ===== Content ------- Mime type: text/xml Size: 1569 bytes Content: <html> <body> <p>After checking out Cocoon 2.2, see the <a href="daisy:798">Quickstart page</a>, you can mount the projects in Eclipse.</p> <p>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 files. Then run mvn eclipse:eclipse.</p> <p>Next go to eclipse, and make sure you haven't got trunk mounted as a project already. Also remove <tt>.classpath</tt> and <tt>.project</tt> files possibly remaining in /trunk from a previous project mount. Do File-Import->Existing projects into workspace, then point to your /trunk directory and it should detect the newly created blocks as projects.</p> <p class="note">Note that you need to declare the M2_REPO classpath variable in your workspace, it should point to your local m2 repository.</p> <p>You can also get Eclipse to download the sources of the dependent libraries and attach them to the jars in Eclipse :</p> <pre>$ mvn -Declipse.downloadSources=true eclipse:eclipse</pre> <p>For further information about the maven eclipse plugin visit <tt>http://maven.apache.org/plugins/maven-eclipse-plugin/</tt>.</p> <p class="fixme">Note below should be evaluated and either removed if untrue or incorporated in the text above.</p> <p class="note">Normally it would have been sufficient to just run <tt>mvn eclipse:clean eclipse:eclipse </tt>but a bug in the plugin prevents it from generating correct eclipse project references during a reactor build if the projects are not installed during the same run.</p> </body> </html> Collections =========== The document belongs to the following collections: documentation