Date: 2004-12-28T05:35:24
   Editor: TorstenSchlabach
   Wiki: Cocoon Wiki
   Page: LoadInEclipse
   URL: http://wiki.apache.org/cocoon/LoadInEclipse

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -49,7 +49,7 @@
 
 ----
 
-=== Eclipse, its workspace and projects ===
+=== Eclipse, its workspace and how to import a project ===
 
 As silly as it sounds, but picking up an already existing project in Eclipse 
is not alway straigt forward, mostly because Eclipse offers a lot of options. 
Most of them are misleading for what we want to achieve here. But they are 
sitting on the menus ready to lead you in the wrong direction. As this is not 
really a in-depth Eclipse internals tutorial, let's keep a long story short.
 
@@ -61,10 +61,10 @@
 
 So the best way to make the Cocoon source tree available in Eclise is:
 
- * Extract the Cocoon tarball into the Eclipse workspace directory. This 
should create a folder $ECLIPSE_WORKSPACE/cocoon-x.y.z with the well known 
Cocoon source tree structure in it.
- * From the command line of your os change the directory to 
$ECLIPSE_WORKSPACE/cocoon-x.y.z, set the JAVA_HOME environment variable if 
needed and run the command {{build eclipse-project}} (Windows) or {{./build.sh 
eclipse-project}} (*ix). Now you have two new files: .project and .classpath. 
Nothing else so far.
+ * Extract the Cocoon tarball into the Eclipse workspace directory. This 
should create a folder $ECLIPSE_WORKSPACE/cocoon-x.y.z with the familliar 
Cocoon source tree structure in it.
+ * From the command line of your os change the directory to 
$ECLIPSE_WORKSPACE/cocoon-x.y.z, set the JAVA_HOME environment variable if 
needed and run the command {{{build eclipse-project}}} (Windows) or 
{{{./build.sh eclipse-project}}} (*ix). Now you have two new files: .project 
and .classpath. Nothing else so far.
  * In Eclipse, choose File -> New -> Project and select "Java Project". (This 
is not very logical as we already have an Eclipse Java project, don't we?)
- * On the dialogue that comes up, make sure the option "Create Project in 
Workspace" is selected and enter the project name '''exactly''' as the name of 
the directory, for example {{cocoon-2.1.6}}.
+ * On the dialogue that comes up, make sure the option "Create Project in 
Workspace" is selected and enter the project name '''exactly''' as the name of 
the directory, for example {{{cocoon-2.1.6}}}.
 
 Once you do that, note the information that shows up in the bottom of the 
dialogue. (It will only show up if you name the project identical to the 
folder!) Hit finish and you are done. Cocoon is now a project in your Eclipse 
Workbench using the correct settings from the .classpath and .project files.
 

Reply via email to