Re: [Bb-ant-tools-general] Nice Tool But How to maintain Directory Structure Of Resource Files
Brought to you by:
jiggak
From: Winter, M. <m.w...@sa...> - 2012-04-12 13:54:43
|
Hi, Try putting the images below the resourcetest folder and not via ../res/img in a folder that is accessed via a parent folder That was my observation, that rapc will only maintain structure if resources are in a subfolder to the location where the rapc file is generated. Regards Markus From: dhiral pandya [mailto:dhi...@ya...] Sent: Donnerstag, 12. April 2012 15:02 To: bb-...@li... Subject: [Bb-ant-tools-general] Nice Tool But How to maintain Directory Structure Of Resource Files I am using your bb ant tool and it's work fine. But can you help me about how to maintain resource directory structure in this tool For example i added all images in res/img/ folder now when i generate .cod file it added all images in root folder i mean it did not maintain directory structure My build.xml is <?xml version="1.0" encoding="UTF-8"?> <project name="${description}" default="buildRIM" basedir="."> <taskdef resource="bb-ant-defs.xml" /> <property name="jdehome" value="C:\Program Files\Research In Motion\BlackBerry JDE 6.0.0" /> <property name="simulator" value="${jdehome}\simulator" /> <property name="bin" value="${jdehome}\bin" /> <target name="buildRIM" description="Builds Project"> <rapc jdehome="${jdehome}" jdkhome="C:\Program Files\Java\jdk1.6.0_16" destdir="resourcetest/op" output="omtTest" quiet="false"> <jdp type="cldc" title="omt Test" vendor="Vendor=Research In Motion Ltd." version="Version=0.9" description="HelloWorld Application" arguments="" systemmodule="false" runonstartup="false" startuptier="7" ribbonposition="0" icon="../res/img/icon.png"> </jdp> <src> <fileset dir="."> <include name="resourcetest/src/**/**" /> </fileset> </src> </rapc> <exec executable="cmd.exe" dir="${bin}" spawn="true"> <arg value="/c"/> <arg value="sigtool.bat"/> </exec> </target> </project> Thanks Dhiral |