Re: surefire 2.3, mvn 2.0.5 : execution blocks and system property

2007-03-15 Thread Valerio Schiavoni

i also tried moving the common system properties into the
 element of the plugin while keeping specific ones into
the configuration of each execution block..

yet without no luck: tests are not executed with the correct properties set.

On 3/14/07, Valerio Schiavoni <[EMAIL PROTECTED]> wrote:

I also tried specifing default (as suggested by jdcasey on
irc), hoping that the configurations would have been merged..but it's
not the case.



On 3/14/07, Valerio Schiavoni <[EMAIL PROTECTED]> wrote:
> hello,
> seems like defining system properties within the configuration of an
> execution block for the surefire plugin is not propertly supported.
>
> Consider this:
>
> 
> org.apache.maven.plugins
> maven-surefire-plugin
>
> 
> 
> 
> no-optimization
> 
> test
> 
> test
> 
> 
> 
> fractal.provider
> 
> 
org.objectweb.fractal.julia.Julia
> 
> 
> 
> julia.loader
> 
> 
org.objectweb.fractal.julia.loader.DynamicLoader
> 
> 
> 
> 
julia.loader.gen.dir
> 
> 
target/test-classes/generated
> 
> 
> 
> julia.config
> julia.cfg
> 
> 
> 
> 
>
> 
>
> with the above configuration, tests fail. If I move the configuration
> out of the execution element (still within the plugin), property are
> correctly set, and tests pass. Since i need to configure more than 1
> (say, 4) configurations for the same suite of tests, i wonder wheter
> this is a bug, or a misuse from mine.
>
> Ideas ?
>
> Thanks,
> Valerio
>
> --
> http://jroller.com/page/vschiavoni
>


--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni




--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: surefire 2.3, mvn 2.0.5 : execution blocks and system property

2007-03-14 Thread Valerio Schiavoni

I also tried specifing default (as suggested by jdcasey on
irc), hoping that the configurations would have been merged..but it's
not the case.



On 3/14/07, Valerio Schiavoni <[EMAIL PROTECTED]> wrote:

hello,
seems like defining system properties within the configuration of an
execution block for the surefire plugin is not propertly supported.

Consider this:


org.apache.maven.plugins
maven-surefire-plugin




no-optimization

test

test



fractal.provider


org.objectweb.fractal.julia.Julia



julia.loader


org.objectweb.fractal.julia.loader.DynamicLoader




julia.loader.gen.dir


target/test-classes/generated



julia.config
julia.cfg







with the above configuration, tests fail. If I move the configuration
out of the execution element (still within the plugin), property are
correctly set, and tests pass. Since i need to configure more than 1
(say, 4) configurations for the same suite of tests, i wonder wheter
this is a bug, or a misuse from mine.

Ideas ?

Thanks,
Valerio

--
http://jroller.com/page/vschiavoni




--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



surefire 2.3, mvn 2.0.5 : execution blocks and system property

2007-03-14 Thread Valerio Schiavoni

hello,
seems like defining system properties within the configuration of an
execution block for the surefire plugin is not propertly supported.

Consider this:


org.apache.maven.plugins
maven-surefire-plugin




no-optimization

test

test



fractal.provider


org.objectweb.fractal.julia.Julia



julia.loader


org.objectweb.fractal.julia.loader.DynamicLoader




julia.loader.gen.dir


target/test-classes/generated



julia.config
julia.cfg







with the above configuration, tests fail. If I move the configuration
out of the execution element (still within the plugin), property are
correctly set, and tests pass. Since i need to configure more than 1
(say, 4) configurations for the same suite of tests, i wonder wheter
this is a bug, or a misuse from mine.

Ideas ?

Thanks,
Valerio

--
http://jroller.com/page/vschiavoni

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]