07-14-2009 05:58 AM
I am looking for an option to compile my application in command line mode and to generate the COD & JAD files.
I have developed the my application in Blackberry JDE and I have to transfer my application to my BB device without building from JDE. It should be done in command line mode only.
Can you guide me?
Thanks in Advance,
Solved! Go to Solution.
07-14-2009 06:02 AM
Why does it need to be so?
I never had experience in this before, but I see people suggest - http://bb-ant-tools.sourceforge.net/
07-14-2009 06:08 AM
07-14-2009 06:27 AM - edited 07-14-2009 06:28 AM
We will be using version control to manage the source. There everything will be done over the script. That's why I am looking for command line mode.
07-14-2009 06:33 AM
07-14-2009 06:59 AM
then look in to bb-ant tools..
That should help..
09-09-2009 09:02 AM
It can be simpler than that.
Put this in a .bat file:
set bin=C:\Program Files\Research In Motion\BlackBerry JDE 4.5.0\bin
set app=<Enter application name here>
for %%i in ("%bin%") do set bin=%%~si
echo Building %app%...
%bin%\rapc.exe -quiet import=%bin%\..\lib\net_rim_api.jar codename=%rim%\%app% %rim%\%app%.rapc warnkey=0x52424200;0x52525400;0x52435200 @%bin%\%app%_build.files > build.log
if not %ERRORLEVEL%==0 goto error
rem ** add whatever else you want after building here.