DO NOT REPLY [Bug 33626] - Uptodate documentation is unclear regarding the comparisons made on files

2005-02-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33626.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33626





--- Additional Comments From [EMAIL PROTECTED]  2005-02-24 18:24 ---
The documentation in Apache site states that:

By default, the value of the property is set to true if the timestamp of the 
target file(s) is more recent than the timestamp of the corresponding source 
file(s).

However, in the single file example you say:

   uptodate property=isUpToDate
srcfile=/usr/local/bin/testit
targetfile=${build}/.flagfile/

 sets the property isUpToDate to true if /usr/local/bin/testit 
 is newer than ${build}/.flagfile.

I think that these two statements are contradictory to each other. Shouldn't 
isUpToDate be set to true if ${build}/.flagfile is newer 
than /usr/local/bin/testit and not the other way around?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 33626] - Uptodate documentation is unclear regarding the comparisons made on files

2005-02-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33626.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33626





--- Additional Comments From [EMAIL PROTECTED]  2005-02-24 18:48 ---
I agree, that looks like another error in the doc.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 33626] - Uptodate documentation is unclear regarding the comparisons made on files

2005-02-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33626.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33626





--- Additional Comments From [EMAIL PROTECTED]  2005-02-24 18:51 ---
(In reply to comment #6)
 I agree, that looks like another error in the doc.


I agree with both of you.
As Matt stated in a previous posting to this thread, the code uses:
targetFile.lastModified() = sourceFile.lastModified().  
Based on the code, isUpToDate would be set to true if ${build}/.flagfile is 
newer than /usr/local/bin/testit.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 33626] - Uptodate documentation is unclear regarding the comparisons made on files

2005-02-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33626.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33626


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-02-24 18:57 ---
These have been fixed in CVS and will be in the manual for Ant 1.6.3 .

Thanks!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 33626] - Uptodate documentation is unclear regarding the comparisons made on files

2005-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33626.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33626


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|Core tasks  |Documentation
Summary|Uptodate condition is not   |Uptodate documentation is
   |workinge|unclear regarding the
   ||comparisons made on files
   Target Milestone|--- |1.6.3




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]