24 Sep 2012 5:11 AM #1
Build comd does not copied personnal folder
the sencha cmd
sencha app build
And this is where i've put the images used in my application
is not reproduced in
24 Sep 2012 9:31 AM #2
did you include the proper path in your app.json file?
24 Sep 2012 2:48 PM #3
25 Sep 2012 5:48 AM #4
and how do we configure this in an ext js application?
I also need to copy certain folders...
It's such a hassle that ext js and ST are maintained separately... e.g. why are there routes implemented in sencha touch and not in ext js :/
25 Sep 2012 5:53 AM #5
Are there plans to use app.json with the ExtJS SDK? It would be nice to copy additional resources to the build.
If not, it seems a bit misleading to create the app.json template when the choice SDK is ExtJS.
29 Sep 2012 12:59 PM #6
We have been migrating build processes to Ant internally so that users of Sencha Cmd can extend the build process if necessary.
The app.json file was a mistaken copy from the Sencha Touch code generation template and has been removed in 188.8.131.52.
For the time being, app.json still plays an important role in Sencha Touch but we have been considering how to migrate the logic currently hidden inside Sencha Cmd to process app.json in to the Ant build script so that it can be tuned/adjusted/fixed as needed in the field.
The new "sencha ant build" command should do pretty much what you are needing, but most importantly you can extend it with some simple Ant targets in the generated "build.xml" file for your application. Or you could wrap your own script around the "sencha ant build" call if you prefer to not write any Ant code.
Both are totally fine options though I would recommend extending the Ant script simply because it has some helpful structures already built-in.
3 Oct 2012 9:33 AM #7
move the resources/images folder
So, is it correct that, for now, we need to add our own logic somewhere to move resources/images?
For example, by adding a copy task to the 181 Ant build.xml. Maybe in the "-after-build" target?
Or, is there a way to add the 'resources/images' path somewhere and have it get copied by some existing built-in process?
3 Oct 2012 10:01 AM #8
8 Oct 2012 2:45 AM #9