[richfaces-issues] [JBoss JIRA] (RF-11800) Allow to pack custom webapp resources using maven-richfaces-resources-plugin by defining own complete order

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Mar 12 11:17:42 EDT 2013


     [ https://issues.jboss.org/browse/RF-11800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč updated RF-11800:
----------------------------

    Description: 
{{maven-richfaces-resources-plugin}} is right now able to scan for {{@ResourceDependency}} occurences, order them and generate referenced resources.

In applications, there are still resources which aren't referenced by components (using {{@ResourceDependency}}).

It should be possible to provide this plugin parameter for file which would list all the resources which should be packed/compressed together with other resources.

This list will also provide ordering (because it can include dependencies on resources used by RF components), e.g.:

{code}
# Styles
skinning.css
my-custom.css
# Scripts
jquery.js
my-custom.js
{code}

This feature assumes that user is using JSF resource loading mechanism for referencing external resources ({{<h:outputScript />}} / {{<h:outputStylesheet />}}).

  was:
{{maven-richfaces-resources-plugin}} is right now able to scan for {{@ResourceDependency}} occurences, order them and generate referenced resources.

In applications, there are still resources which aren't referenced by components (using {{@ResourceDependency}}).

It should be possible to provide this plugin parameter for file which would list all the resources which should be packed/compressed together with other resources.

This list will also provide ordering (because it can include dependencies on resources used by RF components), e.g.:

{code}
# Scripts
jquery.js
my-custom.js
# Styles
skinning.css
my-custom.css
{code}

This feature assumes that user is using JSF resource loading mechanism for referencing external resources ({{<h:outputScript />}} / {{<h:outputStylesheet />}}).


    
> Allow to pack custom webapp resources using maven-richfaces-resources-plugin by defining own complete order
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: RF-11800
>                 URL: https://issues.jboss.org/browse/RF-11800
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: resource handling
>    Affects Versions: 4.1.0.CR2
>            Reporter: Lukáš Fryč
>             Fix For: 5-Tracking
>
>
> {{maven-richfaces-resources-plugin}} is right now able to scan for {{@ResourceDependency}} occurences, order them and generate referenced resources.
> In applications, there are still resources which aren't referenced by components (using {{@ResourceDependency}}).
> It should be possible to provide this plugin parameter for file which would list all the resources which should be packed/compressed together with other resources.
> This list will also provide ordering (because it can include dependencies on resources used by RF components), e.g.:
> {code}
> # Styles
> skinning.css
> my-custom.css
> # Scripts
> jquery.js
> my-custom.js
> {code}
> This feature assumes that user is using JSF resource loading mechanism for referencing external resources ({{<h:outputScript />}} / {{<h:outputStylesheet />}}).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list