return ((File.separatorChar == '\\') && path.startsWith("/")) ? ("C:" + path) : path;
}
public void testNonPlatformBundleDeploy_FileSystem_RelativePath() throws Exception {
BundleType bundleType = new BundleType("bundleTypeName", im.bundleHandlerType);
Bundle bundle = new Bundle("bundleName", bundleType, null, null);
BundleVersion bundleVersion = new BundleVersion("bundleVersionName", "1.0", bundle, "");
BundleDestination destination = new BundleDestination(bundle, "destName", null,
MockInventoryManager.BUNDLE_CONFIG_NAME_FS, "relative/path"); // RELATIVE PATH
BundleDeployment bundleDeployment = new BundleDeployment(bundleVersion, destination, "deploymentName");
BundleResourceDeployment resourceDeployment = new BundleResourceDeployment(bundleDeployment, im.serverFS);