Author: buildbot
Date: Sun Nov 16 17:20:00 2014
New Revision: 929422
Log:
Production update by buildbot for tapestry
Modified:
websites/production/tapestry/content/assets.html
websites/production/tapestry/content/cache/main.pageCache
Modified: websites/production/tapestry/content/assets.html
==============================================================================
--- websites/production/tapestry/content/assets.html (original)
+++ websites/production/tapestry/content/assets.html Sun Nov 16 17:20:00 2014
@@ -48,19 +48,13 @@
</div></div>
<div id="top">
-<div id="smallbanner"><div class="searchbox" style="float:right;margin: .3em
1em .1em 1em">
-<p>
-<span style="color: #999; font-size: 90%">Tapestry docs, issues, wikis &
blogs:</span>
-</p><form enctype="application/x-www-form-urlencoded" method="get"
action="http://tapestry.apache.org/search.html">
+<div id="smallbanner"><div class="searchbox" style="float:right;margin: .3em
1em .1em 1em"><span style="color: #999; font-size: 90%">Tapestry docs, issues,
wikis & blogs:</span>
+<form enctype="application/x-www-form-urlencoded" method="get"
action="http://tapestry.apache.org/search.html">
<input type="text" name="q">
<input type="submit" value="Search">
</form>
-</div>
-
-<div class="emblem" style="float:left"><a shape="rect" href="index.html"><img
class="confluence-embedded-image"
src="https://cwiki.apache.org/confluence/download/attachments/21791252/tapestry_s.png?version=3&modificationDate=1293093635000&api=v2"
data-image-src="/confluence/download/attachments/21791252/tapestry_s.png?version=3&modificationDate=1293093635000&api=v2"></a></div>
-<div class="title" style="float:left; margin: 0 0 0 3em">
-<h1 id="SmallBanner-PageTitle">Assets</h1></div></div>
+</div><div class="emblem" style="float:left"><p><a shape="rect"
href="index.html"><img class="confluence-embedded-image
confluence-external-resource"
src="http://tapestry.apache.org/images/tapestry_small.png"
data-image-src="http://tapestry.apache.org/images/tapestry_small.png"></a></p></div><div
class="title" style="float:left; margin: 0 0 0 3em"><h1
id="SmallBanner-PageTitle">Assets</h1></div></div>
<div class="clearer"></div>
</div>
@@ -180,14 +174,22 @@ private Asset style;
<p>Starting in Tapestry 5.4, there is a move to
ensure that all assets are stored under <code>META-INF/assets</code>,
rather than on the general classpath.</p><p>In Tapestry 5.5, assets on the
general classpath will not be supported at all.</p>
</div>
</div>
-<h3 id="Assets-MinimizingAssets">Minimizing Assets</h3><p>Since version 5.3,
Tapestry provides a service, <a shape="rect" class="external-link"
href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/assets/ResourceMinimizer.html">ResourceMinimizer</a>,
which will help to minimize all your static resources (principally CSS and
JavaScript files).</p><p>Minimization takes place before GZip compression. When
aggregating JavaScript for a JavaScriptStack, the minimization is on the
aggregated asset, not the individual assets being aggregated.</p><p>By default,
this service does nothing. You should include a the tapestry-web-resources
library, which makes it possible to minimize CSS and JavaScript files.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader
panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml
(partial)</b></div><div class="codeContent panelContent pdl">
+<h3 id="Assets-MinimizingAssets">Minimizing Assets</h3><p>Since version 5.3,
Tapestry provides a service, <a shape="rect" class="external-link"
href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/assets/ResourceMinimizer.html">ResourceMinimizer</a>,
which will help to minimize all your static resources (principally CSS and
JavaScript files).</p><p>Minimization takes place before GZip compression. When
aggregating JavaScript for a JavaScriptStack, the minimization is on the
aggregated asset, not the individual assets being aggregated.</p><p>By default,
this service does nothing. You should include a the tapestry-yuicompressor
library (for Tapestry 5.3) or tapestry-webresources (for Tapestry 5.4), which
makes it possible to minimize CSS and JavaScript files.</p><div
class="sectionColumnWrapper"><div class="sectionMacro"><div
class="sectionMacroRow"><div class="columnMacro"><div class="code panel pdl"
style="border-width: 1px;"><div class="codeHeader pan
elHeader pdl" style="border-bottom-width: 1px;"><b>For Tapestry 5.3: pom.xml
(partial)</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false"
type="syntaxhighlighter"><![CDATA[<dependency>
+ <groupId>org.apache.tapestry</groupId>
+ <artifactId>tapestry-yuicompressor</artifactId>
+ <version>5.3.1</version>
+</dependency>
+
+]]></script>
+</div></div></div><div class="columnMacro"><div class="code panel pdl"
style="border-width: 1px;"><div class="codeHeader panelHeader pdl"
style="border-bottom-width: 1px;"><b>For Tapestry 5.4: pom.xml
(partial)</b></div><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: xml; gutter: false"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.tapestry</groupId>
- <artifactId>tapestry-web-resources</artifactId>
+ <artifactId>tapestry-webresources</artifactId>
<version>5.4</version>
</dependency>
]]></script>
-</div></div><p>By adding this dependency, all your JavaScript and CSS files
will be minimized when <a shape="rect"
href="configuration.html">PRODUCTION_MODE=true</a>. You can force the
minimization of these files, by changing the value of the constant
SymbolConstants.MINIFICATION_ENABLED in your module class (usually
AppModule.java):</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeHeader panelHeader pdl" style="border-bottom-width:
1px;"><b>AppModule.java (partial)</b></div><div class="codeContent panelContent
pdl">
+</div></div></div></div></div></div><p> </p><p>By adding this dependency,
all your JavaScript and CSS files will be minimized when <a shape="rect"
href="configuration.html">PRODUCTION_MODE=true</a>. You can force the
minimization of these files, by changing the value of the constant
SymbolConstants.MINIFICATION_ENABLED in your module class (usually
AppModule.java):</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeHeader panelHeader pdl" style="border-bottom-width:
1px;"><b>AppModule.java (partial)</b></div><div class="codeContent panelContent
pdl">
<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[@Contribute(SymbolProvider.class)
@ApplicationDefaults
public static void
contributeApplicationDefaults(MappedConfiguration<String, String>
configuration)
Modified: websites/production/tapestry/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.