ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dun...@sapio.co.uk (Duncan Harris)
Subject Re: JavaScript comment stripping Task
Date Thu, 01 Jan 1970 00:00:00 GMT
holtdl@yahoo.com (Diane Holt) wrote:

> > I've just knocked up an Ant Task to strip comments from JavaScript
> > files. Useful in web apps so you can comment to your hearts delight
> > without using up runtime bandwidth.
> > 
> > Would this be useful to others, or is there some component out there
> > that already does this which I missed in my quick search?
> 
> I should think <replaceregexp> (available in the nightlys, until 1.5 comes
> out) could do that.

I've looked at this a little now.

How do I: copy a fileset if it is out of date and then only do the replaceregexp
sequences on the ones that I have copied?

Duncan Harris
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hartford, Cheshire, U.K., Tel: 07968 060418

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