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 43235] - Touch with mapper brokken
Date Wed, 29 Aug 2007 15:01:54 GMT
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=43235>.
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=43235





------- Additional Comments From peterreilly@apache.org  2007-08-29 08:01 -------
I release that this is documented and that is the intention
of the code. However it is very strange (unexpected) to
ignore the setting given in the build file:

        <touch datetime="03/03/2003 03:33 AM">
            <fileset dir="test" includes="src/**/*.java" />
            <mapper type="regexp" from="^src(.*)\.java$$"
to="test/classes\1.class"/>        
        </touch>

It is clearly (I think) the intent of the build author to set the date on the
class files to the datetime attribute, whereas:
        <touch>
            <fileset dir="test" includes="src/**/*.java" />
            <mapper type="regexp" from="^src(.*)\.java$$"
to="test/classes\1.class"/>        
        </touch>
one could argue that the timestamps of the .class files should be
set to the timestamp of the correspond java files (although one
could also argue that this is also surprising behavior).

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message