Re: How to define a task with nested elements in Ant?

2017-06-05 Thread Al Le
Yes, indeed. But then I'd probably rather translate the whole Ant script and then let Ant process the result of the translation. I.e. the "trick" would be absolutely transparent to Ant (it would be rather part of the build infrastructure). Not quite what I've thought of (in my dreams it shou

AW: How to define a task with nested elements in Ant?

2017-06-05 Thread jhm
You could play that way: * use to transform that peace into a 'valid Ant buildfile' * use to call that generated file Jan > -Ursprüngliche Nachricht- > Von: Alexander Levin [mailto:a.le...@gmx.de] > Gesendet: Montag, 5. Juni 2017 01:39 > An: Ant Users List; Jan Matèrne (jhm) > Betreff:

Re: How to define a task with nested elements in Ant?

2017-06-05 Thread Alexander Levin
Hrm... It would be cool if there existed a task which would allow to construct the translation of the task in Ant into some other existing tasks, e.g. using XPath. I.e. you'd 1. Define the syntax of a new task; not with 'attribute' and 'element' (like in macrodef) but via e.g. XSD. 2. Def