[
https://issues.jboss.org/browse/RF-11509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634075#comment-12634075
]
Lukáš Fryč commented on RF-11509:
---------------------------------
Hi guys, what you have reported are are three independent issues actually:
(1) maven-resources-plugin generates xyz/js files instead of xyz.js (RF-11501)
* fixed in develop (CR1)
(2) 'DEFAULT' and 'plain' skin wasn't packaged in 4.1.0.20111011-M3 by mistake
* I'm going to add them to build in develop (CR1)
* as the workaround, you can disable resource compression OR generate them
directly to your WAR (I can provide details if needed)
Workaround for turning off compression:
{code:XML}
<context-param>
<param-name>org.richfaces.staticResourceCompressedPhases</param-name>
<param-value></param-value>
</context-param>
{code}
(3) Unable to find or serve resource
* in develop (CR1), I have added versioning of resources (RF-11505)
* Brian, you may have been working with stale core impl and new components
which may cause your issue
** updating project with latest snapshots (or building upstream from source)
will solve the issue
> Richfaces resources fail to load in 4.1M3
> -----------------------------------------
>
> Key: RF-11509
> URL: https://issues.jboss.org/browse/RF-11509
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.1.0.Milestone3
> Reporter: Cody Lerum
> Assignee: Lukáš Fryč
> Priority: Blocker
> Fix For: 4.1.0.Milestone3
>
>
> After updating to M3 resources are failing to load.
> Logs show messages like this
> {code}
> 20:40:16,393 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-2) JSF1091: No mime type could be found for file
> jquery/js. To resolve this, add a mime-type mapping to the applications
> web.xml.
> 20:40:16,400 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-2) JSF1091: No mime type could be found for file
> richfaces/js. To resolve this, add a mime-type mapping to the applications
> web.xml.
> 20:40:16,401 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-2) JSF1091: No mime type could be found for file
> richfaces-queue/js. To resolve this, add a mime-type mapping to the
> applications web.xml.
> 20:40:16,405 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-2) JSF1091: No mime type could be found for file
> richfaces-base-component/js. To resolve this, add a mime-type mapping to the
> applications web.xml.
> 20:40:16,406 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-2) JSF1091: No mime type could be found for file
> richfaces-event/js. To resolve this, add a mime-type mapping to the
> applications web.xml.
> 20:40:16,504 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-3) JSF1091: No mime type could be found for file
> org.richfaces.staticResource/Compressed/DEFAULT/jquery/js. To resolve this,
> add a mime-type mapping to the applications web.xml.
> 20:40:16,516 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-3) JSF1091: No mime type could be found for file
> org.richfaces.staticResource/Compressed/DEFAULT/jquery/js. To resolve this,
> add a mime-type mapping to the applications web.xml.
> 20:40:16,525 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-3) JSF1091: No mime type could be found for file
> org.richfaces.staticResource/Compressed/DEFAULT/richfaces/js. To resolve
> this, add a mime-type mapping to the applications web.xml.
> 20:40:16,526 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-3) JSF1091: No mime type could be found for file
> org.richfaces.staticResource/Compressed/DEFAULT/richfaces/js. To resolve
> this, add a mime-type mapping to the applications web.xml.
> 20:40:16,532 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-2) JSF1091: No mime type could be found for file
> org.richfaces.staticResource/Compressed/DEFAULT/richfaces-queue/js. To
> resolve this, add a mime-type mapping to the applications web.xml.
> 20:40:16,533 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-2) JSF1091: No mime type could be found for file
> org.richfaces.staticResource/Compressed/DEFAULT/richfaces-queue/js. To
> resolve this, add a mime-type mapping to the applications web.xml.
> 20:40:16,558 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-6) JSF1091: No mime type could be found for file
> org.richfaces.staticResource/Compressed/DEFAULT/richfaces-base-component/js.
> To resolve this, add a mime-type mapping to the applications web.xml.
> 20:40:16,559 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-3) JSF1091: No mime type could be found for file
> org.richfaces.staticResource/Compressed/DEFAULT/richfaces-event/js. To
> resolve this, add a mime-type mapping to the applications web.xml.
> 20:40:16,559 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-6) JSF1091: No mime type could be found for file
> org.richfaces.staticResource/Compressed/DEFAULT/richfaces-base-component/js.
> To resolve this, add a mime-type mapping to the applications web.xml.
> 20:40:16,560 WARNING [javax.enterprise.resource.webcontainer.jsf.context]
> (http--127.0.0.1-8080-3) JSF1091: No mime type could be found for file
> org.richfaces.staticResource/Compressed/DEFAULT/richfaces-event/js. To
> resolve this, add a mime-type mapping to the applications web.xml.
> {code}
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues