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
0 answers

Sencha Cmd: multiple versions of app.json

I'm looking to release several versions of an app with an identical codebase differing only in the resources packaged. My current approach is keeping one copy of app.json for each different type of deployment, and copying it on top the the app.json…
bwags
  • 998
  • 9
  • 16
2
votes
3 answers

How to run "sencha app watch" without a webserver

I am already serving my ExtJS 5.1 development application on a local (nginx) web server, and I don't need the development webserver from Sencha Cmd when running sencha app watch. Is there any flag or other command equivalent but without running this…
Bruno Finger
  • 2,105
  • 3
  • 27
  • 47
2
votes
1 answer

LiveReload an extjs project using Sencha CMD

How would I go about using LiveReload to work with Sencha CMD. Is there a package that would allow me to do this? sencha app watch only watches files, but it obviously doesn't reload them in the browser, which is what I want. Any best practices out…
jtarr523
  • 261
  • 1
  • 5
  • 16
2
votes
3 answers

Is there any way to disable "idProperty" of Model in Extjs?

I have a simple Model/proxy. When I create a object of model to send to server via REST, ExtJs is generating Id and putting its value in my "id" field and that is conflicting with my data. Is there any way to stop this behavior or to solve this…
Adam Gilly
  • 49
  • 2
  • 9
2
votes
1 answer

d3.js run as app with cordova

Anyone know the commands to make my d3.js directory a cordova project and then run it on a device? When using Sencha cmd I ran sencha cordova init com.mycompany.MyApp MyApp to create the project, then sencha app run native to run the app on my…
now_world
  • 940
  • 7
  • 21
  • 56
2
votes
1 answer

How to get grid (any container) reference in Sencha cmd application?

I have a simple grid with two(add and remove) buttons as docked item in sencha cmd application. I want to delete the selected row. I have grid defined in my view as xtype:'app-main', viewModel: { type: 'main' }, layout:…
Adam Gilly
  • 49
  • 2
  • 9
2
votes
1 answer

Adding multiple views inside a region

I'm new with Sencha EXTjs and want to now how I can combine multiple views inside one viewport (something like include a file inside a div element with PHP). My viewport file contains an South, Center and West region and I want to add a view which…
CodeWhisperer
  • 1,143
  • 2
  • 19
  • 39
2
votes
0 answers

ExtJS 5 Build Error (ExBuild: Failed to compress input)

I have some build errors when try to build my ExtJS application (My OS is Windows 7) app.framework.version=5.0.0.970 app.cmd.version=5.0.0.160 Building failed with an exception: "com.sencha.exceptions.ExBuild" Can you help me to solve this…
AsyncTask
  • 419
  • 1
  • 7
  • 24
2
votes
1 answer

how to disable delta update in Sencha Touch app?

I'm using Sencha Architect to code my sencha touch app. after trying to manually update my app.json to change "update":"delta" to "update":"full". but each time I build the project, I found Sencha Architect appended something to "add the…
zhongzhu
  • 51
  • 3
2
votes
1 answer

Ext JS 5/Sencha CMD : How to run Ext JS app in tomcat server

I want to test my app from tomcat server, so I put my application ext js in my webapp folder and I wrote the correct path of my index.html in the web.xml file. I also modified my app.json like this : "js": [ { "path":…
Mickaël P
  • 365
  • 1
  • 4
  • 13
2
votes
2 answers

Sencha Cmd is not generating ExtJS app

Hi I am trying to learn and getting started with ExtJS (from here). but seems either I am missing something, or bugged by some issue here. Whenever I am trying to execute first basic simple command: sencha generate app -ext Myapp ./app its failed…
Aman Gupta
  • 5,548
  • 10
  • 52
  • 88
2
votes
3 answers

Why do I get an error when upgrading from ExtJS 4.2.1 to ExtJS 5?

I executed the following as specified in the ExtJS 5 upgrade guide: sencha app upgrade -ext And I got this output with error: sencha app upgrade -ext Sencha Cmd v5.0.0.160 [INF] Downloading ext package... [INF] Source File :…
Greg Lafrance
  • 809
  • 15
  • 35
2
votes
1 answer

Sencha Touch - Cannot find global variable in testing and production builds

I cannot seem to access a global variable in Ext.application after I do a production or test build with Cmd 4. This happens during the first application launch. I have read other similar threads but there is nothing new in there that can solve my…
rc1
  • 483
  • 4
  • 19
2
votes
1 answer

Override Ext.js sass/css variable without creating custom theme

Is it possible to just change a few global css variables without creating a whole new theme or ui? I'm trying to set e.g. $form-field-border-width: 0 0 1px 0; by creating MyApp/sass/var/form/field/Base.scss and just dropping the code. I'm using…
Benjamin E.
  • 5,042
  • 5
  • 38
  • 65
2
votes
1 answer

What is the use of Sencha Cmd?

Recently, i came across about Sencha Cmd. http://www.sencha.com/products/sencha-cmd/download It looks like similar to Maven. Please clarify.
Renganathan M G
  • 5,039
  • 2
  • 31
  • 35