You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/09/03 21:59:35 UTC
[DO NOT REPLY: Bug 3390] New:
depends list, trailing ","
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3390
*** shadow/3390 Mon Sep 3 12:59:35 2001
--- shadow/3390.tmp.17990 Mon Sep 3 12:59:35 2001
***************
*** 0 ****
--- 1,27 ----
+ +============================================================================+
+ | depends list, trailing "," |
+ +----------------------------------------------------------------------------+
+ | Bug #: 3390 Product: Ant |
+ | Status: NEW Version: 1.4 |
+ | Resolution: Platform: PC |
+ | Severity: Enhancement OS/Version: Linux |
+ | Priority: Other Component: Core |
+ +----------------------------------------------------------------------------+
+ | Assigned To: ant-dev@jakarta.apache.org |
+ | Reported By: nicolas.mailhot@one2team.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ (this is for the latest 1.4 beta)
+
+ I'm trying to do some dynamic generation of ant build.xml with xslt.
+ I'm stuck on dynamic depends lists : the simplest way is to generate a
+ depends="foo1, foo2, foo3, " list, but then ant will search for a " " target.
+ So I have to define a dummy empty target and change my lists in
+ depends="foo1, foo2, foo3, dummy" just for this.
+
+ Couldn't ant just ignore whitespace targets and/or the trailing "," ?
+ [alternatively specifying dependencies with multiple nested <depend> elements
+ would be great]