Skip to content

Commit

Permalink
Fix: Creation of Java Gradle project throws exception (reference #547)
Browse files Browse the repository at this point in the history
  • Loading branch information
rat-moonshine committed May 17, 2019
1 parent e56f833 commit 201b6e9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
import actionScripts.events.GlobalEventDispatcher;
import actionScripts.factory.FileLocation;
import actionScripts.locator.IDEModel;
import actionScripts.plugin.actionscript.as3project.vo.AS3ProjectVO;
import actionScripts.plugin.groovy.grailsproject.vo.GrailsProjectVO;
import actionScripts.plugin.settings.vo.ISetting;
import actionScripts.plugin.settings.vo.PluginSettingsWrapper;
import actionScripts.plugin.settings.vo.SettingsWrapper;
import actionScripts.valueObjects.ProjectVO;
import actionScripts.plugin.actionscript.as3project.vo.AS3ProjectVO;
import actionScripts.plugin.groovy.grailsproject.vo.GrailsProjectVO;
public static const EVENT_SAVE:String = "saveSettingsEvent";
public static const EVENT_CLOSE:String = "closeSettingsEvent";
Expand Down Expand Up @@ -141,7 +141,7 @@
// Since in either Flash Builder or Moonshine project type, Moonshine always saves
// it's saved data to .as3proj file only, we should check the .as3proj file existence first
var projectPath:String = associatedData.folderLocation.fileBridge.nativePath + associatedData.folderLocation.fileBridge.separator + associatedData.projectName;
if (associatedData.isVisualEditorProject)
if ((associatedData is AS3ProjectVO) && (associatedData as AS3ProjectVO).isVisualEditorProject)
{
projectPath += ".veditorproj";
}
Expand Down

0 comments on commit 201b6e9

Please sign in to comment.