You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Andrew C. Oliver" <ac...@apache.org> on 2002/11/09 05:09:59 UTC

No Such method

I grabbed the head and tried to use forrest....this is what happened. 
 Any thoughts?

java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)

Using classpath: 
"./lib/endorsed/xalan-2.3.1.jar;./lib/endorsed/xercesImpl-2.1.0
.jar;./lib/endorsed/xml-apis.jar;./lib/endorsed/xsltc-20020723.jar"
Buildfile: build.xml

init:

    --------------------------------------------------------------

      Using Apache Ant version 1.6alpha compiled on October 30 2002
      Build file /x1/home/acoliver/forrest/xml-forrest/build.xml
      Build system home /home/acoliver/forrest/xml-forrest/tools/ant
      Build number 2
      Project Name Forrest build file
      Java Version 1.3
      Timestamp 200211082003

    --------------------------------------------------------------


BUILD FAILED
java.lang.NoSuchMethodError
        at 
org.apache.tools.ant.taskdefs.XmlProperty.addNodeRecursively(XmlPrope
rty.java:185)
        at 
org.apache.tools.ant.taskdefs.XmlProperty.execute(XmlProperty.java:14
8)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1331)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1275)
        at org.apache.tools.ant.Main.runBuild(Main.java:614)
        at org.apache.tools.ant.Main.start(Main.java:197)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 1 second
java.lang.NoSuchMethodError
        at 
org.apache.tools.ant.taskdefs.XmlProperty.addNodeRecursively(XmlPrope
rty.java:185)
        at 
org.apache.tools.ant.taskdefs.XmlProperty.execute(XmlProperty.java:14
8)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1331)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1275)
        at org.apache.tools.ant.Main.runBuild(Main.java:614)
        at org.apache.tools.ant.Main.start(Main.java:197)
        at org.apache.tools.ant.Main.main(Main.java:235)
acoliver@daedalus-xml-forrest :ll


Re: No Such method

Posted by "Andrew C. Oliver" <ac...@apache.org>.
>
>
>Odd.. the script works with Ant 1.5 and Ant 1.6-dev compiled just 1 day
>before yours.  Try running ./build.sh, which uses the built-in Ant.
>  
>
I did.  look in daedalus under ~/acoliver/forrest.

>
>--Jeff
>
>  
>



Re: No Such method

Posted by Jeff Turner <je...@apache.org>.
On Fri, Nov 08, 2002 at 11:09:59PM -0500, Andrew C. Oliver wrote:
> I grabbed the head and tried to use forrest....this is what happened. 
> Any thoughts?
... 
>      Using Apache Ant version 1.6alpha compiled on October 30 2002
>      Build file /x1/home/acoliver/forrest/xml-forrest/build.xml
>      Build system home /home/acoliver/forrest/xml-forrest/tools/ant
>      Build number 2
>      Project Name Forrest build file
>      Java Version 1.3
>      Timestamp 200211082003
> 
>    --------------------------------------------------------------
> 
> 
> BUILD FAILED
> java.lang.NoSuchMethodError
>        at 
> org.apache.tools.ant.taskdefs.XmlProperty.addNodeRecursively(XmlPrope
> rty.java:185)
>        at 
> org.apache.tools.ant.taskdefs.XmlProperty.execute(XmlProperty.java:14
> 8)

Odd.. the script works with Ant 1.5 and Ant 1.6-dev compiled just 1 day
before yours.  Try running ./build.sh, which uses the built-in Ant.


--Jeff