Re: calling ant API from java instead of using build.xml from console

2006-01-05 Thread Dieter Frej
ssage- From: Dieter Frej [mailto:[EMAIL PROTECTED] Sent: Monday, 2 January 2006 6:45 PM To: user@ant.apache.org Subject: calling ant API from java instead of using build.xml from console Hi, I would like to call ant (1.6.5) from java (1.5.0_04-b05), but I am a little puzzled wit

calling ant API from java instead of using build.xml from console

2006-01-02 Thread Dieter Frej
Hi, I would like to call ant (1.6.5) from java (1.5.0_04-b05), but I am a little puzzled with all createXYZ, addXYZ, init, and execute methods and in which order they should be called. I wrote it the following way: Project project = new Project(); XmlLogger xlog = new XmlLogger(); project.add