cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: LoadInEclipse
Date Tue, 28 Dec 2004 13:55:29 GMT
   Date: 2004-12-28T05:55:29
   Editor: TorstenSchlabach
   Wiki: Cocoon Wiki
   Page: LoadInEclipse
   URL: http://wiki.apache.org/cocoon/LoadInEclipse

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -55,7 +55,7 @@
 
 Eclipse keeps a .metadata directory in each workspace. In there it records the projects it
knows about in the workspace. Therefore just extracting the Cocoon tarball into the Eclipse
workspace will not make the project show up at all.
 
-The next logical step then would be to use the File -> Import option and select "Existing
Project into Workspace". This might work somehow, but it leaves the project where it is. In
other words, this is '''not''' a means to copy the extracted Cocoon source tree from a temporary
location where you unpacked it into your workspace. It rather is a means of '''referencing'''
a project outside the workspace. If you rely on keeping things together in your workspace(s)
this is not what you want, either.
+The next logical thought then would be to use the ''File'' -> ''Import'' option and select
''Existing Project into Workspace''. This might work somehow, but it leaves the project where
it is on the file system. In other words, this is '''not''' a means to copy the extracted
Cocoon source tree from a temporary location where you unpacked it into your workspace. It
rather is a means of '''referencing''' a project outside the workspace. If you rely on keeping
things together in your workspace(s) this is not what you want, either.
 
 The Cocoon build.xml file provides a target to create an Eclipse project (which means it
will create the .project and .classpath files that Eclipse expects) but Eclipse does not know
how about this target and will not call it no matter what import mechanism you use.
 
@@ -63,6 +63,9 @@
 
  * 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.
+
+[attachment:eclipse-cocoon-import-01.jpg]
+
  * 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}}}.
 

Mime
View raw message