Login | Register
My pages Projects Community openCollabNet

Discussions > users > Caused by: java.lang.NoSuchMethodError: org.apache.tools.ant.helper.AntXMLContext.setCurrentTargets(Ljava/util/Map;)V

antelope
Discussion topic

Hide all messages in topic

All messages in topic

RE: Caused by: java.lang.NoSuchMethodError: org.apache.tools.ant.helper.AntXMLContext.setCurrentTargets(Ljava/util/Map;)V

Author danson
Full name Dale Anson
Date 2009-02-11 06:37:18 PST
Message Yes, another user made me aware of this situation recently. Indeed, Ant 1.6.2 is no longer supported. I didn't realize that the Ant API had changed significantly between 1.6.2 and 1.6.5. If you can upgrade to at least Ant 1.6.5, you should get better results. Support for <import> in Antelope has always been weak. Whether <import> works or not currently depends on the structure of the imported file.

Caused by: java.lang.NoSuchMethodError: org.apache.tools.ant.helper.AntXMLContext.setCurrentTargets(Ljava/util/Map;)V

Author narcomancer
Full name Uldis Karlovs-Karlovskis
Date 2009-02-11 03:56:47 PST
Message Hello! Tried Your tool and at start thought this will be something I gonna start using. For first time it started up fine, but on second time it is throwing exception. Nothing in my environment is changed, strange. I`m on Ant1.6.2 so I believe it is unsupported version. However, first thing I wanted automatic ant build files retrieve from include tags, which this tool didn`t understand so throwed a lot of warnings about unexistent targets in dependency. I have something like this: Also button which should show all runtime properties didn`t show anything. Uldis Karlovs - Karlovskis Lead SCM Engineer System Configuration Management C.T.Co Mobile: +371 29 345 210
Attachments
Messages per page: