Consider this task:
<tidy destdir="${base-dir}/tidy" flatten="true">
<fileset dir="${base-dir}">
<include name="**/*.htm"/>
</fileset>
<parameter name="wrap" value="0" />
<parameter name="numeric-entities" value="true" />
</tidy>
The result of this tidies all the .htm files in ${base-dir}/sub1 and places
them in in "destdir". It ignores a .htm file in ${base-dir}.
I have elminated the possibility that the problem is in <fileset> by running
this experimental target:
<target name="test">
<copy todir="${base-dir}/tidy" flatten="true">
<fileset dir="${base-dir}">
<include name="**/*.htm"/>
</fileset>
</copy>
</target>
When I run it, the single .htm file in ${base-dir} is moved to ${base-dir}/tidy
as well as the .htm files in ${base-dir}/sub1 .
This situation obtains in both ant 1.6.5 and 1.7.0 using
jtidy-8.0-20060730.195103-1.jar.
Does anyone else have this experience? And more important, has anyone solved
it? Thanks.
--
Charles Knell
[EMAIL PROTECTED] - email
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]