ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@apache.org>
Subject Bootstrap error on FreeBSD
Date Thu, 04 Apr 2002 00:59:27 GMT
Hi,
I get the following error when bootstrapping Ant on FreeBSD 4.5-STABLE using
FreeBSD's JDK 1.1.8:

Exception javax.xml.parsers.FactoryConfigurationError can't be thrown in
initializer.
    protected final static DocumentBuilderFactory dbfactory =
DocumentBuilderFactory.newInstance();

^

Anybody else noticed this?

Here is the complete log:

> ./bootstrap.sh
... Bootstrapping Ant Distribution
... Compiling Ant Classes
Note: 12 files use deprecated APIs.  Recompile with "-deprecation" for
details.
1 warning
... Copying Required Files
... Building Ant Distribution
Buildfile: build.xml

bootstrap:

prepare:

check_for_optional_packages:

build:
Created dir: /x1/home/umagesh/jakarta-ant/build/lib
Compiling 111 source files to /x1/home/umagesh/jakarta-ant/build/classes
/x1/home/umagesh/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional
/junit/AggregateTransformer.java:120: Exception
javax.xml.parsers.FactoryConfigurationError can't be thrown in initializer.
    protected final static DocumentBuilderFactory dbfactory =
DocumentBuilderFactory.newInstance();

^
Note: 4 files use deprecated APIs.  Recompile with "-deprecation" for
details.
1 error, 1 warning

BUILD FAILED
/x1/home/umagesh/jakarta-ant/build.xml:480: Compile failed; see the compiler
error output for details.

Total time: 32 seconds
... Failed Building Ant Distribution !

Cheers,
Magesh



--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message