tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2304) Define a IoC symbol for setting the Google Closure Compiler compilation level
Date Tue, 02 Jun 2015 01:36:17 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568360#comment-14568360
] 

Hudson commented on TAP5-2304:
------------------------------

ABORTED: Integrated in tapestry-trunk-freestyle #1440 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/1440/])
TAP5-2304: Define a IoC symbol for setting the Google Closure Compiler compilation level (hlship:
rev 87832dd4bafcf97442306e92d12d36a101f5aec7)
* tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/GoogleClosureMinimizer.java
* tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java
* tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/WebResourcesSymbols.java


> Define a IoC symbol for setting the Google Closure Compiler compilation level
> -----------------------------------------------------------------------------
>
>                 Key: TAP5-2304
>                 URL: https://issues.apache.org/jira/browse/TAP5-2304
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-webresources
>    Affects Versions: 5.4
>            Reporter: Jochen Kemnade
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>              Labels: configuration, javascript
>             Fix For: 5.4
>
>
> The org.apache.tapestry5.internal.webresources.GoogleClosureMinimizer uses very conservative
settings for JavaScript minimization, all the compiler options are disabled by default.
> To be able to change that behavior (e.g. to apply at least simple optimizations (see
https://developers.google.com/closure/compiler/docs/compilation_levels)), you have to create
a new implementation of org.apache.tapestry5.internal.webresources.AbstractMinimizer and override
Tapestry's default implementation.
> It should be a matter of changing a symbol value or using a different GoogleClosureMinimizer
constructor (maybe one that takes an additional  CompilerOptions).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message