[richfaces-issues] [JBoss JIRA] (RF-13224) RF 4.5 build fails to render optimized resources

Michal Petrov (JIRA) jira-events at lists.jboss.org
Thu Oct 3 12:07:02 EDT 2013


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

Michal Petrov commented on RF-13224:
------------------------------------

The issue with files under {{org.richfaces}} is in their MIME type being incorrectly determined. (This affects {{*.js}} files and several images such as {{node_icon.gif}}). Instead of their proper types they are all being treated as {{application/octet-stream}} and skipped.
{code}
…
[DEBUG] checking org.richfaces:calendar.js
[DEBUG] filtered out resource: org.richfaces:calendar.js (resource rendering will be skipped)
[DEBUG]  - content-type: application/octet-stream, qualifier: org.richfaces:calendar.js
[DEBUG] checked org.richfaces:calendar.js: skinDependent: false, skipped: true
[DEBUG] Skipped resource rendering: org.richfaces:calendar.js
…
{code}

Don't know what's the cause, the files themselves have their proper type.
                
> RF 4.5 build fails to render optimized resources
> ------------------------------------------------
>
>                 Key: RF-13224
>                 URL: https://issues.jboss.org/browse/RF-13224
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: resource handling
>    Affects Versions: 4.5.0.Alpha1
>            Reporter: Lukáš Fryč
>            Assignee: Michal Petrov
>             Fix For: 4.5.0.Alpha1
>
>
> -I believe it's caused by:-
> https://github.com/richfaces/richfaces/commit/46b03d226ae420bcbc8abd7f79ed5790f2bb6dc4
> This is no longer an issue.
> Current issues:
> * packed.js is not generated, .js files do not seem to be handled by the plugin at all
> * some images are not rendered, e.g. gradientA.png (used in several components for background), it is not defined in resource-mappings.properties

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