Thanks very much! The two keys seemed to be: 1. Putting the entire distribution underneath C:\eclipse\workspace\jetspeed-1.4 (I had started with that approach, but got confused, and then was trying to do it from c:\jetspeed-1.4). 2. Setting the src and output folders the way you suggested.
That allows me to build with the default Eclipse "build project" and Ant works fine too. Thanks again for your assistance! RB Twenty Years | One Mission | Accelerating Business Processes Richard Berger Action Technologies, Inc. VP, Product Management 510.748.1017 (Office) 510.769.0596 (Fax) www.actiontech.com NOTE: The opinions expressed herein are those of the writer and not necessarily those of Action Technologies, Inc. or its employees or its affiliates. -----Original Message----- From: Holger Dewes [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 1:04 AM To: 'Jetspeed Users List' Subject: RE: Building Jetspeed 1.4 from within Eclipse... > -----Original Message----- > From: Richard Berger [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 10, 2004 4:56 PM > To: [EMAIL PROTECTED] > Subject: Building Jetspeed 1.4 from within Eclipse... > > > Sorry for this basic question - I have seen the posts that say it can > be done - and I have kinda made it work, but I am sure I have done it > the wrong way - as I seem to be struggling at every step. > > There is a post that says: > > > > Itz very easy. Just import jetspeed project in Eclipse workspace > > and point your build/build.xml as Build file for your external ant. > > Also change the build file to copy the war in your tomcat > > directory. > > > > Hope this helps you. > > > > ~suchi > > So I download/unzip the source to c:\jetspeed-1.4 and then try to > import that as a project into Eclipse. It fails for the lack of a > .project file. Yes, you can only "import" existing projects. For jetspeed, you have to create an new project by doing "File > New > Project". Eclipse then looks at the directory and proposes src and output directories. src/java should be a src folder and bin/classes the output folder. This is my .classpath: <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src/java"/> <classpathentry kind="lib" path="lib/ecs-1.4.1.jar"/> <classpathentry kind="lib" path="lib/village-2.0-dev-20030625.jar"/> <classpathentry kind="lib" path="lib/commons-pool-1.0.jar"/> <classpathentry kind="lib" path="lib/torque-3.0.jar"/> <classpathentry kind="lib" path="lib/commons-beanutils-1.4.1.jar"/> <classpathentry kind="lib" path="lib/jndi-1.2.1.jar"/> <classpathentry kind="lib" path="lib/velocity-1.3.jar"/> <classpathentry kind="lib" path="lib/hsqldb.jar"/> <classpathentry kind="lib" path="lib/xml-apis.jar"/> <classpathentry kind="lib" path="lib/xerces-2.0.2.jar"/> <classpathentry kind="lib" path="lib/fulcrum-3.0-b2-dev.jar"/> <classpathentry kind="lib" path="lib/castor-0.9.3.jar"/> <classpathentry kind="lib" path="lib/jdbc-se2.0.jar"/> <classpathentry kind="lib" path="lib/soap.jar"/> <classpathentry kind="lib" path="lib/jcs-1.0-dev.jar"/> <classpathentry kind="lib" path="lib/stratum-1.0-b4-dev.jar"/> <classpathentry kind="lib" path="lib/turbine-2.2.jar"/> <classpathentry kind="lib" path="lib/xalan-2.3.1.jar"/> <classpathentry kind="lib" path="lib/commons-logging-1.0.2.jar"/> <classpathentry kind="lib" path="lib/jakarta-oro-2.0.6.jar"/> <classpathentry kind="lib" path="lib/uddi4j.jar"/> <classpathentry kind="lib" path="lib/commons-httpclient-1.0.jar"/> <classpathentry kind="lib" path="lib/jakarta-regexp-1.2.jar"/> <classpathentry kind="lib" path="lib/servlet_2_2.jar"/> <classpathentry kind="lib" path="lib/activation-1.0.1.jar"/> <classpathentry kind="lib" path="lib/commons-configuration-1.0-dev.jar"/> <classpathentry kind="lib" path="lib/commons-lang-1.0.jar"/> <classpathentry kind="lib" path="lib/commons-dbcp-1.0-dev-20020806.jar"/> <classpathentry kind="lib" path="lib/javamail-1.2.jar"/> <classpathentry kind="lib" path="lib/ojb-0.7.343.jar"/> <classpathentry kind="lib" path="lib/log4j-1.2.8.jar"/> <classpathentry kind="lib" path="lib/jaxp-api.jar"/> <classpathentry kind="lib" path="build/lib/xercesImpl.jar"/> <classpathentry kind="lib" path="lib/lucene-1.3-rc1.jar"/> <classpathentry kind="lib" path="lib/commons-collections-2.0.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path="build/lib/junit.jar"/> <classpathentry kind="lib" path="build/lib/cactus-22-1.2.jar"/> <classpathentry kind="lib" path="build/lib/cactus-23-1.2.jar"/> <classpathentry kind="lib" path="build/lib/ant-1.5.jar"/> <classpathentry kind="lib" path="build/lib/ant-1.5-optional.jar"/> <classpathentry kind="lib" path="build/lib/cactus-ant-1.2.jar"/> <classpathentry kind="output" path="bin/classes"/> </classpath> I don't know if this way you can build with ant using Eclipse, I always do that outside of Eclipse. But I really don't see why it shouldn't work. HTH -- Holger Dewes --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
