[Simple-support] UnionList with empty list
Brought to you by:
niallg
|
From: Christopher K. <ki...@na...> - 2011-04-23 03:30:55
|
I'm trying to use UnionList to persist a list of mixed-class elements, where the list may also be empty. I can replicate the tutorial example just fine when there are items in the list. But if I try with an empty list, I get: <task name="setup"> <delete/> </task> Is it possible to set the list as not required? I would like to see output as: <task name="setup"> </task> Thanks, Chris |