Planning surefire 2.12.1, surefire integration test problem with the groups expression

2012-03-29 Thread Kristian Rosenvold
I'd like to go for a bug-fix release 2.12.1, since we have a few
issues from both 2.11 and 2.12 that
should be fixed.


We have this interesting problem releated to
https://jira.codehaus.org/browse/SUREFIRE-809. A new feature
for 2.12, this allows you to select which groups to use with some
pretty sophisticated grammar.

(John; did any docs get committed for this feature ??)

Well the problem is that the grammar uses  and ||, and it turns
out these are almost *impossible*
to escape correctly on the command line. We have 4 IT's in surefire
that currently only pass on linux
due to this issue.

(When specified in the pom, this is no problem. It's when trying to
send them in from the command line
things get hairy. I haven't even been able to *determine* how to
escape  for windows cmd.exe)

Now none of our command line stuff seems to handle this escaping. The
best solution I can come up with
is to add AND and OR as synonyms to the grammar ? After all, users
wishing to specify from the command
line will run into the same problem

Since it seems to be undocumented right now, we could consider just
*changing* to and/or. I don't really
care as long as it can be sent properly from the command line.

WDYT ?

Kristian

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Planning surefire 2.12.1, surefire integration test problem with the groups expression

2012-03-29 Thread John Casey

On 3/29/12 2:09 PM, Kristian Rosenvold wrote:

I'd like to go for a bug-fix release 2.12.1, since we have a few
issues from both 2.11 and 2.12 that
should be fixed.


We have this interesting problem releated to
https://jira.codehaus.org/browse/SUREFIRE-809. A new feature
for 2.12, this allows you to select which groups to use with some
pretty sophisticated grammar.

(John; did any docs get committed for this feature ??)


I'll have to go back and look; I'm not sure. If not, I'll add them.



Well the problem is that the grammar uses  and ||, and it turns
out these are almost *impossible*
to escape correctly on the command line. We have 4 IT's in surefire
that currently only pass on linux
due to this issue.

(When specified in the pom, this is no problem. It's when trying to
send them in from the command line
things get hairy. I haven't even been able to *determine* how to
escape  for windows cmd.exe)

Now none of our command line stuff seems to handle this escaping. The
best solution I can come up with
is to add AND and OR as synonyms to the grammar ? After all, users
wishing to specify from the command
line will run into the same problem


I thought I had added those synonyms already...have you tried them? I'm 
90% sure I tried the grammer with things like A AND B AND NOT(C)...




Since it seems to be undocumented right now, we could consider just
*changing* to and/or. I don't really
care as long as it can be sent properly from the command line.

WDYT ?

Kristian

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org




--
John Casey
Developer, PMC Chair - Apache Maven (http://maven.apache.org)
Blog: http://www.johnofalltrades.name/

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org