Skip to content
Permalink
Browse files
1. Fixed link for "Disclaimer" button to http://incubator.apache.org/…
…flex/about-binaries.html

2.  Removed unnecessary log message; "action"
3.  Fixed incorrect app version in log
4.  Fixed appearance of "Disclaimer" button
5.  Code cleanup

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk@1383632 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
bigosmallm committed Sep 11, 2012
1 parent 25d9b82 commit 8c79ec8d6153792eebdec02cf360fcaa1f40f1a3
Showing 3 changed files with 6 additions and 5 deletions.
@@ -35,7 +35,7 @@ public class Constants
public static const APPLICATION_EXTENSION_WIN:String = ".exe";

public static const CONFIG_XML_NAME:String = "sdk-installer-config.xml";
public static const DISCLAIMER_PATH:String = "installer-disclaimer.html";
public static const DISCLAIMER_PATH:String = "about-binaries.html";


public static const SDK_BINARY_FILE_NAME_PREFIX:String = "apache-flex-sdk-";
@@ -211,7 +211,7 @@ public class MirrorURLUtil implements ILog

_log = new ArrayCollection();

_log.addItem(ACTION);
//_log.addItem(ACTION);

_internetUtil.fetch(fetchURL, fetchMirrorFromCGIResult);
}
@@ -54,7 +54,6 @@ variables are not required because the locations of these pieces are known.
import mx.core.IFlexDisplayObject;
import mx.events.FlexEvent;
import mx.managers.PopUpManager;
import mx.rpc.events.ResultEvent;
import mx.utils.StringUtil;
import org.apache.flex.packageflexsdk.model.OptionalComponentVO;
@@ -402,8 +401,6 @@ variables are not required because the locations of these pieces are known.
protected function main():void
{
// Log the Installer version to help with any support issues that arise.
log("Version" + " " + INSTALLER_VERSION + "." + INSTALLER_BUILD_NUMBER + " (" + _os + ")",0);
initiateInstallStepsActivity();
initializeOptionInstallsDataProvider();
@@ -419,6 +416,9 @@ variables are not required because the locations of these pieces are known.
var xmlns:Namespace = new Namespace(applicationDescriptor.namespace());
var currentVersion:String = applicationDescriptor.xmlns::versionNumber.toString();
// Log the Installer version to help with any support issues that arise.
log("Version " + currentVersion + " (" + _os + ")" ,0);
var availBuildNumbers:Array = _latestVersion.split(".");
var currentBuildNumbers:Array = currentVersion.split(".");
for (var i:int=0; i < currentBuildNumbers.length; i++)
@@ -1858,6 +1858,7 @@ variables are not required because the locations of these pieces are known.
horizontalAlign="right">
<s:Button
label="{_viewResourceConstants.BTN_DISCLAIMER}"
styleName="genericBtnStyle"
click="{showDisclaimer()}"
/>
<s:Spacer width="100%" />

0 comments on commit 8c79ec8

Please sign in to comment.