-
6 Nov 2012 9:47 AM #1
How do I get images included in build?
How do I get images included in build?
I have an Architect project where I have some images defined. Not in css.
With src='./assets/myImage.png'
How do I get these included when using
sencha app build
Thanks,
Worth
-
6 Nov 2012 11:50 PM #2
You can copy extra resources to your build in the build.xml.
Or similar. Consult http://ant.apache.org/manual/ for Ant help on the specifics.Code:<target name="-post-build"> <mkdir dir="${build.dir}/assets" /> <copy todir="${build.dir}/assets"> <fileset dir="assets" includes="*"/> </copy> </target>
For using Cmd with Architect, check out this post:
http://www.sencha.com/forum/showthre...-Sencha-Cmd-v3Don 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!"
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote