Path separator must be constant

TeamCity agents have different OS'es, but build parameters are fixed

Original commit: 7171cd4cc5
This commit is contained in:
Andrey Breslav
2013-06-10 14:45:11 +04:00
parent 005124ed27
commit 9defbe0083
@@ -134,7 +134,7 @@ public class KotlinBuilderModuleScriptGenerator {
// is not available on TeamCity. When running on TeamCity, one has to provide extra path to JDK annotations
String extraAnnotationsPaths = System.getProperty("jps.kotlin.extra.annotation.paths");
if (extraAnnotationsPaths != null) {
String[] paths = extraAnnotationsPaths.split(File.pathSeparator);
String[] paths = extraAnnotationsPaths.split(";");
for (String path : paths) {
annotationRootFiles.add(new File(path));
}