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=21094>.
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=21094

glob mapper inconsistently uses source directory





------- Additional Comments From [EMAIL PROTECTED]  2003-06-26 14:18 -------
I see the problem.   If you replace ${target.dir} with simply "output", then 
the target is no 
longer an absolute output directory.    

    <uptodate property="upto.date">
        <srcfiles dir="${sib.dir}" includes="a/**/*.xml"/>
        <mapper type="glob" from="a/*.xml"
                to="output/javafiles/*.java"/>
    </uptodate>

The file path preceding "a/**/*.xml" is effectively invisible to the mapper 
(i.e. you can't use 
it in the "from") but it will tack it on to the "to" path unless the "to" 
pattern is an absolute 
path.

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

Reply via email to