Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » suggestion needed for best way to load a class from many projects in the workspace(we have to load some interfaces from around 30 projects together to read some annotion over the interfaces before opening some wizard so we are creating class loader and then loading those interfaces)
suggestion needed for best way to load a class from many projects in the workspace [message #833142] Fri, 30 March 2012 22:17 Go to next message
Manender Singh is currently offline Manender Singh
Messages: 1
Registered: March 2012
Junior Member
Hi All,

Suggestion needed.

Wwe have to load some interfaces from around 30 projects together to read some annotation over the interfaces before opening some wizard [those value needs to be shown in the wizard]so we are creating class loader for each project and then loading the interface and then reading annotations and same thing is done for all the project one by one so wizard takes more time to come-up[20-30 sec].

Could any one suggest any other approach where we can skip creation of class loader or some other approach by which we can get class loader from IProject or IJavaProject etc so that we can avoid this performance hit.

thanks in advance...
Re: suggestion needed for best way to load a class from many projects in the workspace [message #834761 is a reply to message #833142] Mon, 02 April 2012 07:09 Go to previous message
Satyam Kandula is currently offline Satyam Kandula
Messages: 444
Registered: July 2009
Senior Member
Did you try using the search API? http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jdt.doc.isv%2Fguide%2Fjdt_api_search.htm
Previous Topic:Problems with BUILD
Next Topic:Installing JDT onto CDT Eclipse
Goto Forum:
  


Current Time: Tue Sep 02 05:24:22 EDT 2014

Powered by FUDForum. Page generated in 0.02582 seconds