ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Perkonigg <michael.perkon...@liland.at>
Subject can't compile ant
Date Tue, 11 Apr 2006 11:06:03 GMT
Hello,

I'm trying to install ant from source and if I call build.sh it alwas 
gives me errors from the optional tasks.
I thought that optional tasks aren't compiled if there are missing 
dependencies?
I tried to install the jakarta-oro-2.0.8.jar file (which contains the 
Perl5Util class) into the lib directory but it didn't change anything.

Thanks,
Mike


The output:


... 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:
Created dir: /home/mipe/svntest/ant2/apache-ant-1.6.5/build/lib
Compiling 243 source files to 
/home/mipe/svntest/ant2/apache-ant-1.6.5/build/classes
/home/mipe/svntest/ant2/apache-ant-1.6.5/src/main/org/apache/tools/ant/taskdefs/optional/perforce/FStatP4OutputHandler.java:20:

package org.apache.oro.text.perl does not exist
import org.apache.oro.text.perl.Perl5Util;
                                ^
/home/mipe/svntest/ant2/apache-ant-1.6.5/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Base.java:26:

package org.apache.oro.text.perl does not exist
import org.apache.oro.text.perl.Perl5Util;
                                ^
/home/mipe/svntest/ant2/apache-ant-1.6.5/src/main/org/apache/tools/ant/taskdefs/optional/perforce/FStatP4OutputHandler.java:34:

cannot resolve symbol
symbol  : class Perl5Util
location: class 
org.apache.tools.ant.taskdefs.optional.perforce.FStatP4OutputHandler
    private static Perl5Util util = new Perl5Util();
                   ^
/home/mipe/svntest/ant2/apache-ant-1.6.5/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Base.java:46:

cannot resolve symbol
symbol  : class Perl5Util
location: class org.apache.tools.ant.taskdefs.optional.perforce.P4Base
    protected Perl5Util util = null;
              ^
/home/mipe/svntest/ant2/apache-ant-1.6.5/src/main/org/apache/tools/ant/taskdefs/optional/perforce/FStatP4OutputHandler.java:34:

cannot resolve symbol
symbol  : class Perl5Util
location: class 
org.apache.tools.ant.taskdefs.optional.perforce.FStatP4OutputHandler
    private static Perl5Util util = new Perl5Util();
                                        ^
/home/mipe/svntest/ant2/apache-ant-1.6.5/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Base.java:203:

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.
6 errors

BUILD FAILED
/home/mipe/svntest/ant2/apache-ant-1.6.5/build.xml:1042: The following 
error occurred while executing this line:
/home/mipe/svntest/ant2/apache-ant-1.6.5/build.xml:606: Compile failed; 
see the compiler error output for details.

Total time: 7 seconds
... Failed Building Ant Distribution !
Bootstrap FAILED


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message