Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 48742 invoked by uid 500); 8 May 2001 19:29:40 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 48666 invoked from network); 8 May 2001 19:29:33 -0000 Date: Tue, 8 May 2001 12:21:18 -0700 (PDT) Message-Id: <200105081921.MAA02813@nagoya-a.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org, Daniel.Barclay@digitalfocus.com Cc: Subject: [Bug 1326] Changed - "ant -find -projecthelp" fails, even in build file directory X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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. !