external compiler: fixed building artifacts on Windows

This commit is contained in:
nik
2012-09-17 15:15:09 +04:00
parent 670306c5d8
commit e4090352ad
@@ -104,7 +104,7 @@ public class IncArtifactBuilder extends ProjectLevelBuilder {
for (Map.Entry<BuildRootDescriptor, Set<File>> entry : filesToRecompile.entrySet()) {
int rootIndex = ((ArtifactRootDescriptor)entry.getKey()).getRootIndex();
for (File file : entry.getValue()) {
String sourcePath = file.getPath();
String sourcePath = FileUtil.toSystemIndependentName(file.getPath());
addFileToProcess(filesToProcess, rootIndex, sourcePath, deletedFiles);
final Collection<String> outputPaths = srcOutMapping.getState(sourcePath);
if (outputPaths != null) {