workaround for windows test failure

This commit is contained in:
James Strachan
2012-05-28 19:50:22 +01:00
parent 4d7ab80c3e
commit 7f53b2f111
@@ -73,7 +73,7 @@ public class JSSourceJarMojo extends AbstractMojo {
if (fullPath.startsWith(rootPath)) {
String relativePath = fullPath.substring(rootPath.length());
if (relativePath.startsWith("/") || relativePath.startsWith(File.separator)) {
relativePath = relativePath.substring(1);
relativePath = relativePath.substring(1).replace(File.separatorChar, '/');
}
writer.println(relativePath);
} else {