Author: brett
Date: Thu May 24 03:06:58 2007
New Revision: 541254
URL: http://svn.apache.org/viewvc?view=rev&rev=541254
Log:
[SUREFIRE-322] use URL instead of file path for Windows
Modified:
maven/surefire/branches/surefire-2.3.x/surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkConfiguration.java
Modified:
maven/surefire/branches/surefire-2.3.x/surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkConfiguration.java
URL:
http://svn.apache.org/viewvc/maven/surefire/branches/surefire-2.3.x/surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkConfiguration.java?view=diff&rev=541254&r1=541253&r2=541254
==============================================================================
---
maven/surefire/branches/surefire-2.3.x/surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkConfiguration.java
(original)
+++
maven/surefire/branches/surefire-2.3.x/surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkConfiguration.java
Thu May 24 03:06:58 2007
@@ -228,6 +228,7 @@
for ( Iterator it = classPath.iterator(); it.hasNext(); )
{
String el = (String) it.next();
+ el = "file://localhost/" + el;
cp += " " + el + ( new File( el ).isDirectory() ? "/" : "" );
}