ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T J Morgan" <tmor...@cinci.rr.com>
Subject Ant binary
Date Fri, 13 Apr 2001 05:15:21 GMT

I downloaded the ant source file version 1.3 from jakarta's site today and
ran 'build install' from the command line.  I was told that this would build
me the binary version.  I didn't get a bin directory and I keep getting
errors building ie:
****************************************************************************
************************
D:\jakarta-ant-1.3>build install

... Bootstrapping Ant Distribution
JAVA_HOME=D:\VisualCafeEE\Java2
JAVA=D:\VisualCafeEE\Java2\bin\java
JAVAC=D:\VisualCafeEE\Java2\bin\javac
CLASSPATH=D:\VisualCafeEE\Java2\lib\tools.jar;lib\parser.jar;lib\jaxp.jar;li
b\op
tional\junit.jar;classes;src\main;

... Compiling Ant Classes
WebGain Java! JustInTime Compiler Version 4.00.007(x) for JDK 1.2
Copyright (C) 2000 WebGain, Inc.

src\main\org\apache\tools\ant\taskdefs\Javac.java:62: Package
org.apache.tools.a
nt.taskdefs.compilers not found in import.
import org.apache.tools.ant.taskdefs.compilers.*;
       ^
src\main\org\apache\tools\ant\taskdefs\SendEmail.java:59: Class
org.apache.tools
.mail.MailMessage not found in import.
import org.apache.tools.mail.MailMessage;
       ^
src\main\org\apache\tools\ant\taskdefs\Rmic.java:252: Class
sun.rmi.rmic.Main no
t found.
        sun.rmi.rmic.Main compiler = new sun.rmi.rmic.Main(logstr, "rmic");
                    ^
src\main\org\apache\tools\ant\taskdefs\Rmic.java:252: Class
sun.rmi.rmic.Main no
t found.
        sun.rmi.rmic.Main compiler = new sun.rmi.rmic.Main(logstr, "rmic");
                                                     ^
4 errors

... Copying Required Files
src\main\org\apache\tools\ant\taskdefs\defaults.properties
        1 file(s) copied.
src\main\org\apache\tools\ant\types\defaults.properties
        1 file(s) copied.

... Building Ant Distribution
171 File(s) copied
WebGain Java! JustInTime Compiler Version 4.00.007(x) for JDK 1.2
Copyright (C) 2000 WebGain, Inc.

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/
Main

... Cleaning Up Build Directories

... Done Bootstrapping Ant Distribution
The system cannot find the path specified.
****************************************************************************
*******************

I need to learn to do this as I want to add some of my own taskdefs.  Can
anyone help?
Thanks

Todd Morgan





Mime
View raw message