ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Feature Request - Executor setting though the script
Date Thu, 05 Nov 2009 13:40:26 GMT
On 2009-11-05, Raja Nagendra Kumar <> wrote:

> Instead of specifying the executor though ANT_OPTS is it possible to set the
> executor though the ant build.xml script.

If you use a task at the top level, may work.  Setting the executor via
a task is a matter of invoking Project.setExecutor.

I'm not too familiar with Executor but it seems to be enough to simply
declare a reference with the correct name.  I.e. you don't even need a
custom task.

Something like

<typedef name="some-name" class="">
  <classpath location="if-necessary"/>
<some-name id="ant.executor"/>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message