[Swift-commit] r7934 - trunk/src/org/griphyn/vdl/mapping/file
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Thu Jul 3 20:26:18 CDT 2014
Author: hategan
Date: 2014-07-03 20:26:17 -0500 (Thu, 03 Jul 2014)
New Revision: 7934
Modified:
trunk/src/org/griphyn/vdl/mapping/file/MappingParamFileGenerator.java
Log:
Fixed compilation of param files on windows
Modified: trunk/src/org/griphyn/vdl/mapping/file/MappingParamFileGenerator.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/file/MappingParamFileGenerator.java 2014-06-28 18:52:46 UTC (rev 7933)
+++ trunk/src/org/griphyn/vdl/mapping/file/MappingParamFileGenerator.java 2014-07-04 01:26:17 UTC (rev 7934)
@@ -104,7 +104,8 @@
}
br.close();
- String pkg = f.getParentFile().getAbsolutePath().substring(base.getAbsolutePath().length() + 1).replace('/', '.');
+ String pkg = f.getParentFile().getAbsolutePath().substring(
+ base.getAbsolutePath().length() + 1).replace(File.pathSeparatorChar, '.');
File nf = new File(makeFileName(f));
writeFile(nf, pkg, params, opts);
}
More information about the Swift-commit
mailing list