I downloaded ant-1.8.1 trying to build it in fedora o.s I have junit*jar in my CLASSPATH.
when i do <ANT_HOME>/ build.sh install-lite gives the following error build: Created dir: /home/rvara/Desktop/apache-ant-1.8.1/build/lib Compiling 249 source files to /home/rvara/Desktop/apache-ant-1.8.1/build/classes /home/rvara/Desktop/apache-ant-1.8.1/src/main/org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.java:27: package junit.framework does not exist import junit.framework.AssertionFailedError; ^ /home/rvara/Desktop/apache-ant-1.8.1/src/main/org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.java:28: package junit.framework does not exist import junit.framework.Test; ^ /home/rvara/Desktop/apache-ant-1.8.1/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.java:22: package junit.framework does not exist import junit.framework.TestListener; ^ /home/rvara/Desktop/apache-ant-1.8.1/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.java:31: cannot find symbol symbol: class TestListener extends TestListener, JUnitTaskMirror.JUnitResultFormatterMirror { ^ . . . . . . . . ^ /home/rvara/Desktop/apache-ant-1.8.1/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java:50: cannot find symbol symbol : class TestCase location: class org.apache.tools.ant.taskdefs.optional.junit.JUnitVersionHelper testCaseName = TestCase.class.getMethod("name", new Class[0]); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 100 errors BUILD FAILED /home/rvara/Desktop/apache-ant-1.8.1/build.xml:987: The following error occurred while executing this line: /home/rvara/Desktop/apache-ant-1.8.1/build.xml:524: Compile failed; see the compiler error output for details. Total time: 8 seconds ... Failed Building Ant Distribution ! Bootstrap FAILED can any body help me in resolving this --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org