Author: carlucci
Date: Tue Apr  3 21:01:12 2012
New Revision: 1309148

URL: http://svn.apache.org/viewvc?rev=1309148&view=rev
Log:
CMS commit to rave by carlucci

Modified:
    rave/site/trunk/content/documentation/manage-static-resources.mdtext

Modified: rave/site/trunk/content/documentation/manage-static-resources.mdtext
URL: 
http://svn.apache.org/viewvc/rave/site/trunk/content/documentation/manage-static-resources.mdtext?rev=1309148&r1=1309147&r2=1309148&view=diff
==============================================================================
--- rave/site/trunk/content/documentation/manage-static-resources.mdtext 
(original)
+++ rave/site/trunk/content/documentation/manage-static-resources.mdtext Tue 
Apr  3 21:01:12 2012
@@ -18,15 +18,15 @@ Notice:    Licensed to the Apache Softwa
 
 **Managing Static Resources**
 
-Apache Rave uses [wro4j][1] to optimize JavaScript.  At build time it uses 
Google Closure Compiler to concatenate and minify all of the individual Rave 
javascript files into one file called rave_all.min.js
+Apache Rave uses [wro4j][1], specifically the wro4j-maven-plugin, to optimize 
JavaScript.  At build time it uses Google Closure Compiler to concatenate and 
minify all of the individual Rave javascript files into one file called 
rave_all.min.js
 
-All of the original JavaScript files, along with the minified version, are 
bundled into the WAR.  Rave uses a Portal Preference to determine if it should 
serve out the individual source files, or the single optimized file.  By 
default, for ease of debugging, Rave serves out the individual scripts.    Rave 
admins can change the Portal Preference, called javaScriptDebugMode, to 
"Disabled" if they want to serve out the optimized file (recommended for 
production installations).  
+All of the original JavaScript files, along with the minified version, are 
bundled into the WAR.  During run-time Rave uses a Portal Preference to 
determine if it should serve out the individual source files, or the single 
optimized file.  By default, for ease of debugging, Rave serves out the 
individual scripts.    Rave admins can change the Portal Preference, called 
javaScriptDebugMode, to "Disabled" if they want to serve out the optimized file 
(recommended for production installations).  
 
 Like all other Portal Preferences, changes are effective immediately, making 
it useful when you need to debug an issue in a production environment. 
 
 *Settings*
 
-Out-of-the box Rave has configured wro4j to use Google Closure Compiler with 
SIMPLE_OPTIMIZATIONS.  If you would like to change the JavaScript Processor to 
use ADVANCED_OPTIMIZATIONS, or another library all-together (such as YUI 
Compressor), you can overlay the wro.properties file located in 
rave-portal-resources  and modify the postProcessors.  See the [wro4j][1] 
website for more information.
+Out-of-the box Rave has configured [wro4j][1] to use Google Closure Compiler 
with SIMPLE_OPTIMIZATIONS.  If you would like to change the JavaScript 
Processor to use ADVANCED_OPTIMIZATIONS, or another library all-together (such 
as YUI Compressor), you can overlay the wro.properties file located in 
rave-portal-resources  and modify the postProcessors.  See the [wro4j][1] 
website for more information.
 
 *Future Enhancements*
 


Reply via email to