Re: Programatic ANT: Export Build.xml

2011-06-17 Thread Dark Before Dawn
Am 17.06.2011 17:13, schrieb Dominique Devienne: On Thu, Jun 16, 2011 at 11:31 PM, Dark Before Dawn wrote: I would like to use apache-ant-1.8.2 in JavaSE, to generate build.xml Files dynamically. Is there a way to export a Project Object as xml File via Writer/Stream? Nope. And I don't

Programatic ANT: Export Build.xml

2011-06-16 Thread Dark Before Dawn
Hi there, I would like to use apache-ant-1.8.2 in JavaSE, to generate build.xml Files dynamically. Is there a way to export a Project Object as xml File via Writer/Stream? CodeSnippet: Project p = new Project(); p.setName("test"); p.setDefault("test"); Target