Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 412
Registered: ‎09-12-2008
My Device: 9000 9810

bb ant tools using existing project files

Hi all.

first, excuse me if this has been answered before, I just cannot pinpoint the post Smiley Happy


I use JDE for my builds and now have to automate it using ant.

All examples of using bb-ant-tools use 'manual' source integration like this:


  <fileset dir=”.”>
    <include name=”src/**/*.*” />
    <include name=”res/**/*.*” />

 Looks cool but here's the problem

First, beside the application itself, I have several libraries being used by my app divided into two groups:

A) dependent libraries

B) non-dependent libraries


The first (A) type of libraries just group common functionalities.

The non-dependent (B) libraries are the ones that use runt-time class loading to support cross-OS application deployment (single build for all OS versions).


And the issue(s)?

1) Well first, I would like to reuse project files (.jdp) of my projects for building. Is this possible?

Why? Well the jdp project file already defines app version, vendor, type of application, dependencies, etc.

2) Each project should be built separately since some of them are built for specific OS version.

3) After the build the automated process should also create a .jad file and an alx file with ALL libraries set in each one. Is this possible?

4) what about using .jdw (workspace file) ?







"Listen carefully, I shall say this only once"