You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/09/11 09:25:38 UTC
svn commit: r280088 -
/maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java
Author: brett
Date: Sun Sep 11 00:25:33 2005
New Revision: 280088
URL: http://svn.apache.org/viewcvs?rev=280088&view=rev
Log:
use correct path in the verifier for artifact metadata, allow commas in the list of tests to run
Modified:
maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java
Modified: maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java?rev=280088&r1=280087&r2=280088&view=diff
==============================================================================
--- maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java (original)
+++ maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java Sun Sep 11 00:25:33 2005
@@ -265,11 +265,11 @@
{
if ( hasCommand )
{
- l.add( command + " " + files[i] );
+ l.add( command + " " + new File( dir, files[i] ).getPath() );
}
else
{
- l.add( files[i] );
+ l.add( new File( dir, files[i] ).getPath() );
}
}
}
@@ -698,11 +698,19 @@
for ( int i = 0; i < args.length; i++ )
{
String test = args[i];
+ if ( test.endsWith( "," ) )
+ {
+ test = test.substring( 0, test.length() - 1 );
+ }
if ( !test.startsWith( "it" ) )
{
test = "it" + fmt.format( Integer.valueOf( test ) );
}
- tests.add( test );
+ test = test.trim();
+ if ( test.length() > 0 )
+ {
+ tests.add( test );
+ }
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org