ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant Main.java Project.java
Date Tue, 19 Sep 2000 23:39:59 GMT
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 <bodewig@bost.de> wrote:
> > >>>>> "PD" == Peter Donald <donaldp@mad.scientist.com> 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
> 
> =====
> (holtdl@yahoo.com)
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> 


Mime
View raw message