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 peter.reilly@corvil.com 2003-06-26 12:28 -------
Sorry I do not understand the problem.
<mkdir dir="../sib/a/b/c"/>
<touch file="../sib/a/b/c/file.xml"/>
<property name="sib.dir" location="../sib"/>
<property name="target.dir" location="output"/>
<uptodate property="upto.date">
<srcfiles dir="${sib.dir}" includes="a/**/*.xml"/>
<mapper type="glob" from="a/*.xml"
to="${target.dir}/javafiles/*.java"/>
</uptodate>
ant -verbose gives:
parsing buildfile /home/preilly/proj/learning/map/mapper.xml with URI =
file:///home/preilly/proj/learning/map/mapper.xml
Project base dir set to: /home/preilly/proj/learning/map
a/b/c/file.xml added as
/home/preilly/proj/learning/map/output/javafiles/b/c/file.java doesn't exist.
Mappers are difficult to use and a bit unintutive - but they
do work as designed.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|