ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Madigan" <...@madigans.org>
Subject RE: HELP! ant 1.6.2
Date Thu, 10 Mar 2005 14:53:28 GMT
Yep - meakin.jar had it.  It is an old ant task to perform ForEach!

Now I have to find the source code to it to change it.

Thanks so much!

-----Original Message-----
From: Peter Reilly [mailto:peterreilly@apache.org]
Sent: Thursday, March 10, 2005 6:58 AM
To: Ant Users List
Subject: Re: HELP! ant 1.6.2


This does look ok.
The error you are getting is that the method RuntimeConfigurable(String,
String)
does node exist.
This did not exist in ant 1.5.* and does in ant 1.6.*, so
it looks like you are picking up an old copy of the RuntimeConfigurable
class.

Do a jar tf on

meakin.jar and xrmant.jar to see if they contain a copy of
RuntimeConfigurable

Peter


Ray Madigan wrote:

>------- Ant diagnostics report -------
>Apache Ant version 1.6.2 compiled on July 16 2004
>
>-------------------------------------------
> Implementation Version (JDK1.2+ only)
>-------------------------------------------
>core tasks     : 1.6.2
>optional tasks : 1.6.2
>
>-------------------------------------------
> ANT_HOME/lib jar listing
>-------------------------------------------
>ant.home: /usr/local/apache-ant-1.6.2
>ant-jai.jar (21351 bytes)
>ant-antlr.jar (5659 bytes)
>ant-starteam.jar (35463 bytes)
>ant-icontract.jar (9713 bytes)
>ant-jdepend.jar (8152 bytes)
>ant-apache-oro.jar (48015 bytes)
>ant-trax.jar (68833 bytes)
>ant-apache-regexp.jar (3706 bytes)
>meakin.jar (8182 bytes)
>ant-jmf.jar (6596 bytes)
>ant-jsch.jar (22604 bytes)
>ant-apache-bsf.jar (12589 bytes)
>ant-netrexx.jar (9990 bytes)
>ant-swing.jar (6755 bytes)
>xrmant.jar (69702 bytes)
>xercesImpl.jar (1010675 bytes)
>ant-apache-bcel.jar (8609 bytes)
>ant-stylebook.jar (2320 bytes)
>ant-javamail.jar (6753 bytes)
>ant-junit.jar (73665 bytes)
>ant-xalan1.jar (4457 bytes)
>ant-commons-net.jar (35242 bytes)
>ant-commons-logging.jar (3856 bytes)
>ant-contrib-1.0b1.jar (169283 bytes)
>ant-weblogic.jar (14355 bytes)
>ant-apache-log4j.jar (3014 bytes)
>ant.jar (999966 bytes)
>xml-apis.jar (124724 bytes)
>ant-vaj.jar (48623 bytes)
>ant-xslp.jar (2236 bytes)
>ant-nodeps.jar (407573 bytes)
>ant-launcher.jar (8673 bytes)
>ant-apache-resolver.jar (4073 bytes)
>
>-------------------------------------------
> Tasks availability
>-------------------------------------------
>image : Missing dependency com.sun.media.jai.codec.FileSeekableStream
>sshexec : Missing dependency com.jcraft.jsch.UserInfo
>scp : Missing dependency com.jcraft.jsch.UserInfo
>cvsversion : Not Available
>jdepend : Missing dependency jdepend.xmlui.JDepend
>junit : Missing dependency junit.framework.Test
>
>-------------------------------------------
> org.apache.env.Which diagnostics
>-------------------------------------------
>Not available.
>Download it at http://xml.apache.org/commons/
>
>-------------------------------------------
> XML Parser information
>-------------------------------------------
>XML Parser : org.apache.xerces.jaxp.SAXParserImpl
>XML Parser Location: /usr/local/apache-ant-1.6.2/lib/xercesImpl.jar
>
>-------------------------------------------
> System properties
>-------------------------------------------
>java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition
>sun.boot.library.path : /usr/local/j2sdk1.4.0_01/jre/lib/i386
>java.vm.version : 1.4.0_01-b03
>ant.library.dir : /usr/local/apache-ant-1.6.2/lib
>java.vm.vendor : Sun Microsystems Inc.
>java.vendor.url : http://java.sun.com/
>path.separator : :
>java.vm.name : Java HotSpot(TM) Client VM
>file.encoding.pkg : sun.io
>user.country : US
>sun.os.patch.level : unknown
>java.vm.specification.name : Java Virtual Machine Specification
>user.dir : /aws
>java.runtime.version : 1.4.0_01-b03
>java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment
>java.endorsed.dirs : /usr/local/j2sdk1.4.0_01/jre/lib/endorsed
>os.arch : i386
>java.io.tmpdir : /tmp
>line.separator :
>
>java.vm.specification.vendor : Sun Microsystems Inc.
>os.name : Linux
>ant.home : /usr/local/apache-ant-1.6.2
>sun.java2d.fontpath :
>java.library.path :
>/usr/local/j2sdk1.4.0_01/jre/lib/i386/client:/usr/local/j2sdk1.4.0_01/jre/l
i
>b/i386:/usr/local/j2sdk1.4.0_01/jre/../lib/i386
>java.specification.name : Java Platform API Specification
>java.class.version : 48.0
>java.util.prefs.PreferencesFactory :
>java.util.prefs.FileSystemPreferencesFactory
>os.version : 2.6.4-52-default
>user.home : /home/aws
>user.timezone : US/Pacific
>java.awt.printerjob : sun.print.PSPrinterJob
>file.encoding : UTF-8
>java.specification.version : 1.4
>java.class.path :
>/usr/local/apache-ant-1.6.2/lib/ant-launcher.jar:/usr/local/j2sdk1.4.0_01/j
r
>e/lib/jsse.jar:/usr/local/j2sdk1.4.0_01/jre/lib/sunrsasign.jar:/usr/local/j
2
>sdk1.4.0_01/jre/lib/charsets.jar:/usr/local/j2sdk1.4.0_01/jre/lib/javaplugi
n
>.jar:/usr/local/j2sdk1.4.0_01/jre/lib/rt.jar:/usr/local/j2sdk1.4.0_01/jre/l
i
>b/jce.jar:/usr/local/j2sdk1.4.0_01/jre/lib/:/usr/local/apache-ant-1.6.2/lib
/
>ant-jai.jar:/usr/local/apache-ant-1.6.2/lib/ant-antlr.jar:/usr/local/apache
-
>ant-1.6.2/lib/ant-starteam.jar:/usr/local/apache-ant-1.6.2/lib/ant-icontrac
t
>.jar:/usr/local/apache-ant-1.6.2/lib/ant-jdepend.jar:/usr/local/apache-ant-
1
>.6.2/lib/ant-apache-oro.jar:/usr/local/apache-ant-1.6.2/lib/ant-trax.jar:/u
s
>r/local/apache-ant-1.6.2/lib/ant-apache-regexp.jar:/usr/local/apache-ant-1.
6
>.2/lib/meakin.jar:/usr/local/apache-ant-1.6.2/lib/ant-jmf.jar:/usr/local/ap
a
>che-ant-1.6.2/lib/ant-jsch.jar:/usr/local/apache-ant-1.6.2/lib/ant-apache-b
s
>f.jar:/usr/local/apache-ant-1.6.2/lib/ant-netrexx.jar:/usr/local/apache-ant
-
>1.6.2/lib/ant-swing.jar:/usr/local/apache-ant-1.6.2/lib/xrmant.jar:/usr/loc
a
>l/apache-ant-1.6.2/lib/xercesImpl.jar:/usr/local/apache-ant-1.6.2/lib/ant-a
p
>ache-bcel.jar:/usr/local/apache-ant-1.6.2/lib/ant-stylebook.jar:/usr/local/
a
>pache-ant-1.6.2/lib/ant-javamail.jar:/usr/local/apache-ant-1.6.2/lib/ant-ju
n
>it.jar:/usr/local/apache-ant-1.6.2/lib/ant-xalan1.jar:/usr/local/apache-ant
-
>1.6.2/lib/ant-commons-net.jar:/usr/local/apache-ant-1.6.2/lib/ant-commons-l
o
>gging.jar:/usr/local/apache-ant-1.6.2/lib/ant-contrib-1.0b1.jar:/usr/local/
a
>pache-ant-1.6.2/lib/ant-weblogic.jar:/usr/local/apache-ant-1.6.2/lib/ant-ap
a
>che-log4j.jar:/usr/local/apache-ant-1.6.2/lib/ant.jar:/usr/local/apache-ant
-
>1.6.2/lib/xml-apis.jar:/usr/local/apache-ant-1.6.2/lib/ant-vaj.jar:/usr/loc
a
>l/apache-ant-1.6.2/lib/ant-xslp.jar:/usr/local/apache-ant-1.6.2/lib/ant-nod
e
>ps.jar:/usr/local/apache-ant-1.6.2/lib/ant-launcher.jar:/usr/local/apache-a
n
>t-1.6.2/lib/ant-apache-resolver.jar:/usr/local/j2sdk1.4.0_01/lib/tools.jar
>user.name : aws
>java.vm.specification.version : 1.0
>java.home : /usr/local/j2sdk1.4.0_01/jre
>sun.arch.data.model : 32
>user.language : en
>java.specification.vendor : Sun Microsystems Inc.
>java.vm.info : mixed mode
>java.version : 1.4.0_01
>java.ext.dirs : /usr/local/j2sdk1.4.0_01/jre/lib/ext
>sun.boot.class.path :
>/usr/local/j2sdk1.4.0_01/jre/lib/rt.jar:/usr/local/j2sdk1.4.0_01/jre/lib/i1
8
>n.jar:/usr/local/j2sdk1.4.0_01/jre/lib/sunrsasign.jar:/usr/local/j2sdk1.4.0
_
>01/jre/lib/jsse.jar:/usr/local/j2sdk1.4.0_01/jre/lib/jce.jar:/usr/local/j2s
d
>k1.4.0_01/jre/lib/charsets.jar:/usr/local/j2sdk1.4.0_01/jre/classes
>java.vendor : Sun Microsystems Inc.
>file.separator : /
>java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
>sun.io.unicode.encoding : UnicodeLittle
>sun.cpu.endian : little
>sun.cpu.isalist :
>
>
>-----Original Message-----
>From: Peter Reilly [mailto:peterreilly@apache.org]
>Sent: Thursday, March 10, 2005 1:30 AM
>To: Ant Users List
>Subject: Re: HELP! ant 1.6.2
>
>
>What is the output of
>
>ant -diagnostics
>
>Peter
>
>
>Ray Madigan wrote:
>
>
>
>>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;Lj
a
>>
>>
>v
>
>
>>a/lang/String;)V
>>	at
>>org.apache.tools.ant.helper.ProjectHelper2$ElementHandler.onStartElement(P
r
>>
>>
>o
>
>
>>jectHelper2.java:975)
>>	at
>>org.apache.tools.ant.helper.ProjectHelper2$RootHandler.startElement(Projec
t
>>
>>
>H
>
>
>>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$FragmentContentDispa
t
>>
>>
>c
>
>
>>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;Lj
a
>>
>>
>v
>
>
>>a/lang/String;)V
>>	at
>>org.apache.tools.ant.helper.ProjectHelper2$ElementHandler.onStartElement(P
r
>>
>>
>o
>
>
>>jectHelper2.java:975)
>>	at
>>org.apache.tools.ant.helper.ProjectHelper2$RootHandler.startElement(Projec
t
>>
>>
>H
>
>
>>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$FragmentContentDispa
t
>>
>>
>c
>
>
>>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;Lj
a
>>
>>
>v
>
>
>>a/lang/String;)V
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>>
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>
>


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


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


Mime
View raw message