Ah good catch, thanks Jasha. Tony
>-----Original Message----- >From: Jasha Joachimsthal [mailto:[email protected]] >Sent: Wednesday, April 04, 2012 12:28 PM >To: [email protected] >Subject: Re: svn commit: r1309148 - >/rave/site/trunk/content/documentation/manage-static-resources.mdtext > >Please use "Title: Some text as title" in the top of the markdown file >instead of "**Some text as title**" for the page title. > >Title: will end up in the <head> as <title> and in the <body> as <h1>. ** >will only show the text as bold in <body>. >I've already modified this file. > >On 3 April 2012 23:01, <[email protected]> wrote: > >> 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/man >age-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* >> >> >> >>
