Original Message
Subject: launch Ant from Java code
From: Patrick Martin
To: Ant User
Date: Wed Jan 12 2011 14:08:35 GMT+0100 (CET)
> Hello and happy new year to you all,
>
> What is the recommended way for launching an Ant script/task from Java code ?
>
>
On 1/13/2011 2:57 AM, Patrick Martin wrote:
Thank you Antoine,
I do have a follow-up question on this though. Will this be thread
safe? Is it possible to run two targets in parallel from Java code,
without any interactions (different projects, property sets and so
on)?
Ant has a parallel task, a
Thank you Antoine,
I do have a follow-up question on this though. Will this be thread
safe? Is it possible to run two targets in parallel from Java code,
without any interactions (different projects, property sets and so
on)?
I am especially afraid of the system properties which may be shared
and
Hello Patrick,
you can have a look at this document from our manual too :
http://ant.apache.org/manual/antexternal.html
Creating a Project object is necessary in nearly all cases because ant
tasks generally need to be bound to a project in order to be able to log.
I have another example whic
Hello and happy new year to you all,
What is the recommended way for launching an Ant script/task from Java code ?
It seems to me that the following URL
http://ant.apache.org/manual/running.html#viajava
rather explains how to launch Ant with java.exe from the command line.
Is it also recommended