ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject FW: PROBLEM TO COMPILE
Date Fri, 20 Apr 2001 06:33:15 GMT

I'm forwarding your mail to ant-dev since this is the place to discuss this
kind of dev problems.

Reason appears simple from what I can see, the code in Execute and Recorder
is not compilable (and runnable) using JDK 1.1. HashMap and Float.parseFloat
are since JDK 1.2

Cheers,

-- 
 St├ęphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - http://www.imediation.com 
 Disclaimer: All the opinions expressed above are mine and not those from my
company. 



-----Original Message-----
From: LI Rogelio Martinez Ramirez [mailto:remr@iie.org.mx]
Sent: Thursday, April 19, 2001 9:08 PM
To: sbailliez@imediation.com
Subject: PROBLEM TO COMPILE


hi. i try to compile ant over openBSD 2.8, but it can be possible,
i install jdk1.1.8
set up the enviroement
download ant sources by cvs

when i execute the comand:
 build.sh -Ddist.dir=/out dist

appear some errors,  what is the problem?


hope can you help me!!

i send you the output of compilation proccess.

:
i01725:/home/src/jakarta/jakarta-ant :>)   build.sh -Ddist.dir=/out dist

... Bootstrapping Ant Distribution
src/main/org/apache/tools/ant/taskdefs/Execute.java:203: Method
parseFloat(java.
lang.String) not found in class java.lang.Float.
                float version =
Float.parseFloat(System.getProperty("os.version"
));
                                                ^
src/main/org/apache/tools/ant/taskdefs/Recorder.java:96: Class
org.apache.tools.
ant.taskdefs.HashMap not found in type declaration.
    private static HashMap recorderEntries = new HashMap();
                                           ^
src/main/org/apache/tools/ant/taskdefs/Recorder.java:96: Class
org.apache.tools.
ant.taskdefs.HashMap not found in type declaration.
    private static HashMap recorderEntries = new HashMap();
                                                 ^
Note: 7 files use deprecated APIs.  Recompile with "-deprecation" for
details.
3 errors, 1 warning
... Copying Required Files
... Building Ant Distribution
Buildfile: build.xml

bootstrap:

prepare:

BUILD FAILED

/home/src/jakarta/jakarta-ant/build.xml:154: Could not create task of
type: tsta
mp. Common solutions are to use taskdef to declare your task, or, if
this is an
optional task, to put the optional.jar in the lib directory of your ant
installa
tion (ANT_HOME).

Total time: 3 seconds
... Cleaning Up Build Directories
chmod: bootstrap/bin/ant: No such file or directory
chmod: bootstrap/bin/antRun: No such file or directory
... Done Bootstrapping Ant Distribution
prueba de compilacion 2
build.sh[32]: bootstrap/bin/ant: not found
i01725:/home/src/jakarta/jakarta-ant :>)


Mime
View raw message