ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Madigan" <...@madigans.org>
Subject HELP! ant 1.6.2
Date Thu, 10 Mar 2005 03:40:07 GMT
I have a project that has worked for almost forever.  I just moved to ant
1.6.2 and I get a strange error.

If I run ant -diagnostic everything seems ok.  I am missing junit stuff and
something else, but not likely to be the problem.

On my class path I have only JAVA_HOME

I have taken stuff out of my build file till I could isolate the problem:


<project name="system" default="project" basedir=".">

  <property file="build.properties"/>

  <target name="project">
  </target>

</project>

The property file with one line in it, no lines or many lines cause the same
problem

deploy.server=lucky

The error I get is:

Buildfile: build.xml

BUILD FAILED
java.lang.NoSuchMethodError:
org.apache.tools.ant.RuntimeConfigurable.setAttribute(Ljava/lang/String;Ljav
a/lang/String;)V
	at
org.apache.tools.ant.helper.ProjectHelper2$ElementHandler.onStartElement(Pro
jectHelper2.java:975)
	at
org.apache.tools.ant.helper.ProjectHelper2$RootHandler.startElement(ProjectH
elper2.java:452)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:208)
	at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:131)
	at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
	at org.apache.tools.ant.Main.runBuild(Main.java:658)
	at org.apache.tools.ant.Main.startAnt(Main.java:188)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

Total time: 0 seconds
java.lang.NoSuchMethodError:
org.apache.tools.ant.RuntimeConfigurable.setAttribute(Ljava/lang/String;Ljav
a/lang/String;)V
	at
org.apache.tools.ant.helper.ProjectHelper2$ElementHandler.onStartElement(Pro
jectHelper2.java:975)
	at
org.apache.tools.ant.helper.ProjectHelper2$RootHandler.startElement(ProjectH
elper2.java:452)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:208)
	at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:131)
	at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
	at org.apache.tools.ant.Main.runBuild(Main.java:658)
	at org.apache.tools.ant.Main.startAnt(Main.java:188)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
org.apache.tools.ant.RuntimeConfigurable.setAttribute(Ljava/lang/String;Ljav
a/lang/String;)V


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


Mime
View raw message