2008/11/24 Stefan Bodewig <[EMAIL PROTECTED]>: > On 2008-11-21, Gilles Scokart <[EMAIL PROTECTED]> wrote: > >> The concept of target-group seems confusing for the moment. > > At least it confuses me, but I get the feeling that everybody must be > seeing something that I don't - so I very much appreciate any effort > to enlighten me. > > While I do see differences between targets and target-groups for > people writing build files, I miss where they differ (or should > differ) for anybody running Ant. > >> Instead of having one special type of target to define a new concept, >> maybe we need 2 : target-group and target-part. > >> With the caracteristics that : >> * target-group and target-part can both have depends to any target. >> * target-part can declare that they are part of 1 or more target-group. >> * target-group have no content (not sure that's require for the view >> that we want). > > Which from the end-user POV means targets and target-groups are > command line callable, target-parts are not. Is that correct? > > Stefan >
I would prefer that they could be called. I actually see a very big difference for the user running Ant. A target-group has an higher granularity. A normal user would rather use that granularity level. Only "advanced" users (probably the developpers who wrote the script) could still call lower level part. I would say that target-group, target-part are different level of abstraction. What part constitues the group are implementation details that should be +/- hidden for the normal user (and probably for developpers of other part of the global script). Maybe an other way to see the difference is to foccus on the relationship PartOf, instead of foccussing on the distinction target-group, target-part. I think it is easier to see a difference beween PartOf and Depends relationship. I'm not sure I clarified something... I hope I didn't add more confusion ;-) -- Gilles Scokart --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]