>>>>> "JT" == Jonas Tehler <[EMAIL PROTECTED]> writes:
JT> I want to use this to be able to define default behaviour for JT> building packages. But I also want to be able to specify a JT> specific target for some of the packages, without changing how JT> they are built from the command line. I'm not convinced that this is a good idea. (1) Too implicit, still, (2) I don't really like having magic names and (3) I'd need a way to turn this feature off (or better yet on. and have it off by default). Say I have this buildfile with a target named default, just because I wanted it to name that way, not to do something magic there. I invoke "ant baz" but actually I wanted to say "ant bar" but my fingers slipped. There is a bar target but no baz target. So instead of my target "bar" or an error message the totally unrelated target "default" is executed. Big surprise. JT> I guess you could check if the target already exists in the JT> dynamic target and then call that target from there, Not without scripts or custom tasks AFAIK. Stefan
