Author: buildbot
Date: Tue Apr 3 20:58:37 2012
New Revision: 811364
Log:
Staging update by buildbot for rave
Added:
websites/staging/rave/trunk/content/documentation/manage-static-resources.html
Modified:
websites/staging/rave/trunk/content/ (props changed)
Propchange: websites/staging/rave/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Apr 3 20:58:37 2012
@@ -1 +1 @@
-1309132
+1309144
Added:
websites/staging/rave/trunk/content/documentation/manage-static-resources.html
==============================================================================
---
websites/staging/rave/trunk/content/documentation/manage-static-resources.html
(added)
+++
websites/staging/rave/trunk/content/documentation/manage-static-resources.html
Tue Apr 3 20:58:37 2012
@@ -0,0 +1,92 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE- 2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+ <link rel="shortcut icon" href="/images/RAVE-favicon.ico"
type="image/x-icon" />
+ <link href="/css/rave.css" rel="stylesheet" type="text/css">
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+</head>
+
+<body>
+ <div id="banner">
+ <img id="logo" alt="Apache Rave"
src="/images/RAVE-logo_main-logo-small.png"/>
+ </div>
+
+ <div id="navigation">
+ <h1 id="general">General</h1>
+<ul>
+<li><a href="/index.html">About</a></li>
+<li><a href="/documentation/index.html">Documentation</a></li>
+<li><a href="/downloads.html">Downloads</a></li>
+<li><a href="/license.html">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="/get-involved.html">Get Involved</a></li>
+<li><a href="/mailing-lists.html">Mailing Lists</a></li>
+<li><a href="/people.html">People</a></li>
+<li><a href="http://wiki.apache.org/rave/">Wiki</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="/source.html">Getting Started</a></li>
+<li><a href="/ide-settings-and-debugging.html">IDE Settings and
debugging</a></li>
+<li><a href="/release-management.html">Release Management</a></li>
+<li><a href="/issue-management.html">Issue Tracker</a></li>
+<li><a href="https://builds.apache.org/hudson/view/M-R/view/Rave/">Continuous
Integration</a></li>
+<li><a href="https://analysis.apache.org/dashboard/index/58996">Sonar
Dashboard</a></li>
+<li><a href="/edit-website.html">Website</a></li>
+</ul>
+<h1 id="asf">ASF</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a
Sponsor</a></li>
+<li><a href="http://www.apache.org/security/">Security</a></li>
+</ul>
+ </div>
+
+ <div id="content">
+ <h1 class="title"></h1>
+ <p><strong>Managing Static Resources</strong></p>
+<p>Apache Rave uses <a href="http://code.google.com/p/wro4j/">wro4j</a> 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</p>
+<p>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).<br />
+</p>
+<p>Like all other Portal Preferences, changes are effective immediately,
making it useful when you need to debug an issue in a production environment.
</p>
+<p><em>Settings</em></p>
+<p>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 <a
href="http://code.google.com/p/wro4j/">wro4j</a> website for more
information.</p>
+<p><em>Future Enhancements</em></p>
+<p><a href="http://code.google.com/p/wro4j/">wro4j</a> supports a wide variety
of JavaScript and CSS related optimization libraries. As we continue to
improve Rave we will look into expanding its use to CSS as well.</p>
+ </div>
+
+ <div id="footer">
+ <div class="copyright">
+ <p>
+ Copyright © 2012 The Apache Software Foundation, Licensed under
+ the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache
License, Version 2.0</a>.
+ <br />
+ Apache Rave, Apache, the Apache feather logo, and the Apache Rave
project logos are trademarks of The Apache Software Foundation.
+ All other marks mentioned may be trademarks or registered trademarks
of their respective owners.
+ </p>
+ </div>
+ </div>
+
+</body>
+</html>