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

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

2013-08-01 Thread jhm
Jan > -Ursprüngliche Nachricht- > Von: Graydon Saunders [mailto:graydon...@gmail.com] > Gesendet: Donnerstag, 1. August 2013 22:36 > An: user@ant.apache.org > Betreff: getting information out of the source file and using it in > apply tasks > > Hi -- > &

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

2013-08-01 Thread Graydon Saunders
Hi -- I'm using ant 1.9.2 via a Fedora rawhide package on Linux. I have bunch of SGML files (in complex, arbitrary directory structures which I must preserve) that have different SGML DTDs; these need to be normalized to XML. One of the pieces of information required by the program that does th