Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to read the classes of dependency libraries
How to read the classes of dependency libraries [message #426353] Mon, 29 December 2008 12:07 Go to next message
Debasis Mishra is currently offline Debasis MishraFriend
Messages: 36
Registered: July 2009
Member
Hi All,
I am having a common problem of reading the reference libraries.
Examle --
1)I am having a plugin project named as -com.example1
2)I am having another plugin -com.example2
3)Plugin-com.example2 is dependent on plugin-com.example1
4)i have added c.jar to the com.example1 plugin an the build path
3)plugin-com.example1 has exported some packages of the c.jar
in manifest.mf files
4)Plugin-com.example2 has imported those packages in manifest
file.

How to get all the class names resides in that package in the
plugin-com.example2 programmatically to load the class through reflection
class.forname(packagename.classname).because i want to access all the
methods of those classes.

Thanks in advance

Regards
Debasis
Re: How to read the classes of dependency libraries [message #426354 is a reply to message #426353] Mon, 29 December 2008 12:16 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Debasis,

You've posted this to newcomers, platform, and EMF. Please don't do
that. Pick just one group and posted it there only.


Debasis Mishra wrote:
> Hi All,
> I am having a common problem of reading the reference libraries.
> Examle --
> 1)I am having a plugin project named as -com.example1
> 2)I am having another plugin -com.example2
> 3)Plugin-com.example2 is dependent on plugin-com.example1
> 4)i have added c.jar to the com.example1 plugin an the build
> path
> 3)plugin-com.example1 has exported some packages of the
> c.jar in manifest.mf files
> 4)Plugin-com.example2 has imported those packages in
> manifest file.
>
> How to get all the class names resides in that package in the
> plugin-com.example2 programmatically to load the class through
> reflection class.forname(packagename.classname).because i want to
> access all the methods of those classes.
>
> Thanks in advance
>
> Regards
> Debasis
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[Teneo] Problem saving EPackage loaded from database
Next Topic:Best 'ControlDecoration + EMF + EMF Validation framework' approach
Goto Forum:
  


Current Time: Thu Apr 25 16:30:22 GMT 2024

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

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

Back to the top