rapc command line


Defines RAPC command line wrapper. 

RAPC Ant Task command line wrapper utilizes BlackBerry rapc.exe compiler for building BlackBerry applications, or generates ALX files for projects defined in workspace. Workspaces to be processed shall be defined as external JDW files. All parameters are passed as command line arguments. In this case you don't need Ant installed. 

Format: java -jar anttask-rapc-1.8.jar [-javahome=path] -jdehome=path [-alx] jdwpath [... jdwpath] 


jdehomeRIM JDE home directory, e.g. "C:/Program Files/Research In Motion/BlackBerry JDE 4.0.2". Yes
javahomeJDK home directory, e.g. "C:/jdk1.4.0". javahome attribute shall be used if a workspace has to be compiled with another version of Java than is used on computer by default. For example, BlackBerry JDE up to 4.1 doesn't work with JDK 1.5 correctly (some source code can't be compiled). To solve this problem point javahome to directory with older JDK which is compatible with JDE (e.g. if JDK 1.4 is installed into directory "C:/jdk1.4.0" set attribute: javahome="C:/jdk1.4.0"). No; defaults to JDK which is used on this computer ("path" environment variable includes path to "bin" directory of this JDK)
alxIf "true" ALX files will be generated for all projects in defined workspaces. No; defaults to false
jdwpathPath to the JDW file. Can be repeated as many times as many workspaces need to be bult. Yes


Example 1

How to build example 'HelloWorld.jdw' workspace with no Ant installed. 

java -jar anttask-rapc-1.8.jar -javahome="C:/jdk1.4.0" -jdehome="C:/Program Files/Research In Motion/BlackBerry JDE 4.0.2" "HelloWorld.jdw"

Copyright © 2005-2006 eTaras.com. All rights Reserved.