Selaa lähdekoodia

- fix creation of private.properties on Windoof

Normen Hansen 10 vuotta sitten
vanhempi
commit
7f0ed3e485
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      build.gradle

+ 2 - 2
build.gradle

@@ -59,8 +59,8 @@ task checkPlatformConfig {
         }
         }
         file("nbproject/private/").mkdirs()
         file("nbproject/private/").mkdirs()
         platformFile.createNewFile()
         platformFile.createNewFile()
-        platformFile.write("nbplatform.default.netbeans.dest.dir=${netbeansFolder.absolutePath}\r\n"+\
-                           "nbplatform.default.harness.dir=${netbeansFolder.absolutePath}/harness\r\n")
+        platformFile.write("nbplatform.default.netbeans.dest.dir=${netbeansFolder.absolutePath.replace('\\','/')}\r\n"+\
+                           "nbplatform.default.harness.dir=${netbeansFolder.absolutePath.replace('\\','/')}/harness\r\n")
     }
     }
 }
 }