Author: brett
Date: Sat Jun 18 08:57:58 2005
New Revision: 191293

URL: http://svn.apache.org/viewcvs?rev=191293&view=rev
Log:
Submitted by: Vincent Massol

allow spaces in local repository path

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=191293&r1=191292&r2=191293&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
 Sat Jun 18 08:57:58 2005
@@ -499,8 +499,10 @@
                 String key = (String) i.next();
                 cli.createArgument().setLine( "-D" + key + "=" + 
properties.getProperty( key ) );
             }
-            
-            cli.createArgument().setLine( "-Dmaven.repo.local=" + localRepo );
+
+            // Note: Make sure that the repo is surrounded by quotes as it can 
possibly have 
+            // spaces in its path.            
+            cli.createArgument().setLine( "-Dmaven.repo.local=" + "\"" + 
localRepo + "\"" );
 
             for ( Iterator i = allGoals.iterator(); i.hasNext(); )
             {



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to