2
0
Эх сурвалжийг харах

SDK
- make codeless project wizard put forward slashes in project file

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10282 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

nor..67 12 жил өмнө
parent
commit
db88ba2c80

+ 1 - 1
jme3-core/src/com/jme3/gde/core/codeless/CodelessProjectWizardAction.java

@@ -78,7 +78,7 @@ public final class CodelessProjectWizardAction extends CallableSystemAction {
 
 
     private void createProjectSettings(WizardDescriptor wizardDescriptor) {
     private void createProjectSettings(WizardDescriptor wizardDescriptor) {
         String projectFolder = (String) wizardDescriptor.getProperty("PROJECT_FOLDER");
         String projectFolder = (String) wizardDescriptor.getProperty("PROJECT_FOLDER");
-        String assetsFolder = (String) wizardDescriptor.getProperty("ASSETS_FOLDER");
+        String assetsFolder = ((String) wizardDescriptor.getProperty("ASSETS_FOLDER")).replace(File.separator, "/");
         FileObject project = FileUtil.toFileObject(new File(projectFolder));
         FileObject project = FileUtil.toFileObject(new File(projectFolder));
         try {
         try {
             FileObject properties = project.createData(CodelessProjectFactory.CONFIG_NAME);
             FileObject properties = project.createData(CodelessProjectFactory.CONFIG_NAME);