Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » how to open a class from a jar in .bundle_pools/plugins(i am trying to open a class using ctrl+shift+t combination but i do not get any class even if .bundle_pools/plugins folder contains the corresponding jar)
how to open a class from a jar in .bundle_pools/plugins [message #1759747] Tue, 18 April 2017 07:42 Go to next message
KEDAR SIRSHIKAR is currently offline KEDAR SIRSHIKARFriend
Messages: 11
Registered: April 2017
Junior Member
i am trying to open a class using ctrl+shift+t combination but i do not get any result even if corresponding jar is available at '/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins' folder
Re: how to open a class from a jar in .bundle_pools/plugins [message #1759806 is a reply to message #1759747] Tue, 18 April 2017 15:52 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Type "Java Search" in the "Quick Access" entry field (in the upper right by the toolbar), and invoke "Add All Plug-ins to Java Search" command. Generally search will only search the workspace and the workspace dependencies, so if you don't have a dependency on a bundle from a project in the workspace, it's not search. But you can use this command to add everything in your target platform to the search.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: how to open a class from a jar in .bundle_pools/plugins [message #1759822 is a reply to message #1759806] Tue, 18 April 2017 09:05 Go to previous messageGo to next message
KEDAR SIRSHIKAR is currently offline KEDAR SIRSHIKARFriend
Messages: 11
Registered: April 2017
Junior Member
Thank you ! Now I am able to open the class files after following the above instructions.
Re: how to open a class from a jar in .bundle_pools/plugins [message #1759826 is a reply to message #1759806] Tue, 18 April 2017 17:19 Go to previous messageGo to next message
KEDAR SIRSHIKAR is currently offline KEDAR SIRSHIKARFriend
Messages: 11
Registered: April 2017
Junior Member
Hi Ed, Now I am facing below error :
Cannot nest 'can not nest /.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/com.broadhop.diameter2.stack_11.9.9.r099340/config/xml inside library /.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/com.broadhop.diameter2.stack_11.9.9.r099340'
Re: how to open a class from a jar in .bundle_pools/plugins [message #1759837 is a reply to message #1759826] Tue, 18 April 2017 21:12 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
When does that happen? Did you install something called com.broadhop.diameter2.stack and you're trying to open a class from that?

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: how to open a class from a jar in .bundle_pools/plugins [message #1759840 is a reply to message #1759837] Tue, 18 April 2017 18:16 Go to previous messageGo to next message
KEDAR SIRSHIKAR is currently offline KEDAR SIRSHIKARFriend
Messages: 11
Registered: April 2017
Junior Member
Hi Ed, i am getting above build path error as soon as I add dependency of 'com.broadhop.diameter2.stack' on any other bundle's MANIFEST.MF file. Please refer attached image.
Re: how to open a class from a jar in .bundle_pools/plugins [message #1759853 is a reply to message #1759837] Wed, 19 April 2017 07:04 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Perhaps that bundle is ill formed in some way. Even your External Plug-in Libraries project appears to have a problem. Try importing it as a source project to inspect its structure. (File -> Import -> Plug-in Development -> Plug-ins and Fragments and using Projects with source folders.)

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: how to open a class from a jar in .bundle_pools/plugins [message #1759854 is a reply to message #1759853] Wed, 19 April 2017 07:26 Go to previous message
KEDAR SIRSHIKAR is currently offline KEDAR SIRSHIKARFriend
Messages: 11
Registered: April 2017
Junior Member
Thanks a lot Ed! Error got resolved after importing the plug-in as you mentioned.
Previous Topic:Could not initialize class org.eclipse.jdt.core.JavaConventions
Next Topic:Is Android Support Reposity includeable in Eclipse Neon?
Goto Forum:
  


Current Time: Fri Apr 19 21:36:50 GMT 2024

Powered by FUDForum. Page generated in 0.03579 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top