Hi Werner,
After removing the comments of
<!--
<repository>
<id>Codehaus Snapshots</id>
<url>http://snapshots.repository.codehaus.org/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
-->
and
<!--
disabled for now must be enabled to enable javascript compression
<pluginRepository>
<id>Codehaus Snapshots</id>
<url>http://snapshots.repository.codehaus.org/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
-->
I still don't get any jsf.js neither in api not in impl. Can you please
explain in more detail how this is meant to work, so I can try and debug it?
Best regards,
Ganesh
Werner Punz schrieb:
Werner Punz schrieb:
Hello since I was asked yesterday.
We have a concatenation and build module integrated into the myfaces
2.0 script compression!
Since we are currently bound to the offical alpha release quality
build plugin by maven it is bound to changes.
If anyone wants to enable it (it is currently disabled by comments in
the build process) turn off compression, I am currently adding the
latest plugin changes, and i am fixing some minor javascript issues
the yahoo compressor is choking on!
So, concatenation currently works, compression will be fixed by me
today!
Werner
Ok guys it works now again, just uncomment in the main pom.xml and in
the api pom.xml the sections dealing with the javascript compression
and it should work.
Never mind that the YUI compressor throws a load of warnings, most of
them if not all of them are simply false, the YUI compressor seems to
have become somewhat overreactive with its warnings, often showing
unused vars in sections where they are clearly used!
The final non compressed jsf file has 3000-4000 locs and the YUI
compressor achieves 54% compression rate!
The final file has currently 56 kbyte which is an acceptable size
given that it does more things than the RI!
Since we also have our own compression plugin, I have not enabled it
due to not being able to get it working.
I personally think in the long run we should go with the official
compression plugin anyway, but I have somewhat of a stomach ache due to
running an alpha quality plugin in our build process!
Werner