ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18732] New: - ANT parameter passing has some bugs!
Date Sat, 05 Apr 2003 14:09:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18732>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18732

ANT parameter passing has some bugs!

           Summary: ANT parameter passing has some bugs!
           Product: Ant
           Version: 1.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: cp1965@ROGERS.com


I set my ANT_OPTS='-propertyfile ant.properties'.  ANT does not recognize the 
comand-line parameter -propertyfile.  This is an obvious bug.

I suggest that ANT should always accept an optional default property file 
(possibly ant.properties).  ANT should optionally accept also accept ALL 
command-line parameters on the property file.  The ANT_OPTS is difficult to 
change and manipulate.

Also, ANT should accept macro expressions in its property file.  It does not 
accept such expression now.  For instance it should accept such thing as:
  root.path=${basedir}/sources

Regards,
Colbert Philippe

Mime
View raw message