ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <nicola...@apache.org>
Subject Re: Ant Task to compact HTML/JSP?
Date Fri, 05 Apr 2002 12:04:31 GMT
From: "John Niven" <John.Niven@marcat.com>

> Ant-users,
>
> <long-time lurker, first-time poster...>
>
> Does anyone know of/have an ant task that strips white-space, for example
> out of HTML/JSP files?  The context for this is that I have a distributed
> Tomcat web-app that runs over a WAN.  There's limited bandwidth over
certain
> parts of the WAN, and I'd like to compact the generated HTML as much as
> possible.  In particular, I'd like to retain well-formatted pages, but
> compact it prior to deploying the web-app.
>
> I've started writing a basic task myself, but I'd naturally like to avoid
> the work if possible!
>
> Any takers?

IZPressHtmlCompressTask.java

http://cvs.apache.org/viewcvs/xml-forrest/tools/centipede/src/java/

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message