> > > By typing "ant test -Dskip.test=true" you will not execute any target > > related to test target-group. > > Hmmm, I thought a target group basically had it's depends attribute > basically rewritten to include whatever target declared itself to be > part of this group, and since if/unless apply to the target's body and > not its dependencies, if/unless would have been useless on > target-groups. > > So either I assumed incorrectly how target-group was implemented, or > what you describe above (assuming depends attribute re-writing) is > incorrect. So which is it?
*hides* My bad, i merged two different things in my answer :) Currently if /unless attribute is ignored on target-group. But it could be interresting feature (not yet implemented) to support that attribute to "skip" all task related to a given phase