You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/05/07 15:48:10 UTC
DO NOT REPLY [Bug 19727] New: -
does not find file
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}
---