资源说明:BlackBerry Ant tools
********************************************************************************
* BlackBerry Ant Tools @VERSION@ *
********************************************************************************
Prerequisites:
--------------
- RIM JDE (tested with 4.1 and up)
- Java 1.5 or higher
- Apache Ant 1.7.x or higher
Using:
------
- Copy the bb-ant-tools.jar into the your Ant lib directory, in $HOME/.ant/lib,
or add bb-ant-tools.jar to the classpath in your build script.
- Add the to your build script, eg:
or
- Enjoy (see examples below)
Reference:
----------
The and tasks will first try to get the "jde.home" property
from the project. If this property is not set, then the "jdehome" attribute
must be explicitly set for these tasks.
Runs the rapc compiler. The rapc task runs the compiler in much the same way
as the RIM JDE. The JDE project/workspace files are however not used for
building cod files. The nested element is used to specify all cod file
properties.
The rapc task behaves similar to the javac task in that it will check the
modified time of the source files and compare it to the modified time of the
cod file. It will compile if one or more of the source files is newer than
the existing cod file.
Parameters
============
jdehome
----------------------------------------------------------------------------
Sets the JDE home directory. This attribute is required when the "jde.home"
property is not defined at the project level.
jdkhome
----------------------------------------------------------------------------
Sets an alternative JVM home directory. Use this to override the version
of the JVM used to execute the rapc compiler. When this attribute is not
defined, the systems default JVM is used.
srcdir
----------------------------------------------------------------------------
Directory containing source files. This attribute is required when the
nested property is not used. An error is occurs if both the nested
property and the "srcdir" attribute is specified.
destdir
----------------------------------------------------------------------------
Output directory of .cod file. When not defined, the base directory of the
Ant build file is used.
exepath
----------------------------------------------------------------------------
Explicitly define the directory containing the preverify command used by
the rapc compiler. When not defined, the systems default PATH is used.
output
----------------------------------------------------------------------------
Name of output file, eg: