Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Having a blackberry J2ME and Android Project under Eclipse

I am building a project under netbeans with a lot of preprocessing instructions. Netbeans handle that pretty well but unfortunately it is not very well supported as an IDE for blackberry and android.

So the idea behind this question is to import the project into eclipse in order to get the new features of every plugin and ease the development. I already found a pretty nice solution for handling preprocessing instructions with Antenna, but I would like to know how to handle the multiple facets of the project : an android project with ADT, a blackberry project with its plugin and finally a J2ME project as well. My goal is to taking advantage of the best plugins eclipse has to offer.

(And the project compiles with ant, so no real problem on this side).

Regards, Stéphane

like image 251
Snicolas Avatar asked Sep 06 '11 15:09

Snicolas


1 Answers

Well, you would have to create a separate project for each Android, Blackberry etc in the same workspace, then you would have to define the logical dependency between those projects. So if Project A is dependent on Project B, right-click on Project A in the project tree then Properties > Java Build Path > Projects and add the Project B to the list of projects Project A depends on.

This will allow you to work on Project B as if it was a stand alone project and you and work on Project A as if Project B was a part of it.

You can do this with any number of projects.

Regards,

like image 118
Ali Avatar answered Oct 13 '22 22:10

Ali