ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: Bootstrap failure in CVS
Date Mon, 02 Jul 2001 10:45:00 GMT
Weiqi,

The build file will only build perforce code if the ORO library is around.
This is controlled by this line in the build.xml file
      <exclude name="${optional.package}/perforce/*.java"
unless="jakarta.oro.present" />

Now, that property is set by

    <available property="jakarta.oro.present"
               classname="org.apache.oro.text.regex.Perl5Matcher"
               classpathref="classpath" />

I have just bootstrapped against the latest ORO code and it went OK for me.
It is possible that you have a version of ORO which passes the available
check but fails to supply "org.apache.oro.text.perl.*", but I can't say for
sure. Can you please look into the version of ORO you have and whether you
have it all. Alternatively look for something which has some of the oro
classes. You may want to get the latest ORO.

Cheers
Conor


----- Original Message -----
From: "Weiqi Gao" <weiqigao@networkusa.net>
To: <ant-dev@jakarta.apache.org>
Sent: Monday, July 02, 2001 12:36 AM
Subject: Bootstrap failure in CVS


> Hi,
>
> I'm getting the following bootstrap failures from the jakarta-ant CVS:
>
> ==================================================================
> [weiqi@gao-2001 jakarta-ant]$ ./bootstrap.sh
> ... Bootstrapping Ant Distribution
> ... Compiling Ant Classes
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -deprecation for details.
> ... Copying Required Files
> ... Building Ant Distribution
> Buildfile: build.xml
>
> bootstrap:
>
> prepare:
>
> check_for_optional_packages:
>
> build:
> Compiling 99 source files to
> /home/weiqi/projects/jakarta-ant/build/classes
>
/home/weiqi/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/opt
ional/perforce/P4Base.java:65: package org.apache.oro.text.perl does not
exist
> import org.apache.oro.text.perl.*;
> ^
>
/home/weiqi/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/opt
ional/perforce/P4Base.java:82: cannot resolve symbol
> symbol  : class Perl5Util
> location: class org.apache.tools.ant.taskdefs.opt
> location: class org.apache.tools.ant.taskdefs.optional.perforce.P4Base
>     protected Perl5Util util = null;
>               ^
>
/home/weiqi/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/opt
ional/perforce/P4Base.java:113: cannot resolve symbol
> symbol  : class Perl5Util
> location: class org.apache.tools.ant.taskdefs.optional.perforce.P4Base
>         util = new Perl5Util();
>                    ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -deprecation for details.
> 3 errors
>
> BUILD FAILED
>
> /home/weiqi/projects/jakarta-ant/build.xml:179: Compile failed, messages
> should have been provided.
>
> Total time: 6 seconds
> ... Cleaning Up Build Directories
> chmod: bootstrap/bin/ant: No such file or directory
> chmod: bootstrap/bin/antRun: No such file or directory
> ... Done Bootstrapping Ant Distribution
> ==================================================================
>
> --
> Weiqi Gao
> weiqigao@networkusa.net
>
>


Mime
View raw message