Question

i executed following command for creating a sample app in extjs.

C:\Sencha\apps\HelloExt>sencha -sdk c:\apache-tomcat-7.0.50\webapps\apps\extjs\ext-4.2.1.883 generate app HelloExt .

It creates a app named HelloExt at C:\Sencha\apps\HelloExt location , but it created ext and build directories on C:\

because of this when i launch a sencha web start it gives me error for ext and build directory.

when i gone through the ExtJS documentation it says that this commnad should create the ext and build directory as well.

http://docs.sencha.com/extjs/4.2.2/#!/guide/command_app

i doubt if i am missing some configuration setting, help is appreciated.

Thanks.

Was it helpful?

Solution 2

The issue was with the workspace.

i did not created the workspace anytime but i don't know how it got created and hence it was referring to the paths defined in workspace conf file.

I manually deleted the workspace directory and then i tried generating the app with the above command, now it created the proper directory structure as shown in sencha docs.

i used the following command to generate the app.

C:\Sencha\apps\HelloExt>sencha -sdk c:\apache-tomcat-7.0.50\webapps\apps\extjs\ext-4.2.1.883 generate app HelloExt .

Thanks.

OTHER TIPS

Rather try using the whole path.

C:\Sencha\apps>sencha -sdk c:\apache-tomcat-7.0.50\webapps\apps\extjs\ext-4.2.1.883 generate app HelloExt C:\Sencha\apps\HelloExt

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top