- 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
3.0
nor..67 12 years ago
parent f44f182e62
commit 817d6d9982
  1. 2
      sdk/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) {
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));
try {
FileObject properties = project.createData(CodelessProjectFactory.CONFIG_NAME);

Loading…
Cancel
Save