Results 1 to 1 of 1
- 04-19-2011, 02:20 PM #1
Member
- Join Date
- Jan 2008
- Posts
- 4
- Rep Power
- 0
ANT build script, problem with packaging using rapc
Hello,
I've got a problem with a build script in ant. The (Blackberry) project build successfully but the architecture of catalogues inside the JAR and later COD files is not correct. The structure of my project catalogues is:
--build.xml
--src
--res
|-240*
|-320*
|-360*
|-480*
|-some images and other resources
*these folders contain the same set of graphics for different resolutions
I would like to have the 'res' catalogue in the JAR (and later COD) in the same structure as it is in the project, so in other words to take away whole /res directory and set it in the COD file.
The essential part of my build script is:
I think that I'm doing something wrong with theJava Code:<rapc verbose="true" exepath="${jde.home}/bin" destdir="${basedir}/build" jdehome="${jde.home}" output="ApplicationName" > <src path="${basedir}/src" /> <src path="${basedir}/res" /> <import location="${basedir}/lib/Library.jar" /> <jdp type="library" title="Library" vendor="VENDOR" version="${version}" description="lib" /> <jdp type="cldc" description="${client.desc}" title="${client.name}" vendor="VENDOR" version="${version}" runonstartup="true" systemmodule="true" > <entry arguments="gui" icon="icon.png" runonstartup="false" systemmodule="false" ribbonposition="3" title="${client.name}" /> <entry arguments="service" systemmodule="true" runonstartup="true" startuptier="7" title="Service" /> </jdp> </rapc>
<src path="${basedir}/res" />
part. The effect for now is that the largest 480 subdirectory contents are copied into the COD file. I suspect the all images from all resolution folders are simply copied but the 480 contents overwrite the previous so they are left only.
Please help
Similar Threads
-
Swing Utilties problem in JDK 1.6 build 20
By smsivanesan in forum Advanced JavaReplies: 2Last Post: 08-06-2010, 08:01 AM -
Problem with calling php script from java file
By eldushyant in forum Advanced JavaReplies: 1Last Post: 04-28-2010, 12:56 PM -
Build Instances problem
By leapinlizard in forum New To JavaReplies: 4Last Post: 04-21-2009, 10:17 AM -
How build the applicatoin by using Batch file script
By Kishore.Kumar in forum EclipseReplies: 0Last Post: 02-11-2009, 08:42 AM -
Problem creating a Post script file
By krishnan.1000 in forum New To JavaReplies: 0Last Post: 02-14-2008, 07:15 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks