Re: getting information out of the source file and using it in apply tasks

2013-08-03 Thread Graydon Saunders
On Fri, Aug 2, 2013 at 2:11 AM, Jan Matèrne (jhm) wrote: > My idea is reading the SGML file using some filterchains and regexps for > extracting the DTD-name. > But I dont know any way to inject that into . > > So the workaround here is iterating over the for yourself > - antcontrib: for, foreac

Re: getting information out of the source file and using it in apply tasks

2013-08-03 Thread Graydon Saunders
On Fri, Aug 2, 2013 at 7:19 AM, Peter West wrote: > If you're ok with including an extra couple of build files you can have a > look at > > http://codepulsive.blogspot.com.au/2013/05/ant-edit-property-values.html > and > > http://codepulsive.blogspot.com.au/2013/05/ant-process-elements-in-list.ht

Re: getting information out of the source file and using it in apply tasks

2013-08-02 Thread Peter West
If you're ok with including an extra couple of build files you can have a look at http://codepulsive.blogspot.com.au/2013/05/ant-edit-property-values.html and http://codepulsive.blogspot.com.au/2013/05/ant-process-elements-in-list.html The relevant build files are http://pbw.id.au/src/ant/editst