Menu

#205 Ant 1.6.1 is not compatible with Ant 1.7

closed
nobody
None
5
2009-03-18
2009-01-12
Yariva
No

Hi
I'm using SoapUI PRO 2.5 beta 1.
Our CruiseControl use ant 1.7.

when i run my soapui test (via junit) i get the following exception:

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close(Ljava/io/Writer;)V
at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTestSuite(XMLJUnitResultFormatter.java:174)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:620)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:453)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)

after some googeling i found out that it might be related to old Ant implementation.
and indeed the culprit was the Ant 1.6.1 that comes with soapUI (when I removed it from the class-path, problem was solved).

is it possible to upgrade it?

Discussion

  • Ole Lensmar

    Ole Lensmar - 2009-01-26

    Hi!

    actually I don't see why the ant jars are included at all, I'll remove them from the upcoming nightly build and we'll see what happens..

    regards!

    /Ole
    eviware.com

     
  • Ole Lensmar

    Ole Lensmar - 2009-02-17
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed