[jsword-devel] How do you use eclipse to run a default ANT task?

Stephen Denne jsword-devel@crosswire.org
Sat, 15 Mar 2003 00:29:58 +1300


> I need to document this in some way - you're not the first to ask. They
> are generated from the .xsd file. Just run the default ANT task and they
> will all be created for you

I'm new to eclipse too, and I'm using the bleeding edge releases... is
running ant tasks different with in eclipse 2.0? I'm forever asked which of
the ant tasks I would like to run, and the only one that works is
jsword-ant-clean. All the others complain of being unable to find javac.

eg jsword-ant-deploy

init:
        [echo] Building to: target/ant

xjc.check:

xjc:

compile:

compile.section:
        [echo] Compiling ./java/common
       [mkdir] Created dir: C:\jsword\target\ant\temp\classes\common
       [javac] Compiling 96 source files to
C:\jsword\target\ant\temp\classes\common
       [javac] BUILD FAILED: file:C:/jsword/build.xml:141: 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: 681 milliseconds

Stephen.
--
Datacute - Acute Information Revelation Tools
http://www.datacute.co.nz/