> The feature makes sense to me. > --want things only done once, I make a target with depends in build.xml > --want them done once/target, use command line. > > What problem does this cause?
If I want to make targets A and C but not B, and they all depend on X, then I end up running X twice if I do "ant A C". OR If I want to make targets D and E, but I forget that E already depends on D, and I type "ant D E", I end up running D twice. To avoid the later problem the user could memorize every dependency in the XML file: Does not sound like a good idea. To avoid the former problem you could make extra targets, i.e. makeAC, makeAB, makeBC. In my situation I have 20 EJBs I might want to build, and I usually only need to build a few, but I do I full compile before I build any. So to not do the compile multiple times and be able to select the EJBs I want I would need 20! targets, or 45350912 targets. Even just combining by pairs I need 190 targets. Does not look good. > --want them done once/target, use command line. ... and I still don't understand why someone would want this. But if they did they could use "<antcall ...>" inside the target. My situation seems like something many more people would encounter, and there is no built in solution. - Dan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
