maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r679835 - /maven/shared/branches/embedder-verifier/src/main/java/org/apache/maven/it/DefaultInvoker.java
Date Fri, 25 Jul 2008 15:27:48 GMT
Author: jvanzyl
Date: Fri Jul 25 08:27:48 2008
New Revision: 679835

URL: http://svn.apache.org/viewvc?rev=679835&view=rev
Log:
version is off by a character

Modified:
    maven/shared/branches/embedder-verifier/src/main/java/org/apache/maven/it/DefaultInvoker.java

Modified: maven/shared/branches/embedder-verifier/src/main/java/org/apache/maven/it/DefaultInvoker.java
URL: http://svn.apache.org/viewvc/maven/shared/branches/embedder-verifier/src/main/java/org/apache/maven/it/DefaultInvoker.java?rev=679835&r1=679834&r2=679835&view=diff
==============================================================================
--- maven/shared/branches/embedder-verifier/src/main/java/org/apache/maven/it/DefaultInvoker.java
(original)
+++ maven/shared/branches/embedder-verifier/src/main/java/org/apache/maven/it/DefaultInvoker.java
Fri Jul 25 08:27:48 2008
@@ -97,8 +97,7 @@
         // OS name: "mac os x" version: "10.5.4" arch: "x86_64" family: "mac"
         
         String version = StringUtils.split( writer.toString(), separator )[0];
-        version = version.substring( version.indexOf( ":" ) + 1 );
-        System.out.println( "'" + version + "'" );
+        version = version.substring( version.indexOf( ":" ) + 2 );
         
         if ( version == null )
         {



Mime
View raw message