[jira] Commented: (SUREFIRE-131) Excluding tests with command line pattern

2009-06-18 Thread ian pojman (JIRA)

[ 
http://jira.codehaus.org/browse/SUREFIRE-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180881#action_180881
 ] 

ian pojman commented on SUREFIRE-131:
-

Actually, something like this would be useful if you want to run all tests 
except for one which is known to fail, similar to -Dtest, a

 -DexcludeTest=A*,B*,C

> Excluding tests with command line pattern
> -
>
> Key: SUREFIRE-131
> URL: http://jira.codehaus.org/browse/SUREFIRE-131
> Project: Maven Surefire
>  Issue Type: New Feature
>Affects Versions: 2.0 (2.2 plugin)
> Environment: All environments running JUnit tests
>Reporter: Johannes Carlén
>Priority: Minor
> Fix For: 2.x
>
>
> I'd like to be able to exclude certain tests from being run. An example of 
> this could be a scenario where I'd like just the unit tests and not the 
> integration tests to run. In our case, we name all integration test with the 
> postfix "IntTest" instead of just "Test".
> This is now possible through configuring the plugin in the pom, however it is 
> not possible to decide at the command line if I just like to run some tests 
> and not all.
> Example of use with this implementation would be:
> mvn -Dexclude=*IntTest test
> which would run all tests - excluding those that ends with IntTest
> The amount of code needed for implementation is minimal. In 
> SurefirePlugin.java:
> Just add a property - something like:
> /**
>  * Specify this parameter to exclude test by their name. It follows
>  * the same conventions as the test parameter.
>  * 
>  * @parameter expression="${exclude}"
>  * 
>  */
> private String exclude;
> Add this code at line 527
> if ( this.exclude != null )
> {   
> String exclude = "**/" + this.exclude + ".java";
> excludes.add(exclude);
> getLog().debug( "Excluding test with pattern :" + exclude 
> );
> }
> ...and that's all.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MRESOURCES-104) while filtering resources the token replacement stops at the character @

2009-11-12 Thread ian pojman (JIRA)

[ 
http://jira.codehaus.org/browse/MRESOURCES-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198175#action_198175
 ] 

ian pojman commented on MRESOURCES-104:
---

this isn't minor.. i just wasted 2 hours because of this 

> while filtering resources the token replacement stops at the character @ 
> -
>
> Key: MRESOURCES-104
> URL: http://jira.codehaus.org/browse/MRESOURCES-104
> Project: Maven 2.x Resources Plugin
>  Issue Type: Bug
>Affects Versions: 2.4
> Environment: Windows XP, Java 1.6.0_16
>Reporter: Thomas Fahrmeyer
>Priority: Minor
> Fix For: 2.5
>
>
> Create a simple file hello.txt under src/main/resources with following 
> content:
> "
> This property ${testProperty} was replaced
> but the one behind a @ will not be processed, as you
> see:  ${testProperty}. You shouldn't see a property reference.
> "
> define a build section in your pom.xml like this
> 
>   
>   
>   src/main/resources
>   true
>   
>   **/*.txt
>   
>   
>   
>   src/main/resources
>   false
>   
>   **/*.txt
>   
>   
>   
> Run the command: 
> mvn process-resources -DtestProperty=IwasReplaced
> this produces the output
> "
> This property IwasReplaced was replaced
> but the one behind a @ will not be processed, as you
> see:  ${testProperty}. You shouldn't see a property reference.
> "
> As you see, the second property reference was not resolved. The replacement 
> just stops after the @ character.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (SCM-510) Need additional clearcase settings for mkview command

2009-11-17 Thread ian pojman (JIRA)
Need additional clearcase settings for mkview command
-

 Key: SCM-510
 URL: http://jira.codehaus.org/browse/SCM-510
 Project: Maven SCM
  Issue Type: Improvement
  Components: maven-scm-provider-clearcase
 Environment: maven 2.2.1
Reporter: ian pojman


to create views in our clearcase setup, we have to pass additional flags to 
clearcase when making a snapshot view:

-host ___ -hpath  -gpath _

can we add support for these in clearcase-settings.xml ?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira