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
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
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
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
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
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
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
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.
---
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
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
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]
11 matches
Mail list logo