Welcome!

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

Reply
Regular Contributor
Posts: 82
Registered: ‎10-28-2010
My Device: Not Specified

Eclipse Project Setup - Multiple Projects One Output

Here is what i've done

 

I've setup two projects, one for the application and another for utils. The utils project i set as a Library and the Application as a Blackberry Applications (UI Type).

 

Running on the Simulator the application works fine, but here's the problem

 

When i build and sign it for transfer to my blackberry, it builds the project seperatly, thus creating .cod, .jar and .jad for each project (i.e. i have two of each). Looking at the application.jad it has

RIM-COD-Module-Dependencies: net_rim_cldc,utils,net_rim_amms

 which is shows my utils projects 2nd one in, but

RIM-COD-URL: playaboutapp.cod

 which says to me that only the application part of the code will be loaded.

 

my question is how do i get the application.jad to also include the utils.jar and utils.cod required for the application to work ?

Regular Contributor
Posts: 82
Registered: ‎10-28-2010
My Device: Not Specified

Re: Eclipse Project Setup - Multiple Projects One Output

its now seems that loading the application on to the device throws an error stating that the utils module can not be found

 

... Help Anyone ?

New Contributor
Posts: 8
Registered: ‎04-24-2012
My Device: Bold 9900
My Carrier: Wana

Re: Eclipse Project Setup - Multiple Projects One Output

Hi,

 

How did you load the project on your device, if by seperetly loading .cod files you need to load your library before the core application so it will recongize it.

 

I hope this will help you