Sencha CMD build process applies to existing ExtJs 4.1 application

I am trying to modify the sencha CMD build environment for an existing EXTjs 4.1 application. All coding conventions mentioned in http://docs.sencha.com/ext-js/4-1/#!/guide/command_code are respected. However, I was stuck at the compilation stage with the error java.lang.OutOfMemoryError: GC overhead limit exceeded .

I suspect that this may be circular dependence, but cannot be sure. Has anyone tried using sencha CMD in an existing Ext application? Also can you tell me how to increase the memory used by Ant to start the build process?

Any hints or pointers to additional information are much appreciated.

thanks

+4
source share
1 answer

I had a similar problem for about the same time period as you. This seems to be a problem with Sencha CMD 3.0 and 64-bit JVMs. You need to double a bunch of space. This link has an answer for increasing heap size: http://www.sencha.com/forum/showthread.php?251529-Java-Heap-Size

I will say that if you did not initially create your application using the "sencha generate app" command, it will be very difficult for you. The directory structure is very fragile and should exactly match the expected Sencha CMD utility.

Hope this helps. Good luck

+6
source

All Articles