Java Mailing List Archive

Apache Ant Archive

» Ant Users List
» Ant Developers List
Problem with <tidy > task

Problem with <tidy > task

2007-06-06       - By cknell@(protected)

Consider this task:

<tidy destdir="${base-dir}/tidy" flatten="true">
 <fileset dir="${base-dir}">
   <include name="**/*.htm"/>
 <parameter name="wrap" value="0" />
 <parameter name="numeric-entities" value="true" />

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"/>

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

Does anyone else have this experience? And more important, has anyone solved it
? Thanks.
Charles Knell
cknell@(protected) - email

To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 - Jax Systems, LLC, U.S.A.