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 19727] New: - <property> does not find file
Date Wed, 07 May 2003 13:48:10 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=19727>.
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=19727

<property> does not find file

           Summary: <property> does not find file
           Product: Ant
           Version: 1.5.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: mhilpert@gmx.de


I try to read the build number from the properties file build.number via the 
<property> task:

---
<buildnumber file="${java}${file.separator}build.number"/>
<property resource="${java}${file.separator}build.number"/>
<echo message="Build number= ${build.number}" />
---

but the task does not find the file even though it is there (triple checked 
file name and directory path name):

---
increase build.number:
    [property] Unable to find resource D:\data\prjs\amc\prg\java\build.number
        [echo] Build number= ${build.number}
---

Mime
View raw message