ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yeu Wen Mak" <ma...@mailcityasia.com>
Subject Ant1.1 - build errors
Date Fri, 13 Oct 2000 07:15:58 GMT
Hi,

I was trying to build Ant 1.1 (obtained from http://jakarta.apache.org/builds/ant/release/v1.1/src/)
from source. The following error messages are displayed. Anyone has encountered this before
?

C:\jakarta-ant>build

... Bootstrapping Ant Distribution
JAVA_HOME=c:\jdk1.2.2
JAVA=c:\jdk1.2.2\bin\java
JAVAC=c:\jdk1.2.2\bin\javac
CLASSPATH=;;lib\jaxp.jar;lib\parser.jar;c:\jdk1.2.2\lib\tools.jar;classes;src\ma
in

... Compiling Ant Classes
Note: src\main\org\apache\tools\ant\ProjectHelper.java uses or overrides a depre
cated API.  Recompile with "-deprecation" for details.
1 warning

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

... Building Ant Distribution
Buildfile: build.xml

BUILD FAILED

javax.xml.parsers.FactoryConfigurationError: com.sun.xml.parser.SAXParserFactoryImpl
        at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:84)
        at org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHelper.java:498)
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:100)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:107)

Total time: 0 seconds

... Cleaning Up Build Directories

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


Get your FREE Email at http://www.mailcityasia.com

Mime
View raw message