ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21421] - [Patch] to allow to run several targets without rerunning their dependencies
Date Wed, 01 Sep 2004 20:08:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=21421>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=21421

[Patch] to allow to run several targets without rerunning their dependencies





------- Additional Comments From gudnabrsam@yahoo.com  2004-09-01 20:08 -------
Regarding the ParallelExecutor--I may.  This is not trivial however.  Assuming 
the Executor does not get shot out of Ant, anyone could write it.  As for the 
command-line option, my concern is when would they end?  Someone else can come 
along next week and ask for an option for Ant to run everything except for the 
specified targets ... and so on.  If you really needed a switch to do this, 
it's not impossible to do it yourself... for example, if you added this to 
your .antrc (assuming you use the "ant" script):

_ant_exec_args=

for arg in "$@" ; do
  if [ "$arg" = "--single" ] ; then
    arg=-Dant.executor.class=org.apache.tools.ant.helper.SingleCheckExecutor
  fi
  _ant_exec_args="$_ant_exec_args \"$arg\""
done

ant_exec_args=$_ant_exec_args
unset _ant_exec_args

You have aliased
 "-Dant.executor.class=org.apache.tools.ant.helper.SingleCheckExecutor"
 to "--single".

PS:  guess who wrote "I have my own ANT launcher script that preconfigures
my build environment, I can just add the option into it."

;)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message