we are using Richfaces in a JBoss portal portlet environment. While analyzing the performance of our application, we saw, that every portlet is loading it's own js and css packages, which leads to a huge overhead of files to be transferred. Now we tried to combine the Richfaces js and css files to one file and load them inside the layout. This works great for js, but some Richfaces component are not renedered correctely, due to the dynamic resource creation for images from xcss files.
We cannot use Maven in our project, so this article does not help: https://community.jboss.org/wiki/MavenResourceDependencyPluginReference
Is there any other way to combine all Richfaces css files into one, e.g. using ANT?
JBoss Portal 2.7.2
Thanks and best regards,