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 21094] - glob mapper inconsistently uses source directory
Date Thu, 26 Jun 2003 14:18:47 GMT
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 twall@users.sourceforge.net  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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message