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 15674] New: - [PATCH] Make XmlProperty not fail if the file is missing
Date Thu, 26 Dec 2002 22:37:40 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=15674>.
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=15674

[PATCH] Make XmlProperty not fail if the file is missing

           Summary: [PATCH] Make XmlProperty not fail if the file is missing
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: nicolaken@apache.org


the property task does not fail if a property file defined is missing.
This does not happen with XmlProperty, and it makes it more difficult to use the
very common pattern of defining properties first from th euser home, then user
properties in the project dir, and finally the project ones.

Example in the current Ant buildfile:

  <!-- Give user a chance to override without editing this file
       (and without typing -D each time it compiles it) -->
  <property file=".ant.properties"/>
  <property file="${user.home}/.ant.properties"/>

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message