Hi Alen We had the same problem the "solution" was to set the maven.junit.fork=true
I hope it helps Bye Martin On Wed, 7 Apr 2004 [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: / /OREF:CPTBB0B5 Need dependency on system classpath > Date: Wed, 7 Apr 2004 10:14:31 +0200 > X-mailer: Lotus Notes Release 6.0.1CF3 July 29, 2003 > > Hi there, > > I'm trying to use "rowset.jar" with my Maven project. > However, it seems that rowset.jar has classes that require to load a > properties file that it does through a system class loader. > My JUnit tests that use rowset.jar fail. > > I'm just not 100% sure where do I define my rowset.jar file as a > dependency. > Do I define it in System Classpath (export > CLASSPATH=/.../rowset.jar:$CLASSPATH). > Or do I have to still specify it in my project.xml file dependency > element. > > My project does depend on rowset.jar so it makes sense that it should > reside in my project.xml file but, AFAIK, I still need it to be on my > System CLASSPATH for it to function correctly. > > Having it in both places doesn't work either (I get > "java.sql.SQLException: Invalid persistence provider generated") > I got a good feeling that it maybe using a wrong loaded jar. (wrong > class loader when running the test for rowset calls to work) > > I use WSAD as my IDE and if I run the JUnit test through the IDE all > works 100%. > > Any ideas or suggestions please. > I have been trying to get this to work for a long time with no luck. > This is driving me insane now. :( > > Thanks > --Alen > > > > --------------------------------------------------------------------- > 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]
