[103499] Fix for J2EE build verification smoke tests
diff --git a/tests/org.eclipse.wst.common.tests/commontests/org/eclipse/wst/common/tests/ProjectUtility.java b/tests/org.eclipse.wst.common.tests/commontests/org/eclipse/wst/common/tests/ProjectUtility.java
index c7b535f..1ab6e37 100644
--- a/tests/org.eclipse.wst.common.tests/commontests/org/eclipse/wst/common/tests/ProjectUtility.java
+++ b/tests/org.eclipse.wst.common.tests/commontests/org/eclipse/wst/common/tests/ProjectUtility.java
@@ -142,7 +142,7 @@
             }
             List files = Arrays.asList(folder.list());
             if (!files.isEmpty()) {
-                String folderPath = folder.getAbsolutePath() + "\\";
+                String folderPath = folder.getAbsolutePath() + File.separator;
                 result = new ArrayList();
                 for (int i = 0; i < files.size(); i++) {
                     String fileName = (String) files.get(i);
@@ -175,7 +175,8 @@
         URL url = plugin.getBundle().getEntry(pluginRelativeFileName);
         if (url != null) {
             url = Platform.asLocalURL(url);
-            return url.getPath().substring(1);
+            IPath iPath = new Path(url.getPath());
+            return iPath.toOSString();
         }
         return null;
     }