[
https://issues.jboss.org/browse/RF-10927?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on RF-10927:
---------------------------------
In M3, resource loading strategies has been implemented as follows:
* maven-resources-plugin generates packed/compressed resources into
org.richfaces.staticResource library (distributed in richfaces-components-ui.jar)
* resource compression is turned on in specific project stages defined by JSF
(Development, Production, ...)
** user has ability to redefine which feature is applied in which stage (configuration
supports all JSF stages + keyword All)
** context-param {{org.richfaces.staticResourceCompressedPhases}} - default:
Production,SystemTest
** context-param {{org.richfaces.staticResourcePackedPhases}} - default: none
* user has ability to redefine mapping completely
** {{org.richfaces.staticResourceLocation}} defines location from where should be static
resources served (as in previous versions)
*** default:
#{facesContext.externalContext.requestContextPath}/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/%Features%/#{resourceLocation}
*** where %Features%% stands for {,Packed,Compressed,PackedCompressed}
** {{org.richfaces.staticResourceMappingLocation}} redefines where mapping file is located
on classpath
*** default: META-INF/richfaces/staticResourceMapping/%Features%.properties
Implement resources loading strategies
--------------------------------------
Key: RF-10927
URL:
https://issues.jboss.org/browse/RF-10927
Project: RichFaces
Issue Type: Task
Security Level: Public(Everyone can see)
Components: optimization
Affects Versions: 4.0.0.Milestone1
Reporter: Ilya Shaikovsky
Assignee: Lukáš Fryč
Fix For: 4.1.0.Milestone3
http://community.jboss.org/message/558629#558629
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira