Re: uptodate using .xml to .java but not 1 to 1

2005-05-04 Thread EJ Ciramella
I did something a little different. I do the generation then touch a file. Then I can use the merge mapper from xml to touched file name. On May 4, 2005, at 12:50 PM, Alexey N. Solofnenko wrote: In general you will need a mapper, if there are a many source and destination files. If you can s

Re: uptodate using .xml to .java but not 1 to 1

2005-05-04 Thread Alexey N. Solofnenko
In general you will need a mapper, if there are a many source and destination files. If you can select one destination file out of many (if several destination files are generated together), you can just use plain . Otherwise please look at task. - -Alexey. EJ Ciramella wrote: Every once in a

uptodate using .xml to .java but not 1 to 1

2005-05-04 Thread EJ Ciramella
Every once in a while I stumble across this problem where a tool reads in xml and generates java files. We have a custom written tool here that does this but there is no up to date check so the java files are created each time. Do I need to write a custom mapper or is there a simple way to do

Re: XML to Java

2004-12-22 Thread Erik Hatcher
On Dec 22, 2004, at 4:04 AM, Robert Soesemann wrote: On requirement is to write as few code as possible. Therefore I am looking for an existing way to: 1 iterate over XML files 2 identify node 3 identify their @type attribute 4 pass the text value of each child node to its appropriate Java Functi

AW: XML to Java

2004-12-22 Thread Jan . Materne
> -Ursprüngliche Nachricht- > Von: Robert Soesemann [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 22. Dezember 2004 10:05 > An: Ant Users List > Betreff: XML to Java > > Hallo, > > In my CMS migration project I have a Ant pipeline which gets > HTML files >

XML to Java

2004-12-22 Thread Robert Soesemann
Hallo, In my CMS migration project I have a Ant pipeline which gets HTML files as input and perform mainly XSL preprocessing and validation on them. The last step of the pipeline is responsible for bringing the values of the XML structure into a CMS via a Java API. On requirement is to write as f