Ashley Williams schrieb am 11.06.2009 um 17:51:45 (+0100):
> 
>               // create the ant parent project
>               Project project = new Project();
>               project.setName("project");
>               project.init();
> 
>               // create the child target
>               Target target = new Target();
>               target.setName("target");
>               project.addTarget(target);
>               project.addBuildListener(new Log4jListener());

The Ant XML isn't exactly compact and doesn't flow like, say, Python
or Perl; but painstakingly recreating the XML structure from the API
is even harder for the eyeball.

But of course, this usage may have its places and applications.

Michael Ludwig

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to