http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1326
*** shadow/1326 Thu May 3 05:40:50 2001
--- shadow/1326.tmp.2810 Tue May 8 12:21:18 2001
***************
*** 117,120 ****
file name.
(2) -find and -buildfile are different, as you only need to give a filename to
! -find (like -find build.xml) and no path at all.
--- 117,143 ----
file name.
(2) -find and -buildfile are different, as you only need to give a filename to
! -find (like -find build.xml) and no path at all.
!
! ------- Additional Comments From Daniel.Barclay@digitalfocus.com 2001-05-08 12:21 -------
! 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").
!
! (I suppose always adding the default file name (using "-file build.xml")
! works around that problem, but that makes a simple option much longer.
!
! 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)?
!
! That syntax lets options take optional arguments without requiring that
! some argument be provided to avoid consuming the next command-line token
! as the argument.
!
|