Re: [m2][maven-surefire-plugin] using ClassLoader.getSystemResourceAsStream

2007-07-02 Thread Erik Ruisma
Below you find the actual code I use. In order to get the error, you just need a JUnit testCase that constructs the PropertyReader class. Note that I can not change the line ClassLoader.getSystemResourceAsStream(" log.properties"); as it's part of a library we use. The file log.properties is prese

Re: [m2][maven-surefire-plugin] using ClassLoader.getSystemResourceAsStream

2007-07-01 Thread Andrew Williams
Perhaps posting the actual code will help. When it comes to classloading many loaders such as eclipse are very liberal whereas the surefire loader is more strict to the java spec. Andy On 27 Jun 2007, at 14:05, Erik Ruisma wrote: Hello, I've been trying out several options on the maven-su

[m2][maven-surefire-plugin] using ClassLoader.getSystemResourceAsStream

2007-06-27 Thread Erik Ruisma
Hello, I've been trying out several options on the maven-surefire-plugin (useSystemClassLoader, forkMode, childDelegation), but without any succes. We have some library that does a ClassLoader.getSystemResourceAsStream in order to read a property file. I've added that property file under src/tes

RE: [m2] maven-surefire-plugin 2.1.3 vs 2.2 [solved]

2007-01-18 Thread Dário Luís Coneglian Oliveros
Users List Subject: RE: [m2] maven-surefire-plugin 2.1.3 vs 2.2 I noticed maven-surefire-plugin 2.1.3 uses forkMode='none' and childDelegation='true' as default. However If I add the same configuration to maven-surefire-plugin 2.2, my tests don't work. Since I use

RE: [m2] maven-surefire-plugin 2.1.3 vs 2.2

2007-01-18 Thread Dário Luís Coneglian Oliveros
from java.lang.reflect, I get a 'prohibited package name' error. The same problem does not happen to 2.1.3. Any thoughts ? Any idea where to look at ? Dário -Original Message- From: Dário Luís Coneglian Oliveros Sent: quarta-feira, 17 de janeiro de 2007 16:13 To: Maven User

[m2] maven-surefire-plugin 2.1.3 vs 2.2

2007-01-17 Thread Dário Luís Coneglian Oliveros
I have some test cases that used to work with maven-surefire-plugin 2.1.3, but not with 2.2. Does anybody know what kind of configuration should be in 2.2 to get the same behaviour as of 2.1.3 ? I've tried a couple of them (forkMode=never, childDelegation=true), but could not get anything workin

Re: [m2] maven surefire plugin

2005-08-09 Thread Trygve Laugstøl
On Tue, Aug 09, 2005 at 07:10:54PM +0200, Ralph Pöllath wrote: > On 04.07.2005, at 04:29, Nadeem Bitar wrote: > >Where can I find documentation for the maven-surefire-plugin. I am > >looking on using testng instead of junit to run my tests. > > TestNG 2.5 has been released and comes with a maven p

Re: [m2] maven surefire plugin

2005-08-09 Thread Ralph Pöllath
On 04.07.2005, at 04:29, Nadeem Bitar wrote: Where can I find documentation for the maven-surefire-plugin. I am looking on using testng instead of junit to run my tests. TestNG 2.5 has been released and comes with a maven plugin: http://testng.org/doc/maven.html Cheers, -Ralph. ---

Re: [m2] maven surefire plugin

2005-07-03 Thread Nadeem Bitar
On Sun, 2005-07-03 at 23:59 -0400, Jason van Zyl wrote: > On Sun, 2005-07-03 at 19:29 -0700, Nadeem Bitar wrote: > > Where can I find documentation for the maven-surefire-plugin. I am > > looking on using testng instead of junit to run my tests. > > There is just the source for the surefire plugin

Re: [m2] maven surefire plugin

2005-07-03 Thread Jason van Zyl
On Sun, 2005-07-03 at 19:29 -0700, Nadeem Bitar wrote: > Where can I find documentation for the maven-surefire-plugin. I am > looking on using testng instead of junit to run my tests. There is just the source for the surefire plugin here: http://svn.apache.org/viewcvs.cgi/maven/components/trunk/m

[m2] maven surefire plugin

2005-07-03 Thread Nadeem Bitar
Where can I find documentation for the maven-surefire-plugin. I am looking on using testng instead of junit to run my tests. thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]