Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Arbitrary nested elements in Ant

Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I'm having an issue with nesting arbitrary elements in a custom Ant task I'm writing.

I have an interface Processor:

instances of which can be plugged into the custom task:

The Ant build file is:

However, when I run the instrument target it fails with the error message "instrument doesn't support the nested "processor.testcase" element". As far as I can see, this is identical to how the Ant manual details this.

If I used a known element in the task, e.g.

then it works correctly (but is much less desirable for various reasons).

Any help much appreciated!
[ November 20, 2008: Message edited by: Steve Chaloner ]
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic