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 5270] - Ant task - allow multiple targets
Date Mon, 15 Apr 2002 17:42:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5270>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5270

Ant task - allow multiple targets





------- Additional Comments From bdeweese@yahoo.com  2002-04-15 17:42 -------
Steve, the question of the current behavior of Ant when the target is "" was 
answered in my comments of 4-10 which was, "The original would throw a 
BuildException stating that the target '' could not be found.".

Jose, I like your suggestion but I wouldn't know how to implement it with 
having Ant.java create a temporary target with its depends attribute set to the 
list of targets passed in.  But this would also print the temp target to the 
log and probably confuse the user as to the source of this unknown target.  So 
I would hope there's a better way of doing this but I'm not familiar enough 
with the code to suggest a better alternative at this point.

Therefore, I think if you want that behaviour than it would be just as well to 
tell the user to define a target with the depends attribute as you have done in 
your example rather than modifing the current patch.

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


Mime
View raw message