ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: [Bug 1326] Changed - "ant -find -projecthelp" fails, even in build file directory
Date Wed, 09 May 2001 13:35:20 GMT
From: "Tim Vernum" <Tim.Vernum@macquarie.com.au>
> Daniel.Barclay@digitalfocus.com
>
> > ! Regarding:
> > !   Just place -find last on your command line and you don't
> > need to specify the
> > !   file name.
> > !
> > ! Please reconsider this for future versions of Ant.
> > !
> > ! Having to put a certain option last can get really
> > irregular and inconvenient.
> > ! You can't take an existing command line and simply add
> > targets to build (e.g.,
> > ! you can't define a Unix shell alias like 'alias build="ant
> > -verbose -find").
>
> > ! Can you consider using the syntax "-find=xxx.xml" (that is,
> > "-find" activates
> > ! the find feature with the default file name; "-find=x.xml"
> > activates it and
> > ! sets the file name for which to search)?
>
>
> FWIW, I agree entirely with Daniel.
>

Interestingly, the windows shell will remove the "=" in that argument and
pass two arguments to Ant. Wierd. huh? Since we have a -f argument already,
I suggest we make -find not take an argument and use the -f argument to
denote the file to be found.

Conor



Mime
View raw message