ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Task for whitespace optimizing
Date Fri, 04 Jan 2002 16:55:54 GMT

I've written a custom task for optimizing whitespace in text files.

It operates on a filset and replaces each file with a whitespace optimized
version of itself. 

Usage is typically something like this:

  <fileset dir="${deploy}/webapp">
    <include name="**/*.jsp"/>
    <include name="**/*.js"/>
    <include name="**/*.css"/>
    <include name="**/*.html"/>
    <include name="**/*.htm"/>

If you use this after moving the files out of the version control repository
web-developers can keep their bloated WYSIWYG files unchanged. The files
that are deployed are typically reduced by 1/3 or 1/4 in size.

I was wondering if this could be a canditate for a built-in or optional Ant

Christian Nedregaard
Senior developer
Findexa as

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message