ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugo Garcia <hugo.gar...@mail.office.com>
Subject Trying to bootstrap Ant for compiling
Date Wed, 24 Jan 2001 21:11:13 GMT

Hello

This is my classpath :

echo $CLASSPATH
.:/export/home1/hgarcia/bin/Netscape/java/classes/java40.jar:/expo
rt/home3/voadmin/lib/jakarta-oro-2.0.1/jakarta-oro-2.0.1.jar:/expo
rt/home3/voadmin/lib/NetComponents-1.3.8a/NetComponents.jar:/expor
t/home3/voadmin/lib/xerces-1_2_3/xerces.jar:/export/home3/voadmin/
lib/xalan-j_1_2_2/xalan.jar:/export/home3/voadmin/lib/junit3.5/src
.jar:/export/home3/voadmin/lib/junit3.5/junit.jar:/export/home3/vo
admin/lib/j2eeunit-22-0.5.jar

When I type $ bootstrap.sh I get the following output :

officedev:/export/home3/voadmin/temp[161]$ bootstrap.sh
... Bootstrapping Ant Distribution
... Compiling Ant Classes
... Copying Required Files
... Building Ant Distribution
Searching for build.xml ...
Buildfile: /export/home3/voadmin/temp/build.xml

clean:

prepare:
    [mkdir] Created dir: /export/home3/voadmin/build/ant

check_for_optional_packages:

compile:
    [mkdir] Created dir: /export/home3/voadmin/build/ant/classes
    [javac] Compiling 132 source files to
/export/home3/voadmin/build/ant/classes
    [javac]
/export/home3/voadmin/temp/src/main/org/apache/tools/ant/taskdefs/
optional/junit/PlainJUnitResultFormatter.java:71: class
org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultForma
tter must be declared abstract. It does not define void
addFailure(junit.framework.Test,
junit.framework.AssertionFailedError) from interface
junit.framework.TestListener.
    [javac] public class PlainJUnitResultFormatter implements
JUnitResultFormatter {
    [javac]              ^
    [javac]
/export/home3/voadmin/temp/src/main/org/apache/tools/ant/taskdefs/
optional/junit/SummaryJUnitResultFormatter.java:70: class
org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFor
matter must be declared abstract. It does not define void
addFailure(junit.framework.Test,
junit.framework.AssertionFailedError) from interface
junit.framework.TestListener.
    [javac] public class SummaryJUnitResultFormatter implements
JUnitResultFormatter {
    [javac]              ^
    [javac]
/export/home3/voadmin/temp/src/main/org/apache/tools/ant/taskdefs/
optional/junit/JUnitTestRunner.java:81: class
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner must
be declared abstract. It does not define void
addFailure(junit.framework.Test,
junit.framework.AssertionFailedError) from interface
junit.framework.TestListener.
    [javac] public class JUnitTestRunner implements TestListener {
    [javac]              ^
    [javac]
/export/home3/voadmin/temp/src/main/org/apache/tools/ant/taskdefs/
optional/junit/JUnitTestRunner.java:324: class
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner is an
abstract class. It can't be instantiated.
    [javac]         JUnitTestRunner runner = new
JUnitTestRunner(t, haltError, haltFail);
    [javac]                                  ^
    [javac]
/export/home3/voadmin/temp/src/main/org/apache/tools/ant/taskdefs/
optional/junit/JUnitTask.java:231: class
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner is an
abstract class. It can't be instantiated.
    [javac]                     runner = new JUnitTestRunner(test,
test.getHaltonerror(),
    [javac]                              ^
    [javac]
/export/home3/voadmin/temp/src/main/org/apache/tools/ant/taskdefs/
optional/junit/JUnitTask.java:234: class
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner is an
abstract class. It can't be instantiated.
    [javac]                     runner = new JUnitTestRunner(test,
test.getHaltonerror(),
    [javac]                              ^
    [javac]
/export/home3/voadmin/temp/src/main/org/apache/tools/ant/taskdefs/
optional/junit/JUnitTask.java:242: class
org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFor
matter is an abstract class. It can't be instantiated.
    [javac]                         new
SummaryJUnitResultFormatter();
    [javac]                         ^
    [javac]
/export/home3/voadmin/temp/src/main/org/apache/tools/ant/taskdefs/
optional/junit/XMLJUnitResultFormatter.java:75: class
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatt
er must be declared abstract. It does not define void
addFailure(junit.framework.Test,
junit.framework.AssertionFailedError) from interface
junit.framework.TestListener.
    [javac] public class XMLJUnitResultFormatter implements
JUnitResultFormatter {
    [javac]              ^
    [javac] 8 errors

BUILD FAILED


________________________

Can anyone tell me what I am doing wrong?

thanks

-H


Mime
View raw message