You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Gero Vermaas <Ge...@sun.com> on 2000/12/14 16:35:45 UTC
Nightly build: property task problem
Hi,
I downloaded the Nightly build of 2000/12/13 and when I run the build (that
did run without problems with the 1.2 distribution) I get the following
error:
Building ORCA for developers
Ant version 1.3alpha compiled on December 14 2000
Buildfile: d:\usr\DemoDevEnv\ant-build\build.xml
Detected Java Version: 1.2
Detected OS: Windows NT
Project base dir set to: D:\Usr\DemoDevEnv\ant-build
Build sequence for target `properties' is [init, prepare, compile, ejbc,
propert
ies]
Complete build sequence is [init, prepare, compile, ejbc, properties, test]
[property] Loading D:\usr\DemoDevEnv\ant-build\source_env.properties
BUILD FAILED
java.lang.NoSuchMethodError: org.apache.tools.ant.ProjectHelper: method
replaceP
roperties(Lorg/apache/tools/ant/Project;Ljava/lang/String;Ljava/util/Hashtab
le;)
Ljava/lang/String; not found
at
org.apache.tools.ant.taskdefs.Property.addProperties(Property.java, C
ompiled Code)
at
org.apache.tools.ant.taskdefs.Property.loadFile(Property.java:178)
at org.apache.tools.ant.taskdefs.Property.execute(Property.java:147)
at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
at org.apache.tools.ant.Project.runTarget(Project.java:819)
at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Cod
e)
at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Co
de)
at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
at org.apache.tools.ant.Main.main(Main.java:149)
Total time: 1 second
org.apache.tools.ant.ProjectHelper: method
replaceProperties(Lorg/apache/tools/a
nt/Project;Ljava/lang/String;Ljava/util/Hashtable;)Ljava/lang/String; not
found
Any ideas what I can do to solve this problem?
Regards,
Gero
Re: Nightly build: property task problem
Posted by Peter Donald <do...@apache.org>.
At 04:35 14/12/00 +0100, Gero Vermaas wrote:
>Hi,
>
>I downloaded the Nightly build of 2000/12/13 and when I run the build (that
>did run without problems with the 1.2 distribution) I get the following
>error:
Can you print out your classpath just before running ant? and also print
out value of ANT_HOME ?
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*