Skip to content

Commit

Permalink
- Fixed maven path setting logic on Windows
Browse files Browse the repository at this point in the history
- Updated wrapper component property to return project path
(reference #669)
  • Loading branch information
rat-moonshine committed May 12, 2020
1 parent 020f865 commit 2894c19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ package actionScripts.plugins.domino
else
{
var tmpRootDirectories:Array = File.getRootDirectories();
HelperConstants.DEFAULT_INSTALLATION_PATH = (tmpRootDirectories.length > 0) ?
targetUpdateSitePath = (tmpRootDirectories.length > 0) ?
tmpRootDirectories[0].resolvePath(HelperConstants.DEFAULT_SDK_FOLDER_NAME +"/Domino/UpdateSite") :
File.userDirectory.resolvePath(HelperConstants.DEFAULT_SDK_FOLDER_NAME +"/Domino/UpdateSite");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ package actionScripts.plugins.ui.editor.dominoFormBuilder

import mx.events.CloseEvent;
import mx.managers.IFocusManagerComponent;
import mx.utils.ObjectUtil;

import spark.components.Alert;
import spark.components.Group;
Expand Down Expand Up @@ -59,6 +58,8 @@ package actionScripts.plugins.ui.editor.dominoFormBuilder
public function get currentFile():FileLocation { return _currentFile; }
public function set currentFile(value:FileLocation):void { throw Error('No SET option available.'); }

public function get projectPath():String { return (project ? project.folderLocation.fileBridge.nativePath : null); }

public function get label():String
{
var labelChangeIndicator:String = _isChanged ? "*" : "";
Expand All @@ -70,6 +71,7 @@ package actionScripts.plugins.ui.editor.dominoFormBuilder
return labelChangeIndicator + currentFile.fileBridge.name;
}


protected var dominoTabularForm:DominoTabularForm;

private var project:OnDiskProjectVO;
Expand Down

0 comments on commit 2894c19

Please sign in to comment.