logo       

[Cocoon Wiki] Updated: LoadInEclipse: msg#00079

Subject: [Cocoon Wiki] Updated: LoadInEclipse
   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}}}.
 



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe