flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject [42/50] [abbrv] git commit: [flex-utilities] [refs/heads/master] - Added support to track SDK version and OS as well
Date Sun, 04 Aug 2013 09:00:23 GMT
Added support to track SDK version and OS as well


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/345bb226
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/345bb226
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/345bb226

Branch: refs/heads/master
Commit: 345bb2263e5c2f8f98efe57898759f235bf13903
Parents: 26b14d5
Author: Om <bigosmallm@gmail.com>
Authored: Fri Jul 19 16:04:43 2013 -0700
Committer: Om <bigosmallm@gmail.com>
Committed: Fri Jul 19 17:14:36 2013 -0700

----------------------------------------------------------------------
 installer/src/InstallApacheFlex.mxml                   |  2 +-
 .../flex/packageflexsdk/view/components/Tracker.mxml   | 13 ++++++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/345bb226/installer/src/InstallApacheFlex.mxml
----------------------------------------------------------------------
diff --git a/installer/src/InstallApacheFlex.mxml b/installer/src/InstallApacheFlex.mxml
index fef7307..286bfbe 100644
--- a/installer/src/InstallApacheFlex.mxml
+++ b/installer/src/InstallApacheFlex.mxml
@@ -1396,7 +1396,7 @@ variables are not required because the locations of these pieces are
known.
 				}
 			}
 			if (allComponentsInstalled) {
-				tracker.trackInstallerSuccess();
+				tracker.trackInstallerSuccess(APACHE_FLEX_BIN_DISTRO_VERSION,_os);
 				cleanup(false);
 			}
 		}

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/345bb226/installer/src/org/apache/flex/packageflexsdk/view/components/Tracker.mxml
----------------------------------------------------------------------
diff --git a/installer/src/org/apache/flex/packageflexsdk/view/components/Tracker.mxml b/installer/src/org/apache/flex/packageflexsdk/view/components/Tracker.mxml
index a3031d3..6ee8ab1 100644
--- a/installer/src/org/apache/flex/packageflexsdk/view/components/Tracker.mxml
+++ b/installer/src/org/apache/flex/packageflexsdk/view/components/Tracker.mxml
@@ -22,11 +22,18 @@ limitations under the License.
 		 xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300">
 	<fx:Script>
 		<![CDATA[
-			import org.apache.flex.packageflexsdk.resource.ViewResourceConstants;
 			import org.apache.flex.utilities.common.Constants;
-			public function trackInstallerSuccess():void
+			public function trackInstallerSuccess(version:String=null,os:String=null):void
 			{
-				trackInstallerHTML.location = Constants.APACHE_FLEX_URL + Constants.INSTALLER_TRACK_SUCCESS;
+				if(version == null && os == null)
+				{
+					trackInstallerHTML.location = Constants.APACHE_FLEX_URL + Constants.INSTALLER_TRACK_SUCCESS;
+				}
+				else
+				{
+					trackInstallerHTML.location = Constants.APACHE_FLEX_URL + Constants.INSTALLER_TRACK_SUCCESS
+ "?version=" + version + "&os=" + os;
+				}
+				
 			}
 		]]>
 	</fx:Script>


Mime
View raw message