Page 5 of 6

js not working since upgrade

Posted: Fri Feb 20, 2015 10:35 am
by M&M

Seems like there is a YUI compressor being used during the process and something's going wrong during the generation of the compressed / .min files

http://alchim.sourceforge.net/yuicomp...


js not working since upgrade

Posted: Fri Feb 20, 2015 11:41 am
by Michael4771079

Hi Evegene,
below is from the url in the build log

https://cwiki.apache.org/confluence/d...

"This error is reported in case the execution of a plugin failed due to some unforeseen event. For example, uncatched runtime exceptions caused by the plugin will raise this error. You should report this problem to the maintainer of the
plugin."


js not working since upgrade

Posted: Fri Feb 20, 2015 5:38 pm
by Michael4771079

hi,
it seems I dont have access to this plugin.
Can support tell me if this is fixable?

Thanks


js not working since upgrade

Posted: Sat Feb 21, 2015 6:53 am
by Illya Stepanov

Hi Michael - We will need to investigate this.


js not working since upgrade

Posted: Sat Feb 21, 2015 8:45 am
by M&M

Just curious - Does Appery use Maven internally?


js not working since upgrade

Posted: Sat Feb 21, 2015 8:47 am
by M&M

hi Michael,

Did you try updating the version number in the pom.xml file? Sometimes to fix an error takes a lot of trial an error


js not working since upgrade

Posted: Mon Feb 23, 2015 3:22 pm
by Maryna Brodina

Hi M&M!

Yes, that's right.


js not working since upgrade

Posted: Mon Feb 23, 2015 3:24 pm
by Maryna Brodina

Hello Michael!

Could you clarify if you have Release option enabled in App Settings? If so, disable it, save changes and try exporting app again. Please let us know result.


js not working since upgrade

Posted: Mon Feb 23, 2015 3:26 pm
by Michael4771079

Hi Maryna,
the app builds when release is unchecked.
it just wont build release version


js not working since upgrade

Posted: Mon Feb 23, 2015 3:30 pm
by Maryna Brodina

Oh, I know what's the problem. It's minification feature. We use forced by yui-compressor plugin minification for JS and CSS (Release builds). You need to use correct JS and CSS syntax for yui-compressor plugin. You can check compressing on http://refresh-sf.com/yui/ or any other external yui-compressor resources.

If you want, I can check logs again and post more detailed info from log about JS or CSS which need to be validated and fixed.