ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <>
Subject Re: Ant build problem URGENT!!!!!!
Date Fri, 20 Sep 2002 06:11:30 GMT
Naveen_JaiDayal wrote:
> Hello All

A couple of things to check. 

You said you were using Ant 1.5 but the message you show 

"Modern compiler is not available - using classic compiler"

comes from Ant 1.4.1. In Ant 1.5 it would say someting like

"Modern compiler not found - looking for classic compiler"

I'm not sure if the code changes in this area will affect your problem but it worth being
clear about the versions.

You could try running this build.xml file with -debug turned on

<project default="modern">
  <target name="modern">
    <typedef name="moderntest" classname=""/>
  <target name="classic">
    <typedef name="classictest" classname=""/>

If you try this with both 
   ant -debug modern
   ant -debug classic

it might give us some idea about what is going on. Note that the classic option will always
fail but the error message will change depending on whether the compiler is truly available.

Also, try clearing any java.exe  and javaw.exe you find in WINNT\System32


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message