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: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | 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]
