Nope... if you specify -f on the command line then it won't attempt to search for anything... it will assume the previous behavior.
--jason On Tue, 19 Sep 2000, Diane Holt wrote: > --- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > > >>>>> "PD" == Peter Donald <[EMAIL PROTECTED]> writes: > > > > PD> I mean can we trust that it won't cause any problems ? > > > > I tried to find possible problems, only thing I came up with is that > > Ant might invoke a build file it wasn't supposed to use (because the > > user's fingers slipped). Wouldn't consider that breaking older build > > environments though. > > Do you mean that now, if I run: > > $ ant -f mybulid.xml #instead of mybuild.xml (which I do all the time :) > > and ant doesn't find that file (which it won't), it'll go off looking for > a plain old build.xml file instead, and run the default target of the > first one it finds? If that's the case (and I'm hoping it's not), that > sounds like it could get remarkably dangerous to me. > > Diane > > ===== > ([EMAIL PROTECTED]) > > > > __________________________________________________ > Do You Yahoo!? > Send instant messages & get email alerts with Yahoo! Messenger. > http://im.yahoo.com/ >
