I'm posting this here because i didn't see any other contact info for
the ant-contrib folks, and the bugs opened via the sf.net project page
are all old, so i thought i'd give this list a try.

The current version of ForEach.java in CVS is broken. When i try to
build it, i get these errors:

Buildfile: build.xml

all:

jar:

build_dirs:

build_contrib_jar:
    [javac] Compiling 4 source files to
/home/tyler/src/ant-contrib/classes
    [javac]
/home/tyler/src/ant-contrib/src/net/sf/antcontrib/logic/ForEach.java:259:
cannot
resolve symbol
    [javac] symbol  : method getPrefix  ()
    [javac] location: class org.apache.tools.ant.taskdefs.Property
    [javac]             if (param.getPrefix() != null) {
    [javac]                      ^
    [javac]
/home/tyler/src/ant-contrib/src/net/sf/antcontrib/logic/ForEach.java:260:
cannot
resolve symbol
    [javac] symbol  : method getPrefix  ()
    [javac] location: class org.apache.tools.ant.taskdefs.Property
    [javac]                 toSet.setPrefix(param.getPrefix());
    [javac]                                      ^
    [javac]
/home/tyler/src/ant-contrib/src/net/sf/antcontrib/logic/ForEach.java:268:
cannot
resolve symbol
    [javac] symbol  : method getClasspath  ()
    [javac] location: class org.apache.tools.ant.taskdefs.Property
    [javac]             if (param.getClasspath() != null) {
    [javac]                      ^
    [javac]
/home/tyler/src/ant-contrib/src/net/sf/antcontrib/logic/ForEach.java:269:
cannot
resolve symbol
    [javac] symbol  : method getClasspath  ()
    [javac] location: class org.apache.tools.ant.taskdefs.Property
    [javac]                 toSet.setClasspath(param.getClasspath());
    [javac]                                         ^
    [javac] 4 errors

BUILD FAILED
/home/tyler/src/ant-contrib/build.xml:132: Compile failed; see the
compiler
error output for details.

Total time: 4 seconds

[tyler@fnord ~/src/cpdemos]$ ant -version
Apache Ant version 1.5Beta1 compiled on May 26 2002

[tyler@fnord ~/src/cpdemos]$ java -version
java version "1.4.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)


The broken code was added in the last revision. The jar builds just fine
if i revert ForEach.java back to cvs version 1.3 (that's cvs update
-r1.3 ForEach.java in the appropriate directory, if anyone else is
having this problem). I can't find references to getClasspath or
getParam anywhere else. Am i missing something?

Please CC me on replies, as i'm not on the list.

tyler

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to