How to increase Java Heap Memory for CMD

爷,独闯天下 提交于 2019-12-12 16:41:30
问题 How to increase Java Heap Memory for CMD ? I think these are no longer valid methods: I'm getting a Java heap exception when running sencha app build specifically while slicing images (I don't want to skip this) 回答1: You have to edit sencha.cfg file which is located in your Cmd folder. If you are on Windows - most probably

Sencha app build production successfully,but the production page fails to load with .js not found error

久未见 提交于 2019-12-12 05:40:55
问题 I am using Extjs 5 ,sencha cmd 5 and extjs sencha charts. My app's index.html in the 'app' directory works fine,and sencha app build successfully. When I go to the production package to load the production index.html,the console gives me the error '.js not found' ,the log below: GET http://localhost:8080/build/production/recommendation/.js?_dc=1431411762018 404 (Not Found) Ext.Boot.Ext.Boot.d.fetch Ext.Boot.Ext.Boot.r.fetch Ext.Boot.Ext.Boot.r.loadSync Ext.Boot.Ext.Boot.r.load Ext.Boot.Ext

Javascript Sencha cmd app build error occurred while executing this line

偶尔善良 提交于 2019-12-12 04:55:15
问题 I am trying to create a touch app using Cordova on a Mac. However when I run this code sencha app build native testing I get this error: Sencha Cmd v5.1.2.52 [INF] Processing Build Descriptor : native [INF] Loading app json manifest... [INF] Concatenating output to file /Users/h/Documents/Dev/testing/thisApp/build/temp/testing/thisApp/sencha-compiler/cmd-packages.js [INF] writing content to /Users/h/Documents/Dev/testing/thisApp/bootstrap.js [INF] appending content to /Users/h/Documents/Dev

Sencha CMD - Build Error: Mixed-Mode x-compile and microload markup is currently unsupported

无人久伴 提交于 2019-12-12 04:54:45
问题 Good day, I am trying to build my ExtJS 4.2 application and I am using Sencha Architect 3.1 and Sencha CMD for the OSX. I was following this tutorial on how to build from the Terminal, and as expected, I got this error: com.sencha.exceptions.ExBuild: Mixed-Mode x-compile and microload markup is currently unsupported Upon googling, I came upon this thread from Sencha discussing how to get around this error. What I did next was to remove lines from my app.json file which originally

Secha ExtJs workspace and multiple pages(apps)

天大地大妈咪最大 提交于 2019-12-12 03:37:08
问题 I understand how to create and use multiple pages(or apps) within a workspace and build them. I am kind of confused about how do you make these multiple apps talk to each other ? lets say I have two apps in my workspace - App1 and App2. I can use routing and make apps talk to each other if the value is simple enough(like a user id). What If i have to send multiple id's or data from App1 to App2 ? 回答1: I think you have a few options available. URL Parameters that you parse when instantiating

Sencha build error when viewed in browser

强颜欢笑 提交于 2019-12-12 01:28:10
问题 I have finally managed to create a production build of my sencha web app using Cmd and touch 2.2.1 All my bespoke files are included and deltas are created as one would expect. However, when I run it in the browser, it stalls at the loading view. Console log says: TypeError: 'undefined' is not a function (evaluating ',w)') I have traced the error to Ext.application({... in app.js. I have tried the following changes, but still get errors: new Ext.application({... Ext

Sencha touch production build errors

别等时光非礼了梦想. 提交于 2019-12-11 22:17:29
问题 Using touch 2.1.0 and Cmd Whilst trying to create a production version of my sencha app, I get the following error: [WRN] C1003: Unsupported Ext.define syntax -- C:\wamp\www\touch-2.1.0\axis\nativ e\appname\touch\src\fx\TimingFunctions.js:109 [ERR] C2008: Requirement had no matching files (Ext.fx.TimingFunctions) -- C:\wa mp\www\touch-2.1.0\axis\native\appname\touch\src\fx\Abstract.js:959 [ERR] The following error occurred while executing this line: C:\wamp\www\touch-2.1.0\axis

Reduce size/number of files being downloaded from EXTJS app

帅比萌擦擦* 提交于 2019-12-11 18:37:08
问题 I used Sencha CMD to build an app and want to ensure that I'm only downloading what is required for the app to run. I have read some places that the way to do this is by using the Required [] clause to only include the required classes, however I don't think I understand this clearly. For example I have a page that has an {xtype: 'grid'} within it, but I haven't put Requires : [ 'Ext.grid.Panel' ], yet it still displays properly. In my mind if I haven't included the requires, and CMD is doing

How do I build a sencha app to target production in a specific folder?

人走茶凉 提交于 2019-12-11 07:15:52
问题 Using the latest Sencha Cmd tool v4.0.2, how do I build an app for production mode into a specific folder not into its default build folder within the app folder. I am trying to do this from the command line but not succeeding at all. Tried this according to their help on command line but had no success with it for several weeks now: Sencha Cmd broken: Why does 'app build' ignore any command line parameters? No-one seems to know what the issue is. Am I the only person in the world who is

Dynamically Load Extjs Modular application

做~自己de王妃 提交于 2019-12-11 02:06:23
问题 I am in to developing a large client side app with very complex views on each modules using Extjs5. I have developed apps in Extjs but they all compile to a single app.js file. So based on the complexity of the views in all the app mockups I am estimating the size of the app will be around 20MB to 25MB even after compiled. I was thinking to split the modules as separate applications and create a master app with tabs or something, which triggered will be loading individual apps in a iFrame