No joy with ClassLoaders

2010-04-03 Thread Michelle Caisse
Hi all, For JDO-557 (api tests for JDOHelper calls to PersistenceManagerFactory(Map, Map), I've been trying to to set up a ClassLoader that has both the test classes in it (so the proxy class returning a pmf can be found) and jdoconfig.xml. I have not found a way to programmatically, during t

Re: No joy with ClassLoaders

2010-04-07 Thread Marco หงุ่ยตระกูล-Sch ulze
On 04/04/2010 05:56 AM, Michelle Caisse wrote: > Hi all, > > For JDO-557 (api tests for JDOHelper calls to > PersistenceManagerFactory(Map, Map), I've been trying to to set up a > ClassLoader that has both the test classes in it (so the proxy class > returning a pmf can be found) and jdoconfig.xml.

Re: No joy with ClassLoaders

2010-04-07 Thread Michelle Caisse
Thanks, Marco. I thought a custom class loader might be the answer. However, perhaps just my ignorance, but I don't see how to make that work given that the tests are launched via a maven goal, not directly from a java class under our control. -- Michelle Marco หงุ่ยตระกูล-Schulze wrote: On

Re: No joy with ClassLoaders

2010-04-08 Thread Marco หงุ่ยตระกูล-Sch ulze
On 04/08/2010 05:09 AM, Michelle Caisse wrote: > Thanks, Marco. I thought a custom class loader might be the answer. > However, perhaps just my ignorance, but I don't see how to make that > work given that the tests are launched via a maven goal, not directly > from a java class under our control.