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=7114>. 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=7114 <mapper type="merge> misintreprets 'to' attribute in <uptodate> context Summary: <mapper type="merge> misintreprets 'to' attribute in <uptodate> context Product: Ant Version: 1.4.1 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Here's a snippet from my build file: <uptodate property="xdoclet.done"> <srcfiles dir="${project.src}" includes="tquas/ejb/**/*Bean.java"/> <mapper type="merge" to="${build.tmp}/xdoclet.stamp"/> </uptodate> The problem with this is that <mapper> for some reason takes the directory of <srcfiles> (${project.src}) as the root dir for the <mapper>. An example from the log looks like: [uptodate] tquas/bogus/ejb/IssueBean.java added as /home/tom/projects/bogus/src/build/tmp/xdoclet.stamp doesn't exist. The problem is that ant looks for 'xdoclet.stamp' in src/build/tmp instead of build/tmp. Now reformulating the rule to <uptodate property="xdoclet.done" targetfile="${build.tmp}/xdoclet.stamp"> <srcfiles dir="${project.src}" includes="tquas/bogus/ejb/**/*Bean.java"/> </uptodate> works just fine. Am I wrong, or isn't the first solution supposed to work, too? tom -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
