[richfaces-issues] [JBoss JIRA] (RF-13291) Optimized resource ordering is missing resources after recent changes

Brian Leathem (JIRA) jira-events at lists.jboss.org
Mon Oct 28 03:24:01 EDT 2013


    [ https://issues.jboss.org/browse/RF-13291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12825239#comment-12825239 ] 

Brian Leathem commented on RF-13291:
------------------------------------

The reason for the problem was putting the component path in the library attribute of the resource, as in:

{code}
@ResourceDependency(library = "org.richfaces/comon", name = "richfaces-base-component.js")
{code}

when defined in the above manner, the _common_ folder is left out of the inferred relative path of the resource.  Correcting the resource dependency annotation to:
{code}
@ResourceDependency(library = "org.richfaces", name = "common/richfaces-base-component.js")
{code}
resolves the problem.
                
> Optimized resource ordering is missing resources after recent changes
> ---------------------------------------------------------------------
>
>                 Key: RF-13291
>                 URL: https://issues.jboss.org/browse/RF-13291
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: resource handling
>            Reporter: Brian Leathem
>            Assignee: Brian Leathem
>            Priority: Blocker
>             Fix For: 5.0.0.Alpha2
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> With the application of commit [0855b6|https://github.com/richfaces/richfaces/commit/0855b61d55533ad9c1b31555f222608911806cb0] resource optimisation is incorrectly omitting some resources.  For instance the resource base-component.js is not packaged in packed.js.
> This is may be related to the use of resource libraries (_reslibs_) such as base-component.library.properties that interfere with the Resource Optimisation inspection of resource dependencies.

--
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