-
2 Nov 2012 1:12 PM #1
2 possible bugs/issues with v3.0.0.230
2 possible bugs/issues with v3.0.0.230
I'm running this on Windows XP SP3.
ExtJS v4.1.1a commercial.
Quite possibly I just have something configured wrong...
#1
Whenever I run "sencha app build", I get a new (empty) directory called "build" (one level above at the level of my application directory).
The "build" directory inside my application directory is created and populated correctly...it's just weird getting that extra "build" directory above.
#2
The build "process" did not detect that I had an xtype=form, with standardSubmit = true.
Once I added 'Ext.form.action.StandardSubmit' to the requires array in the app.js, all was good...but I would have expected the process to detect it's requirement from the code.
Are these problems mine (configuration/understanding), or elsewhere?
Thanks.
-
5 Nov 2012 7:25 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
#1 Is the build directory weird or the app name directory within the build directory? Remember you can have multiple workspaces now so I'm not too sure why it's weird.
#2 Cmd will auto-detect some things but not everything yet. It's a good rule of thumb that if the Ext JS class you are extending does not require it, you must. For your case, neither Ext.form.Panel and Ext.form.Basic require Ext.form.action.StandardSubmit so you must.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
5 Nov 2012 8:14 AM #3
#1
I'm using the default "build" directory name: build.
The app name is "Locator".
I checked two other projects that I've been working on, and it's not happening there.
The only thing I note that's different is that the Eclipse project name & main folder has underscores "_" in the folder name.
#2
Understood. It just means that we need to remember to test every single part of the UI after a code change to be sure we've confirmed that all library code we need has been added.
But, that's reasonable.
Thanks.
-Chris
-
6 Nov 2012 8:03 AM #4
#1
I appear to have tracked down where the issue is:
If I leave the default (initial) setting:
in .sencha/workspace/sencha.cfg, then I get that extra (but empty) "build" folder.Code:workspace.build.dir=${workspace.dir}/build/${app.name}
If however, it set it to something else like:
I then don't appear to get any extra folders created anywhere.Code:workspace.build.dir=${workspace.dir}/../../PrecompiledWeb/${app.name}
-Chris
-
13 Nov 2012 12:53 AM #5
We are missing some entries in our auto-dependency configuration file ... for standardSubmit - thanks!
You found a bug! We've classified it as
SDKTOOLS-253
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote