Make sure ANT_HOME is set to installed location of ANT
$ANT_HOME/bin is on your path
make sure JAVA_HOME is set to installed location og JDK
then..
set environment variable ANT_OPTS
= -Dbuild.compiler=com.sun.tools.javac.Main
if that doesnt work not why not use jikes ?
compiler can be obtained at http://www-124.ibm.com/developerworks/oss/jikes/
ANT_OPTS = -Dbuild.compiler=jikes
Martin-

----- Original Message -----
From: "Sebastian Redl" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Saturday, October 16, 2004 10:36 AM
Subject: Re: Ant 1.6.2 failing to bootstrap


> Laconia Data Systems wrote:
>
> >Sounds like you have an adapter missing..this solution works when
compiling
> >ANT scripts within Eclipse:
> >add the following property before compiling:
> ><property name="build.compiler"
> >value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
> >Martin-
> >
> >
> I don't think so. It's attempting to use the standard compiler, and the
> line that fails in CompilerAdapterFactory.java is just:
> Class.forName(MODERN_COMPILER);
> where MODERN_COMPILER is defined to be "com.sun.tools.javac.Main".
>
> Besides, modifying build files is not an option. This problem occurs
> with every project that uses Ant, including Ant itself.
>
> Sebastian Redl
>
> ---------------------------------------------------------------------
> 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]

Reply via email to