> -----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]

Reply via email to