[opencms-dev] Re: Using Eclipse to build openCMS
Sam Mesh
smesh at openrules.com
Wed Jun 2 02:38:01 CEST 2004
Michael Goodwin wrote:
>>Checked out CMS from CVS int Eclipse.
>>
>>What further? How to build it?
>
> If you just want to build and not look at/modify the code then just check
> out opencms as a simple project, and then execute the appropriate ant task
> (by right clicking on the ant build file I think)
> If you have it as a java project, then you may want to get eclipse and ant
> (I modified the build.xml) compiling to the same folder then you can avoid
> ant recompiling everything when you make the jars.
>
First my try to build 'clean,compile' - any advises? Thanks.
> Buildfile: C:\DEV\eclipse-SDK-3.0M8-IRS\workspace\opencms\build.xml
> clean:
> [delete] Deleting directory C:\DEV\eclipse-SDK-3.0M8-IRS\workspace\build\classes-core
> [delete] Deleting directory C:\DEV\eclipse-SDK-3.0M8-IRS\workspace\build
> init:
> [echo] Building OpenCms 5.3.5 (Ix)
> [echo] OpenCms input directory is: C:\DEV\eclipse-SDK-3.0M8-IRS\workspace\opencms
> [echo] OpenCms output directory is: C:\DEV\eclipse-SDK-3.0M8-IRS\workspace
> [echo] Java version detected: 1.4
> [echo] Tomcat home is: ${tomcat.home}
> [echo] Excluding from build: org/opencms/db/oracle/**
> checklibs:
> compile:
> [mkdir] Created dir: C:\DEV\eclipse-SDK-3.0M8-IRS\workspace\build\classes-core
> [javac] Compiling 537 source files to C:\DEV\eclipse-SDK-3.0M8-IRS\workspace\build\classes-core
> BUILD FAILED: C:\DEV\eclipse-SDK-3.0M8-IRS\workspace\opencms\build.xml:219: Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK
> Total time: 2 seconds
--
Sam Mesh - http://openrules.com
More information about the opencms-dev
mailing list