Hello, I've written a javascript compression task, combining the Replace task with some Apache licensed code from
https://dwr.dev.java.net/source/browse/dwr/java/uk/ltd/getahead/dwr/util/JavascriptUtil.java I would like to submit it to development, though it may not be Apache-quality code. It is well tested and stable, but is inefficient with files (reads and writes the same file once or twice, passes the file as a String through several regex-like loops, and bypasses most of the elegance in the copied Replace task). Any suggestions? Example: <jscompress token="optionalold" value="optionalnew" file="${dir.target.distversion}/framework.js" stripslashslash="yes" stripslashstar="yes" trimlines="yes" stripblanklines="yes" shrinkvariables="no" stripnewlines="no" echo="no" /> -- Alex -- Those who can make you believe absurdities can make you commit atrocities -- François Marie Arouet (Voltaire) http://cph.blogsome.com http://genaud.org/alex/key.asc -- CCC7 D19D D107 F079 2F3D BF97 8443 DB5A 6DB8 9CE1 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]