[
https://jira.jboss.org/browse/GTNPORTAL-198?page=com.atlassian.jira.plugi...
]
tung do thanh updated GTNPORTAL-198:
------------------------------------
Attachment: compiler.jar
2010-08-05-GTNPORTAL-198.patch
I have used the Closure compiler in the Javascript serving engine.
If use JSmin, the size of merged.js is 210KB.
If us Closure compiler the size of merged.js is 158.3 KB (save 24.6%).
But I didn't found any Maven repository that contain Closure compiler .
Because that, These are some steps to use Closure compiler:
1: import "compiler.jar" into Local Maven Repository:
Use command: mvn install:install-file -DgroupId=com.google -DartifactId=closure-compiler
-Dversion=1.0 -Dfile=compiler.jar -DgeneratePom=true -Dpackaging=jar
2: Apply attached path file (2010-08-05-GTNPORTAL-198.patch)
NOTE: copy compiler.jar into tomcat/lib before run tomcat server
Use the Closure compiler in the Javascript serving engine
---------------------------------------------------------
Key: GTNPORTAL-198
URL:
https://jira.jboss.org/browse/GTNPORTAL-198
Project: GateIn Portal
Issue Type: Feature Request
Reporter: Julien Viet
Assignee: tung do thanh
Fix For: 3.2.0-GA
Attachments: 2010-08-05-GTNPORTAL-198.patch, compiler.jar
http://code.google.com/closure/compiler/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira