-
24 Sep 2012 5:11 AM #1
Build comd does not copied personnal folder
Build comd does not copied personnal folder
the sencha cmd
does not copied my own folders in build/ressources !Code:sencha app build
And this is where i've put the images used in my application
/path/myApp/ressources/images
/path/myApp/ressources/ui
is not reproduced in
/path/myApp/build/ressources/images
/path/myApp/build/ressources/ui
-
24 Sep 2012 9:31 AM #2Sencha - Architect Dev Team
- Join Date
- Jan 2009
- Location
- Frederick, Maryland
- Posts
- 77
- Vote Rating
- 3
did you include the proper path in your app.json file?
-
24 Sep 2012 2:48 PM #3
Which SDK / framework are you using? Ext JS or Sencha Touch?
The app.json file is not used by Ext JS apps.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!"
-
25 Sep 2012 5:48 AM #4
Hi dongryphon,
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 :/
Thanks!
Florian
-
25 Sep 2012 5:53 AM #5Sencha - Architect Dev Team
- Join Date
- Jan 2009
- Location
- Frederick, Maryland
- Posts
- 77
- Vote Rating
- 3
dongryphon,
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 3.0.0.181.
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.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!"
-
3 Oct 2012 9:33 AM #7
move the resources/images folder
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
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!"
-
8 Oct 2012 2:45 AM #9
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote

