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

2013-08-01 Thread jhm
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, foreach - loop using script (bsh, groovy, javascript) inside the buildfile

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