You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Gl...@ansett.com.au on 2000/07/14 04:40:30 UTC

Ant does not compile under 1.1



Does ant only run with Java 2?  I was compiling with 1.1 and got the following
error:

    [mkdir] Created dir: R:\webtechnologies\bin\build\ant\classes
    [javac] Compiling 69 source files to R:\webtechnologies\bin\build\ant\classe
s
    [javac] R:\webtechnologies\bin\jakarta-ant\src\main\org\apache\tools\ant\tas
kdefs\AntStructure.java:111: Method add(java.lang.String) not found in class jav
a.util.Vector.
    [javac]                 tasks.add(taskName);
    [javac]                          ^
    [javac] Note: 3 files use deprecated APIs.  Recompile with "-deprecation" fo
r details.
    [javac] 1 error, 1 warning

BUILD FAILED


-- Glen




_____________________________________________________________________
CAUTION - This message may contain privileged and confidential 
information intended only for the use of the addressee named above.
If you are not the intended recipient of this message you are hereby 
notified that any use, dissemination, distribution or reproduction 
of this message is prohibited. If you have received this message in 
error please notify Ansett Australia immediately. Any views expressed 
in this message are those of the individual sender and may not 
necessarily reflect the views of Ansett Australia.

ABN Ansett Australia Ltd	37 004 209 410
ABN Ansett International Ltd	72 060 622 460
_____________________________________________________________________