BTW is the URLCloader standalone or does it check the default CL first? I ask as the project may define a JRE (and its jars) that is not the same as the one that Eclipse is running in.
Geoff On Wed, 30 Mar 2005 12:52:32 -0500, James Carman <[EMAIL PROTECTED]> wrote: > I have done that before using URLClassLoader. I extended it so that I could > dynamically add classpath entries to it. You have to extend it because the > addURL() method is protected! :-( Hope that helps. > > -----Original Message----- > From: Geoff Longman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 30, 2005 12:43 PM > To: [email protected] > Subject: [ON TOPIC]Any pointers on how to make a custom classloader? > > I'm whipping up a demo Eclipse plugin that will create a Registry based on > the classpath of a Java project. The plugin will contain a view that will > display the contents of the Registry. > > I need a classloader that I can add the project jars and output folder to in > order to create a ClassResolver. > > But, I have never played with custom classloaders so if anyone has a pointer > to a good resource explaining how to make one I'd be grateful! > > This work is to improve my understanding of how HM works inside so I can > better approach Spindle -> Tapestry 3.1 > > Geoff > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
