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
Developer
Posts: 69
Registered: ‎08-25-2008
My Device: Not Specified
Accepted Solution

How to set dependency?

Hi I have created two projects under same package one project is depending on another project means it is using that project having class. So i am unable to build the project.  In samples under browser folder "BrowserFieldDemo" and "commonlib" projects having dependency even they are compiling properly.  But iam unable to set the dependency please tell me how to set the dependency.

 

My Project folder structure:

 

com\adea\blackberry

--------------project1

------------------------File1

------------------------File2

--------------project2

------------------------File1

------------------------File2

 

Thanks and Regards

 

Sunil.G

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: How to set dependency?

[ Edited ]

Set the type of project that will be used by another project as "Library"

 

And this library project will be available for you to set dependencies.

 

http://picasaweb.google.com/tbilisoft/BlackberryForum#5275894851814275858

Message Edited by tbilisoft on 07-01-2009 03:04 PM
Highlighted
Developer
Posts: 69
Registered: ‎08-25-2008
My Device: Not Specified

Re: How to set dependency?

Thanks alot tbilisoft.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: How to set dependency?

you're welcome Smiley Happy