These warnings is what I get too in my production code. They don't affect anything. I just suppress these on production machines. I run glassfish servers and it works fine.
On Jan 6, 2013, at 1:30 PM, bhorvat <horvat.z.bo...@gmail.com> wrote: > I am running my code locally now and setting the production-mode flag to > true. It seems that on jetty this problem is not present (my production code > runs on Tomcat 7 on AWS so I think that is there it fails). However I do see > some warning > > AssetsModule.ResourceMinimizer JavaScript compression problems for resource > 'core' JavaScript stack, for locale en, > resources=classpath:org/got5/tapestry5/tapestry.js, > classpath:org/got5/tapestry5/jquery/jquery_core/jquery-1.7.2.min.js, > classpath:org/got5/tapestry5/jquery/ui_1_8_19/minified/jquery.ui.core.min.js, > classpath:org/got5/tapestry5/jquery/ui_1_8_19/minified/jquery.ui.position.min.js, > classpath:org/got5/tapestry5/jquery/ui_1_8_19/minified/jquery.ui.widget.min.js, > classpath:org/got5/tapestry5/jquery/ui_1_8_19/minified/jquery.effects.core.min.js, > classpath:org/got5/tapestry5/jquery/jquery.json-2.2.js, > classpath:org/got5/tapestry5/jquery/ui_1_8_19/minified/jquery.effects.highlight.min.js, > classpath:org/got5/tapestry5/jquery/jquery.effects.show.js, > classpath:org/apache/tapestry5/underscore_1_3_3.js, > classpath:org/apache/tapestry5/t5-core.js, > classpath:org/apache/tapestry5/t5-spi.js, > classpath:org/got5/tapestry5/jquery/t5-jquery.js, > classpath:org/apache/tapestry5/t5-init.js, > classpath:org/apache/tapestry5/t5-pubsub.js, > classpath:org/apache/tapestry5/t5-events.js, > classpath:org/got5/tapestry5/jquery/t5-dom-jquery.js, > classpath:org/got5/tapestry5/jquery/t5-console-jquery.js, > classpath:org/got5/tapestry5/jquery/t5-ajax-jquery.js, > classpath:org/apache/tapestry5/t5-formfragment.js, > classpath:org/got5/tapestry5/jquery/t5-alerts-jquery.js, > classpath:org/got5/tapestry5/jquery/tapestry-jquery.js, > classpath:org/apache/tapestry5/tapestry-console.js, > classpath:org/got5/tapestry5/jquery/t5-tree-jquery.js, > classpath:org/apache/tapestry5/tapestry-messages.js: > > [WARN] AssetsModule.ResourceMinimizer The symbol b is declared but is > apparently never used. > This code can probably be written in a more compact way. > :function(a){for(var ---> b <--- in a){return!1;}return > [WARN] AssetsModule.ResourceMinimizer The symbol i is declared but is > apparently never used. > This code can probably be written in a more compact way. > var d,e,g,h, ---> i <--- ;for(d=0,e=b > [WARN] AssetsModule.ResourceMinimizer The symbol h is declared but is > apparently never used. > This code can probably be written in a more compact way. > Array(d),g=d, ---> h <--- =d,j=d<=1&&a > [WARN] AssetsModule.ResourceMinimizer The symbol l is declared but is > apparently never used. > This code can probably be written in a more compact way. > ,h,i,j,k, ---> l <--- ,m,n,o,p=c > [WARN] AssetsModule.ResourceMinimizer The symbol q is declared but is > apparently never used. > This code can probably be written in a more compact way. > p=c.createElement("div"), ---> q <--- > =c.documentElement;p.setAttribute("className" > [WARN] AssetsModule.ResourceMinimizer The symbol h is declared but is > apparently never used. > This code can probably be written in a more compact way. > ){var d,e,g, ---> h <--- ,i,j,l,m,n > [WARN] AssetsModule.ResourceMinimizer The symbol q is declared but is > apparently never used. > This code can probably be written in a more compact way. > ,m,n,o,p, ---> q <--- ,r,s;if(!(a > [WARN] AssetsModule.ResourceMinimizer The symbol u is declared but is > apparently never used. > This code can probably be written in a more compact way. > ,q,r,s,t, ---> u <--- ;g[0]=c,c. > [WARN] AssetsModule.ResourceMinimizer The symbol g is declared but is > apparently never used. > This code can probably be written in a more compact way. > .relatedTarget,e=a.handleObj, ---> g <--- =e.selector,h;if(! > [WARN] AssetsModule.ResourceMinimizer The symbol h is declared but is > apparently never used. > This code can probably be written in a more compact way. > var c,e,f,g, ---> h <--- ,i,j,k=b[1 > [WARN] AssetsModule.ResourceMinimizer The symbol bind is declared but is > apparently never used. > This code can probably be written in a more compact way. > ){};_.bind=function ---> bind <--- (func,context){var bound,args > [WARN] AssetsModule.ResourceMinimizer The symbol spi is declared but is > apparently never used. > This code can probably be written in a more compact way. > {var _=T5._;var ---> spi <--- =T5.spi;var exceptionContainer,iframe, > [WARN] AssetsModule.ResourceMinimizer The symbol form is declared but is > apparently never used. > This code can probably be written in a more compact way. > (spec.element+"-hidden");var ---> form <--- =$(hidden.form);var opts > [WARN] AssetsModule.ResourceMinimizer The symbol options is declared but is > apparently never used. > This code can probably be written in a more compact way. > if(fragment){}else{var ---> options <--- ={};container.fadeOut("slow", > [WARN] AssetsModule.ResourceMinimizer The symbol url is declared but is > apparently never used. > This code can probably be written in a more compact way. > return$.tapestry.utils.ajaxRequest( ---> url <--- ,{success:options});}var > > AssetsModule.ResourceMinimizer Minimized 'core' JavaScript stack, for locale > en, resources=classpath:org/got5/tapestry5/tapestry.js, > classpath:org/got5/tapestry5/jquery/jquery_core/jquery-1.7.2.min.js, > classpath:org/got5/tapestry5/jquery/ui_1_8_19/minified/jquery.ui.core.min.js, > classpath:org/got5/tapestry5/jquery/ui_1_8_19/minified/jquery.ui.position.min.js, > classpath:org/got5/tapestry5/jquery/ui_1_8_19/minified/jquery.ui.widget.min.js, > classpath:org/got5/tapestry5/jquery/ui_1_8_19/minified/jquery.effects.core.min.js, > classpath:org/got5/tapestry5/jquery/jquery.json-2.2.js, > classpath:org/got5/tapestry5/jquery/ui_1_8_19/minified/jquery.effects.highlight.min.js, > classpath:org/got5/tapestry5/jquery/jquery.effects.show.js, > classpath:org/apache/tapestry5/underscore_1_3_3.js, > classpath:org/apache/tapestry5/t5-core.js, > classpath:org/apache/tapestry5/t5-spi.js, > classpath:org/got5/tapestry5/jquery/t5-jquery.js, > classpath:org/apache/tapestry5/t5-init.js, > classpath:org/apache/tapestry5/t5-pubsub.js, > classpath:org/apache/tapestry5/t5-events.js, > classpath:org/got5/tapestry5/jquery/t5-dom-jquery.js, > classpath:org/got5/tapestry5/jquery/t5-console-jquery.js, > classpath:org/got5/tapestry5/jquery/t5-ajax-jquery.js, > classpath:org/apache/tapestry5/t5-formfragment.js, > classpath:org/got5/tapestry5/jquery/t5-alerts-jquery.js, > classpath:org/got5/tapestry5/jquery/tapestry-jquery.js, > classpath:org/apache/tapestry5/tapestry-console.js, > classpath:org/got5/tapestry5/jquery/t5-tree-jquery.js, > classpath:org/apache/tapestry5/tapestry-messages.js (242,664 input bytes of > JavaScript to 158,505 output bytes in 272.27 ms, 34.68% reduction) > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/tapestry-yuicompressor-minimization-problem-tp5719156p5719157.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org