sencha-cmd

build.xml ignoring <echo> tags and if options

我与影子孤独终老i 提交于 2019-12-13 07:25:55
问题 I have a sencha Ext.js project and I am trying to get user input and take action based on that user input in my build.xml file. Here's my build.xml : <?xml version="1.0" encoding="utf-8"?> <project xmlns:if="ant:if" xmlns:unless="ant:unless" name="PSOGN" default=".help"> <import file="${basedir}/.sencha/app/build-impl.xml"/> <target name="-after-build"> <echo>57 ...</echo> <property name="realperl" value="/usr/bin/perl"/> <echo>59 ...</echo> <exec executable="/bin/hostname" outputproperty=

How to increase Java Heap Memory for CMD 6.1.1.76

爷,独闯天下 提交于 2019-12-12 16:41:30
问题 How to increase Java Heap Memory for CMD 6.1.1.76 ? I think these are no longer valid methods: http://www.ladysign-apps.com/developer/java-heap-exception-when-using-sencha-cmd/#.VxQIauMrJTY https://www.sencha.com/forum/showthread.php?251529-Java-Heap-Size 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 5.1.1.39 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 3.10.2.342 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 'h.call(w,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 3.1.2.342 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