-
2 Oct 2012 9:18 AM #1
Using 'upgrade' command overwrites files
Using 'upgrade' command overwrites files
After installing Cmd build 181, I ran the 'upgrade' command, like so:
$ cd path/to/app
$ sencha app upgrade -p path/to/ext
All of my app files were regenerated from scratch! Same with the resources folder. Yikes.
Fortunately, I use git, and also a .sencha_backup folder was generated - which had everything
I needed in it.
-
5 Oct 2012 10:58 PM #2
Certainly if any source was overwritten that would be a bug. Which files in particular were overwritten?
Don Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
-
5 Oct 2012 11:05 PM #3
-
5 Oct 2012 11:08 PM #4
I have opened a bug in our bug tracker. Thanks for the specifics.
-
6 Oct 2012 11:26 AM #5
all app/ and resources/ files
all app/ and resources/ files
I noticed this with ALL files in my app/ and resources/ directories.
Everything was regenerated, as if a brand new app.
-
6 Oct 2012 5:29 PM #6
We use this to regenerate certain files, but there are apparently some files that have not been properly marked as "don't regenerate". We'll look at this right away.
Don Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
Success! Looks like we've fixed this one. According to our records the fix was applied for
SDKTOOLS-199
in
3.0.0 Sprint 6.



Reply With Quote
