Plugins (1083)


Training and Consulting (44)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 540
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
nocontrol
5 Post subject: Plugin needs to load external class  PostPosted: May 05, 2008 - 08:25 AM



Joined: May 05, 2008
Posts: 1

Hello all.
I wrote a plugin to analyze classes that are provided by the user via an input dialog.

My problem:
At compile time of the plugin i cannot know the classes or the folder they are stored.

If I try to load them at runtime with Class.forName(...) I get an ClassNotFoundException because the class isn't in the classpath, of course.

Does anybody know how to extend the plugin's classpath at runtime?

Kind regards
nocontrol
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits