I agree. But currently using a custom compressor for javascript and CSS need to 
change the source and replace JavascriptResourceReference by 
CustomCompressedResourceReference (or somthing else).
Except if support of CustomCompressor is integrated into existing core Resource.
https://issues.apache.org/jira/browse/WICKET-918

(note : minification could also be done for CSS)

/David

options (line-break or not, munge or not, js warning or not,...).
But as Julien (authors of YUI-Compressor) wrote : the compressor is
resource consumming and not made to run on-fly.

/David

Johan Compagner wrote:
thats a pretty nice one, it also compresses CSS. It does depend on rhino
and
another jar
so its a total of 3 jars so it should be outside the wicket core or
extentions (a project by itself?)
also all the examples that i see are with the command line and input
filenames
i hope it has a interface where you can talk with it in java and with
input
streams/readers

johan


On 9/3/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
On 9/1/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
Well, I certainly didn't want to reinvent the wheel. But all existing
solutions I was able to find either relied on a third part library
(shrinksafe) or had license not compatible with ASL. So I just wrote a
simple stripper. I think it still helps a lot, I didn't want to build
a
perfect stripper.
YUI's license is compatible, so


http://www.julienlecomte.net/blog/2007/08/13/introducing-the-yui-compressor/
might work, right?

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to