Questions tagged [sencha-cmd]

For questions related to sencha's command tool.

Sencha Cmd is the cornerstone to build your Sencha application. From scaffolding a new project, to minifying and deploying your application to production, Sencha Cmd provides a full set of lifecycle management features to compliment your Sencha project.

Sencha CMD can be downloaded on Sencha's download site. Installers are available for Mac, Windows and Linux (64 bit, 32 bit).

For more command line options, you can check the Sencha CMD Documentation for Sencha Ext JS or the Documentation for Sencha Touch.

538 questions
2
votes
1 answer

Sencha Cmd broken: Why does 'app build' ignore any command line parameters?

I've upgraded Sencha cmd to v4 and I used to be able to build to a specific archive path and destination path. This was crucial as the build server removes the source code folder and archive path for each build. I had the paths output on the IIS…
jaffa
  • 26,770
  • 50
  • 178
  • 289
2
votes
1 answer

Why is Sencha Cmd not compiling my custom sass files

UPDATE - when I put the file here, it works, the scss file is compiled into a css file. \workspace\packages\amc-custom-theme\sass\etc\extra.scss But a line in index.html referencing the new css file is not added. How do I make that happen? I'm…
Greg Lafrance
  • 809
  • 15
  • 35
2
votes
1 answer

Why do I get YUI Parse Error with sencha app build?

I've just started using Sencha Cmd, but the first time I ran sencha app build I get errors like this: YUI Parse Error (invalid property id => (Ext.cmd.derive('atlas.wizard.base.store.WizardStore' Parse Error (missing name after . operator => var…
Greg Lafrance
  • 809
  • 15
  • 35
2
votes
1 answer

How to design permissions and conditional loading in extjs

Background I have to migrte a existing javascript application (one page app) to extjs. The display and behavior of the application depends on the users permission. Current design The application is divided into plugins, which represent a feature set…
Lorenz Meyer
  • 19,166
  • 22
  • 75
  • 121
2
votes
0 answers

ExtJS 4.2.1 - Building Custom Themes - Build Failure Error: com.sencha.exceptions.BasicException: Unknown image type 0

When I follow the steps on the Sencha Docs URL: http://docs.sencha.com/extjs/4.2.1/#!/guide/theming I get to the step titled "Generating an Application for Testing the Theme" and I do a sencha app build I get the following error: [INF] Capture…
anad2312
  • 787
  • 2
  • 8
  • 20
2
votes
1 answer

Ext 4.2, Sencha Cmd 3 + deftjs - Can't build a working applicaton

I've upgraded my build tools for an ext + deftjs application from Sencha SDK to Sencha Cmd (v3). In doing so I also upgraded Ext to 4.2 and Deft to Ext 0.8. I initially had a problem with Ext.onReady() not being fired, resulting in my…
Rob Squires
  • 2,108
  • 16
  • 15
2
votes
1 answer

How can I tell sencha cmd to stop obfuscate my files?

I guess here is not the best place to ask, but I can't find or get help anywhere else. How can I tell sencha cmd to stop obfuscate my files? I have third party library Strophejs and there is somethink like: var Strophe; ofcource after sencha app…
Vytautas
  • 3,509
  • 1
  • 27
  • 43
2
votes
1 answer

Sencha Cmd Fails to Generate app in certain directories

I am using Sencha Cmd v3.1.0.239 on windows 7 and am trying to get down the basics of creating an extJS application. Currently I have run into a strange problem where it cannot build the application depending on the target directory I specify. In…
OrwellHindenberg
  • 4,988
  • 8
  • 38
  • 58
2
votes
1 answer

Sencha native app error st-res/templates/stbuild_template_sim.app/ does not exists

I'm trying to build a native application from sencha cmd using sencha app build native and everything seems to work fine until it gets to this part: failed running native packager [ERR] Source directory: st-res/templates/stbuild_template_sim.app/…
pedro cepeda
  • 41
  • 1
  • 6
2
votes
2 answers

Sencha touch installation on Mac OSX

I've been trying to install Sencha Touch 2 on my mac but without any success. Initially I - Downloaded the latest Sencha SDK and it created a touch-2.1.1 folder. Downloaded and installed latest Sencha SDK tools 2.0.0 - Beta 3. Downloaded and…
Tushar Koul
  • 2,830
  • 3
  • 31
  • 62
2
votes
2 answers

How do I create a production build/minified scripts for Sencha Touch app?

There doesn't seem to be documentation on how to build a production mode app for ST2 using Sencha Cmd utility on their web site anywhere. Can anyone point me in the right direction?
jaffa
  • 26,770
  • 50
  • 178
  • 289
2
votes
1 answer

buildPaths in app.json Sencha Touch 2.1 seems to be removed

In my Sencha 2.0 App I had this in the app.json to defined where it should put the "compiled" javascript, but in Sencha 2.1 example apps its removed. It isnt respected after I updated to Sencha 2.1, anyone ones what happend to this? /** * Default…
Thomas Vervik
  • 4,325
  • 9
  • 36
  • 64
2
votes
1 answer

Packaging a sencha touch application with sencha cmd

I've made my app and now I want to package it so I goto my application directory in terminal containing /app /app.js /app.json /resources /index.html /touch I run sencha app build package and I run into [ERR] Please ensure this command was…
Tarang
  • 75,157
  • 39
  • 215
  • 276
1
vote
1 answer

How to manually load data in sencha Ext js from API without using "autosync" & "autoLoad: true"?

Ext.define('EmpMgmt.store.Personnel', { extend: 'Ext.data.Store', alias: 'store.personnel', model: 'EmpMgmt.model.Personnel', fields: [ { name: 'name' }, { email: 'email' }, { phone: 'phone' }, ], proxy: { type: 'rest', …
1
vote
1 answer

XML Parsing Error: not well-formed for bootstrap.js file- Firefox

On Loading the Ext JS application in Firefox I observe XML error where bootstrap file is loaded as XML file instead of JSON. As per my understanding content-type has to be defined in file but since bootstrap file is first to load where else to…