Set system properties in pom.xml?

2009-02-16 Thread David C. Hicks
I think I already know the answer to this: No. But, I feel like I should ask, just in case I've missed some vital piece of information. (Google is great, but sometimes it's hard to work your way through the chaff.) I'd like to control some unit test features using a profile. My current

Re: Set system properties in pom.xml?

2009-02-16 Thread David C. Hicks
Incidentally, I did try using the systemProperties configuration element of the SureFire plugin. It did not appear to do anything. David C. Hicks wrote: I think I already know the answer to this: No. But, I feel like I should ask, just in case I've missed some vital piece of information.

Re: Set system properties in pom.xml?

2009-02-16 Thread Dan Tran
You may want to take a look at surefire's integration test cases, I has a bunch of examples on how push system properties into surefire. -D On Mon, Feb 16, 2009 at 1:25 PM, David C. Hicks dhi...@i-hicks.org wrote: Incidentally, I did try using the systemProperties configuration element of the

Re: Set system properties in pom.xml?

2009-02-16 Thread David C. Hicks
Where would I find those test cases? I see nothing about integration tests on the SureFire page. Dan Tran wrote: You may want to take a look at surefire's integration test cases, I has a bunch of examples on how push system properties into surefire. -D On Mon, Feb 16, 2009 at 1:25 PM, David

Re: Set system properties in pom.xml?

2009-02-16 Thread Dan Tran
Actually, it is in the surefire source tree with its own module. -Dan On Mon, Feb 16, 2009 at 3:45 PM, David C. Hicks dhi...@i-hicks.org wrote: Where would I find those test cases? I see nothing about integration tests on the SureFire page. Dan Tran wrote: You may want to take a look at

Re: Set system properties in pom.xml?

2009-02-16 Thread Dan Tran
any how, what kind of problem you are facing? Is surefire document not clear enough? -D On Mon, Feb 16, 2009 at 4:33 PM, Dan Tran dant...@gmail.com wrote: Actually, it is in the surefire source tree with its own module. -Dan On Mon, Feb 16, 2009 at 3:45 PM, David C. Hicks

Re: Set system properties in pom.xml?

2009-02-16 Thread David C. Hicks
The surefire documentation is plenty clear, but the feature apparently doesn't work. At least, I have been unsuccessful with it, thus far. I'm just trying to pass in a simple string for my tests to pick up. The string is set by activating a profile. I guess I'll dig into the surefire source

Re: Set system properties in pom.xml?

2009-02-16 Thread Wendy Smoak
On Mon, Feb 16, 2009 at 6:01 PM, David C. Hicks dhi...@i-hicks.org wrote: The surefire documentation is plenty clear, but the feature apparently doesn't work. At least, I have been unsuccessful with it, thus far. I'm just trying to pass in a simple string for my tests to pick up. The string

Re: Set system properties in pom.xml?

2009-02-16 Thread David C. Hicks
Wendy, that was a great suggestion. I should have done so sooner. Having tossed out my changes in favor of doing something more productive, I went back to recreate my setup. I must have mis-configured the plugin. Now, it's working beautifully. Sorry about all the fuss. Dave Wendy