[opencms-dev] Re: Using Eclipse to build openCMS
Mariano Barcia
mariano.barcia at colaborativa.net
Wed Jun 2 02:57:01 CEST 2004
Sam,
Try adding to add this to the build.xml script
<property name="build.compiler"
value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
--mariano
-----Mensaje original-----
De: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
En nombre de Sam Mesh
Enviado el: Martes, 01 de Junio de 2004 09:37 p.m.
Para: opencms-dev at opencms.com
Asunto: [opencms-dev] Re: Using Eclipse to build openCMS
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
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list