You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/06/15 08:31:04 UTC
[30/48] git commit: [flex-utilities] [refs/heads/develop] - move
installer into flex-installer
move installer into flex-installer
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/cda78507
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/cda78507
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/cda78507
Branch: refs/heads/develop
Commit: cda78507075ed627ee321a247487b5da991fa5ad
Parents: a89ead8
Author: Alex Harui <ah...@apache.org>
Authored: Sun Jun 14 23:11:51 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Jun 14 23:11:51 2015 -0700
----------------------------------------------------------------------
.../installer/.actionScriptProperties | 60 +
flex-installer/installer/.flexProperties | 20 +
flex-installer/installer/.project | 42 +
.../.settings/org.eclipse.core.resources.prefs | 3 +
flex-installer/installer/ApproveInstaller.xml | 367 ++
flex-installer/installer/LICENSE | 219 +
flex-installer/installer/NOTICE | 10 +
flex-installer/installer/README | 204 +
flex-installer/installer/RELEASE_GUIDE | 53 +
flex-installer/installer/RELEASE_NOTES | 121 +
flex-installer/installer/build.number | 3 +
flex-installer/installer/build.properties | 59 +
flex-installer/installer/build.xml | 670 +++
flex-installer/installer/releasecandidate.xml | 449 ++
flex-installer/installer/sign_and_hash.sh | 56 +
.../installer/src/InstallApacheFlex-app.xml | 252 ++
.../installer/src/InstallApacheFlex.mxml | 4019 ++++++++++++++++++
.../installer/src/assets/icons/114.png | Bin 0 -> 21227 bytes
.../installer/src/assets/icons/128.png | Bin 0 -> 21810 bytes
.../installer/src/assets/icons/16.png | Bin 0 -> 953 bytes
.../installer/src/assets/icons/29.png | Bin 0 -> 2573 bytes
.../installer/src/assets/icons/32.png | Bin 0 -> 2608 bytes
.../installer/src/assets/icons/36.png | Bin 0 -> 3266 bytes
.../installer/src/assets/icons/48.png | Bin 0 -> 5332 bytes
.../installer/src/assets/icons/512.png | Bin 0 -> 157277 bytes
.../installer/src/assets/icons/57.png | Bin 0 -> 7388 bytes
.../installer/src/assets/icons/72.png | Bin 0 -> 9400 bytes
.../icons/ApacheFlexLogo_fullcolor_wb.png | Bin 0 -> 71228 bytes
.../installer/src/assets/icons/Flexicon.png | Bin 0 -> 50252 bytes
.../src/assets/icons/apache_flex_badge_icon.png | Bin 0 -> 16351 bytes
.../src/assets/icons/apache_flex_logo_text.png | Bin 0 -> 10538 bytes
.../icons/apache_flexfalcon_logo_text.png | Bin 0 -> 22281 bytes
.../assets/icons/apache_flexjs_logo_text.png | Bin 0 -> 17977 bytes
.../installer/src/assets/icons/bg_logo.png | Bin 0 -> 263915 bytes
.../installer/src/assets/icons/favicon.ico | Bin 0 -> 2708 bytes
.../assets/styles/InstallApacheFlexStyle.css | 80 +
.../NativeApplicationUpdater.as | 581 +++
.../UpdaterErrorCodes.as | 70 +
.../utils/HdiutilHelper.as | 117 +
.../src/installer/sdk-installer-config-3.0.xml | 112 +
.../src/installer/sdk-installer-config-3.1.xml | 116 +
.../src/installer/sdk-installer-config-4.0.xml | 420 ++
.../model/InstallerComponentVO.as | 60 +
.../org/apache/flex/packageflexsdk/model/OS.as | 67 +
.../resource/ViewResourceConstants.as | 222 +
.../flex/packageflexsdk/util/ApacheURLLoader.as | 127 +
.../flex/packageflexsdk/util/CalcButtonWidth.as | 61 +
.../flex/packageflexsdk/util/DownloadUtil.as | 94 +
.../flex/packageflexsdk/util/MD5CompareUtil.as | 264 ++
.../flex/packageflexsdk/view/UpdaterDialog.mxml | 204 +
.../view/components/AboutDialog.mxml | 26 +
.../view/components/AdobeLicense.mxml | 79 +
.../view/components/ConsoleWindow.mxml | 90 +
.../view/components/MPLLicense.mxml | 48 +
.../packageflexsdk/view/components/Tracker.mxml | 53 +
.../controls/MultiStepProgressIndicator.mxml | 37 +
.../view/events/InstallItemSelectionEvent.as | 36 +
.../OptionalInstallItemRenderer.mxml | 59 +
.../installer/src/properties/de_DE.properties | 131 +
.../installer/src/properties/el_GR.properties | 123 +
.../installer/src/properties/en_AU.properties | 64 +
.../installer/src/properties/en_GB.properties | 64 +
.../installer/src/properties/en_US.properties | 143 +
.../installer/src/properties/es_ES.properties | 123 +
.../installer/src/properties/fr_FR.properties | 136 +
.../installer/src/properties/ko_KR.properties | 136 +
.../installer/src/properties/nl_NL.properties | 131 +
.../installer/src/properties/pl_PL.properties | 137 +
.../installer/src/properties/pt_BR.properties | 138 +
.../installer/src/properties/ru_RU.properties | 140 +
.../installer/src/properties/zh_CN.properties | 138 +
.../installer/src/properties/zh_TW.properties | 138 +
.../installer/src/sdk-installer-config-2.0.xml | 68 +
.../installer/src/sdk-installer-config.xml | 71 +
.../ws/tink/spark/controls/ActivityIndicator.as | 283 ++
.../src/ws/tink/spark/controls/IAnimator.as | 53 +
.../src/ws/tink/spark/controls/PercentLayout.as | 125 +
.../src/ws/tink/spark/controls/ProgressBar.as | 131 +
.../src/ws/tink/spark/controls/Rotator.as | 206 +
.../src/ws/tink/spark/controls/StepItem.as | 59 +
.../ws/tink/spark/controls/StepRenderer.mxml | 81 +
.../ws/tink/spark/controls/StepRendererBase.as | 120 +
.../src/ws/tink/spark/layouts/EllipseLayout.as | 275 ++
.../skins/controls/ActivityIndicatorSkin.mxml | 38 +
.../spark/skins/controls/ColorCheckBoxSkin.mxml | 181 +
.../skins/controls/InstallApacheFlexSkin.mxml | 131 +
.../spark/skins/controls/ProgressBarSkin.mxml | 106 +
.../tink/spark/skins/controls/RotatorSkin.mxml | 46 +
.../controls/StepActivityIndicatorSkin.mxml | 38 +
.../spark/skins/controls/StepRotatorSkin.mxml | 64 +
.../spark/skins/controls/TextInputSkin.mxml | 224 +
.../spark/skins/controls/UpdaterDialogSkin.mxml | 211 +
installer/.actionScriptProperties | 60 -
installer/.flexProperties | 20 -
installer/.project | 42 -
.../.settings/org.eclipse.core.resources.prefs | 3 -
installer/ApproveInstaller.xml | 367 --
installer/LICENSE | 219 -
installer/NOTICE | 10 -
installer/README | 204 -
installer/RELEASE_GUIDE | 53 -
installer/RELEASE_NOTES | 121 -
installer/build.number | 3 -
installer/build.properties | 59 -
installer/build.xml | 670 ---
installer/releasecandidate.xml | 449 --
installer/sign_and_hash.sh | 56 -
installer/src/InstallApacheFlex-app.xml | 252 --
installer/src/InstallApacheFlex.mxml | 4019 ------------------
installer/src/assets/icons/114.png | Bin 21227 -> 0 bytes
installer/src/assets/icons/128.png | Bin 21810 -> 0 bytes
installer/src/assets/icons/16.png | Bin 953 -> 0 bytes
installer/src/assets/icons/29.png | Bin 2573 -> 0 bytes
installer/src/assets/icons/32.png | Bin 2608 -> 0 bytes
installer/src/assets/icons/36.png | Bin 3266 -> 0 bytes
installer/src/assets/icons/48.png | Bin 5332 -> 0 bytes
installer/src/assets/icons/512.png | Bin 157277 -> 0 bytes
installer/src/assets/icons/57.png | Bin 7388 -> 0 bytes
installer/src/assets/icons/72.png | Bin 9400 -> 0 bytes
.../icons/ApacheFlexLogo_fullcolor_wb.png | Bin 71228 -> 0 bytes
installer/src/assets/icons/Flexicon.png | Bin 50252 -> 0 bytes
.../src/assets/icons/apache_flex_badge_icon.png | Bin 16351 -> 0 bytes
.../src/assets/icons/apache_flex_logo_text.png | Bin 10538 -> 0 bytes
.../icons/apache_flexfalcon_logo_text.png | Bin 22281 -> 0 bytes
.../assets/icons/apache_flexjs_logo_text.png | Bin 17977 -> 0 bytes
installer/src/assets/icons/bg_logo.png | Bin 263915 -> 0 bytes
installer/src/assets/icons/favicon.ico | Bin 2708 -> 0 bytes
.../assets/styles/InstallApacheFlexStyle.css | 80 -
.../NativeApplicationUpdater.as | 581 ---
.../UpdaterErrorCodes.as | 70 -
.../utils/HdiutilHelper.as | 117 -
.../src/installer/sdk-installer-config-3.0.xml | 112 -
.../src/installer/sdk-installer-config-3.1.xml | 116 -
.../src/installer/sdk-installer-config-4.0.xml | 420 --
.../model/InstallerComponentVO.as | 60 -
.../org/apache/flex/packageflexsdk/model/OS.as | 67 -
.../resource/ViewResourceConstants.as | 222 -
.../flex/packageflexsdk/util/ApacheURLLoader.as | 127 -
.../flex/packageflexsdk/util/CalcButtonWidth.as | 61 -
.../flex/packageflexsdk/util/DownloadUtil.as | 94 -
.../flex/packageflexsdk/util/MD5CompareUtil.as | 264 --
.../flex/packageflexsdk/view/UpdaterDialog.mxml | 204 -
.../view/components/AboutDialog.mxml | 26 -
.../view/components/AdobeLicense.mxml | 79 -
.../view/components/ConsoleWindow.mxml | 90 -
.../view/components/MPLLicense.mxml | 48 -
.../packageflexsdk/view/components/Tracker.mxml | 53 -
.../controls/MultiStepProgressIndicator.mxml | 37 -
.../view/events/InstallItemSelectionEvent.as | 36 -
.../OptionalInstallItemRenderer.mxml | 59 -
installer/src/properties/de_DE.properties | 131 -
installer/src/properties/el_GR.properties | 123 -
installer/src/properties/en_AU.properties | 64 -
installer/src/properties/en_GB.properties | 64 -
installer/src/properties/en_US.properties | 143 -
installer/src/properties/es_ES.properties | 123 -
installer/src/properties/fr_FR.properties | 136 -
installer/src/properties/ko_KR.properties | 136 -
installer/src/properties/nl_NL.properties | 131 -
installer/src/properties/pl_PL.properties | 137 -
installer/src/properties/pt_BR.properties | 138 -
installer/src/properties/ru_RU.properties | 140 -
installer/src/properties/zh_CN.properties | 138 -
installer/src/properties/zh_TW.properties | 138 -
installer/src/sdk-installer-config-2.0.xml | 68 -
installer/src/sdk-installer-config.xml | 71 -
.../ws/tink/spark/controls/ActivityIndicator.as | 283 --
.../src/ws/tink/spark/controls/IAnimator.as | 53 -
.../src/ws/tink/spark/controls/PercentLayout.as | 125 -
.../src/ws/tink/spark/controls/ProgressBar.as | 131 -
installer/src/ws/tink/spark/controls/Rotator.as | 206 -
.../src/ws/tink/spark/controls/StepItem.as | 59 -
.../ws/tink/spark/controls/StepRenderer.mxml | 81 -
.../ws/tink/spark/controls/StepRendererBase.as | 120 -
.../src/ws/tink/spark/layouts/EllipseLayout.as | 275 --
.../skins/controls/ActivityIndicatorSkin.mxml | 38 -
.../spark/skins/controls/ColorCheckBoxSkin.mxml | 181 -
.../skins/controls/InstallApacheFlexSkin.mxml | 131 -
.../spark/skins/controls/ProgressBarSkin.mxml | 106 -
.../tink/spark/skins/controls/RotatorSkin.mxml | 46 -
.../controls/StepActivityIndicatorSkin.mxml | 38 -
.../spark/skins/controls/StepRotatorSkin.mxml | 64 -
.../spark/skins/controls/TextInputSkin.mxml | 224 -
.../spark/skins/controls/UpdaterDialogSkin.mxml | 211 -
184 files changed, 13883 insertions(+), 13883 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/flex-installer/installer/.actionScriptProperties b/flex-installer/installer/.actionScriptProperties
new file mode 100644
index 0000000..4c6a7a0
--- /dev/null
+++ b/flex-installer/installer/.actionScriptProperties
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<actionScriptProperties analytics="false" mainApplicationPath="InstallApacheFlex.mxml" projectUUID="151f0ac8-8811-45cd-b935-d7c2b0949fa3" version="11">
+ <compiler additionalCompilerArguments="" autoRSLOrdering="true" copyDependentFiles="true" flexSDK="Apache Flex 4.10.0 FP 11.8 AIR 3.8 en_US" fteInMXComponents="false" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin-debug" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="true" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true">
+ <compilerSourcePath>
+ <compilerSourcePathEntry kind="1" linkType="1" path="${APACHE_FLEX_UTILITIES_ROOT}/common/src"/>
+ </compilerSourcePath>
+ <libraryPath defaultLinkType="0">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="1" linkType="1" path="libs"/>
+ <libraryPathEntry kind="3" linkType="1" path="/common/bin/common.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="/ant_on_air/bin/ant_on_air.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="InstallApacheFlex.mxml">
+ <airExcludes/>
+ </application>
+ </applications>
+ <modules/>
+ <workers/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+ <buildTargets>
+ <buildTarget buildTargetName="default" platformId="default">
+ <airSettings airCertificatePath="C:/p/documents/certificates/installapacheflex_self.p12" airTimestamp="true" anePathSet="true" version="1">
+ <airExcludes/>
+ <anePaths/>
+ <newLaunchParams/>
+ <modifiedLaunchParams/>
+ <newPackagingParams/>
+ <modifiedPackagingParams/>
+ </airSettings>
+ <actionScriptSettings version="1"/>
+ </buildTarget>
+ </buildTargets>
+</actionScriptProperties>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/.flexProperties
----------------------------------------------------------------------
diff --git a/flex-installer/installer/.flexProperties b/flex-installer/installer/.flexProperties
new file mode 100644
index 0000000..1d99468
--- /dev/null
+++ b/flex-installer/installer/.flexProperties
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<flexProperties enableServiceManager="false" flexServerFeatures="0" flexServerType="0" toolCompile="true" useServerFlexSDK="false" version="2"/>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/.project
----------------------------------------------------------------------
diff --git a/flex-installer/installer/.project b/flex-installer/installer/.project
new file mode 100644
index 0000000..0bb8906
--- /dev/null
+++ b/flex-installer/installer/.project
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<projectDescription>
+ <name>installer</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.apollobuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.apollonature</nature>
+ <nature>com.adobe.flexbuilder.project.flexnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/flex-installer/installer/.settings/org.eclipse.core.resources.prefs b/flex-installer/installer/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..83c8af1
--- /dev/null
+++ b/flex-installer/installer/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Thu May 17 15:49:27 PDT 2012
+eclipse.preferences.version=1
+encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/ApproveInstaller.xml
----------------------------------------------------------------------
diff --git a/flex-installer/installer/ApproveInstaller.xml b/flex-installer/installer/ApproveInstaller.xml
new file mode 100644
index 0000000..eb3091f
--- /dev/null
+++ b/flex-installer/installer/ApproveInstaller.xml
@@ -0,0 +1,367 @@
+<?xml version="1.0"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+<project name="ApproveApacheFlexInstaller" default="main" basedir=".">
+
+
+ <!-- Required for OSX 10.6 / Snow Leopard Performance. -->
+ <!-- Java 7 on Mac requires OSX 10.7.3 or higher and is 64-bit only -->
+ <!-- local.d32 is set/used in build.properties so this needs to be done first. -->
+ <condition property="local.d32" value="-d32">
+ <and>
+ <os family="windows"/>
+ <equals arg1="${sun.arch.data.model}" arg2="64"/>
+ <equals arg1="${os.arch}" arg2="x86_64"/>
+ <equals arg1="${ant.java.version}" arg2="1.6"/>
+ </and>
+ </condition>
+
+ <condition property="isMac" value="mac">
+ <os family="mac" />
+ </condition>
+ <condition property="isWindows" value="windows">
+ <os family="windows" />
+ </condition>
+ <condition property="isLinux" value="linux">
+ <and>
+ <os family="unix" />
+ <not>
+ <isset property="isMac" />
+ </not>
+ </and>
+ </condition>
+ <condition property="package.suffix" value="zip">
+ <os family="windows" />
+ </condition>
+ <property name="package.suffix" value="tar.gz" />
+
+ <property name="rat.report" value="${basedir}/rat-report.txt"/>
+ <property name="apache.rat.jar" value="apache-rat-0.8.jar" />
+ <property name="apache.rat.tasks.jar" value="apache-rat-tasks-0.8.jar" />
+ <property name="apache.rat.url" value="http://people.apache.org/~aharui/rat" />
+
+ <property name="mac.text.display" value="cat" />
+ <property name="win.text.display" value="type" />
+ <property name="linux.text.display" value="cat" />
+
+ <property file="${basedir}/approveinstaller.properties"/>
+ <property environment="env"/>
+
+ <property name="build.target" value="main" />
+
+ <condition property="do.copy.downloads" >
+ <isset property="download.cache.dir" />
+ </condition>
+
+ <fail message="The ANT_HOME environment variable is not set."
+ unless="env.ANT_HOME"/>
+
+ <available file="${env.FLEX_HOME}"
+ type="dir"
+ property="FLEX_HOME" value="${env.FLEX_HOME}" />
+
+ <fail message="The FLEX_HOME property is not set in environment or command-line."
+ unless="FLEX_HOME"/>
+
+ <available file="${env.AIR_HOME}"
+ type="dir"
+ property="AIR_HOME" value="${env.AIR_HOME}" />
+
+ <fail message="The AIR_HOME property is not set in environment or command-line."
+ unless="AIR_HOME"/>
+
+ <available file="${env.ANT_HOME}/lib/${apache.rat.jar}"
+ type="file"
+ property="apache.rat.found"/>
+ <available file="${env.ANT_HOME}/lib/${apache.rat.tasks.jar}"
+ type="file"
+ property="apache.rat.tasks.found"/>
+
+ <fail message="The release version is not set. Specify -Drelease.version=<release version (e.g. 3.1, 3.2, etc)>"
+ unless="release.version"/>
+
+ <fail message="The release candidate number is not set. Specify -Drc=<rc number (e.g. 1, 2, 3, etc)>"
+ unless="rc"/>
+
+ <property name="package.url.path" value="https://dist.apache.org/repos/dist/dev/flex/installer/${release.version}/rc${rc}" />
+ <property name="package.url.name" value="apache-flex-sdk-installer-${release.version}.0-src" />
+
+ <condition property="zip.compressed">
+ <equals arg1="zip" arg2="${package.suffix}" />
+ </condition>
+
+ <target name="display-text-mac" if="isMac">
+ <echo>========================= Begin ${file} ==============================</echo>
+ <exec executable="${mac.text.display}" >
+ <arg value="${file}" />
+ </exec>
+ <echo>========================= End ${file} ==============================</echo>
+ </target>
+ <target name="display-text-win" if="isWindows">
+ <pathconvert targetos="windows" property="winfile">
+ <path path="${file}" />
+ </pathconvert>
+ <echo>========================= Begin ${winfile} ==============================</echo>
+ <exec executable="cmd.exe" >
+ <arg value="/c" />
+ <arg value="${win.text.display}" />
+ <arg value="${winfile}" />
+ </exec>
+ <echo>========================= End ${winfile} ==============================</echo>
+ </target>
+ <target name="display-text-linux" if="isLinux">
+ <echo>========================= Begin ${file} ==============================</echo>
+ <exec executable="${linux.text.display}" >
+ <arg value="${file}" />
+ </exec>
+ <echo>========================= End ${file} ==============================</echo>
+ </target>
+
+ <target name="install-rat" depends="install-rat.jar,install-rat.tasks.jar" />
+ <target name="install-rat.jar" unless="apache.rat.found">
+ <get src="${apache.rat.url}/${apache.rat.jar}" dest="${env.ANT_HOME}/lib/${apache.rat.jar}" />
+ </target>
+ <target name="install-rat.tasks.jar" unless="apache.rat.tasks.found">
+ <get src="${apache.rat.url}/${apache.rat.tasks.jar}" dest="${env.ANT_HOME}/lib/${apache.rat.tasks.jar}" />
+ </target>
+
+ <target name="rat-taskdef" description="Rat taskdef">
+ <typedef resource="org/apache/rat/anttasks/antlib.xml"
+ uri="antlib:org.apache.rat.anttasks"
+ classpathref="anttask.classpath"/>
+ </target>
+
+ <target name="main" depends="install-rat,download,check-sigs,uncompress,rat-check,check-notices,build,approve" description="Perform required release approval steps">
+ </target>
+
+ <target name="main-no-download" depends="install-rat,check-sigs,uncompress,rat-check,check-notices,build,approve" description="Perform required release approval steps">
+ </target>
+
+ <target name="test" >
+ <echo>${rat.report}.bin.txt</echo>
+ <replaceregexp file="${rat.report}.bin.txt" match="..AL.*" replace="" byline="true"/>
+ </target>
+
+ <target name="display-text" >
+ <antcall target="display-text-mac" />
+ <antcall target="display-text-win" />
+ <antcall target="display-text-linux" />
+ </target>
+
+ <target name="display-text-test" >
+ <antcall target="display-text" >
+ <param name="file" value="${basedir}/rat-report.txt" />
+ </antcall>
+ </target>
+
+ <target name="download" description="download the release package">
+ <get src="${package.url.path}/${package.url.name}.${package.suffix}"
+ dest="${basedir}/${package.url.name}.${package.suffix}" />
+ <get src="${package.url.path}/${package.url.name}.${package.suffix}.md5"
+ dest="${basedir}/${package.url.name}.${package.suffix}.md5" />
+ <get src="${package.url.path}/${package.url.name}.${package.suffix}.asc"
+ dest="${basedir}/${package.url.name}.${package.suffix}.asc" />
+ </target>
+
+ <target name="check-sigs" description="check md5 and gpg sigs">
+ <replace file="${basedir}/${package.url.name}.${package.suffix}.md5"
+ token=" " />
+ <checksum file="${basedir}/${package.url.name}.${package.suffix}" algorithm="md5" verifyproperty="md5.ok" />
+ <condition property="MD5Invalid">
+ <not>
+ <equals arg1="${md5.ok}" arg2="true" />
+ </not>
+ </condition>
+ <fail message="MD5 checksum did not match" if="MD5Invalid" />
+ <exec executable="gpg" failonerror="true">
+ <arg value="--verify" />
+ <arg value="${basedir}/${package.url.name}.${package.suffix}.asc" />
+ <arg value="${basedir}/${package.url.name}.${package.suffix}" />
+ </exec>
+ </target>
+
+ <target name="uncompress" depends="pre-clean, untar-file, unzip-file" />
+
+ <target name="pre-clean" description="remove old uncompressed package" >
+ <delete dir="${basedir}/${package.url.name}" failonerror="false" />
+ </target>
+
+ <target name="untar-file" unless="zip.compressed" description="Untars zipFile">
+ <untar src="${basedir}/${package.url.name}.${package.suffix}"
+ dest="${basedir}/${package.url.name}" compression="gzip"/>
+ </target>
+
+ <target name="unzip-file" if="zip.compressed" description="Unzips zipFile">
+ <unzip src="${basedir}/${package.url.name}.${package.suffix}"
+ dest="${basedir}/${package.url.name}"/>
+ </target>
+
+ <target name="rat-check" >
+
+ <echo message="Checking files at ${basedir}/${package.url.name}, report is ${rat.report}"/>
+
+ <rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
+ reportFile="${rat.report}">
+ <fileset dir="${basedir}/${package.url.name}">
+ <!-- exclude media (png, gif, jpg, mp3, flv) -->
+ <exclude name="**/*.png"/>
+ <exclude name="**/*.gif"/>
+ <exclude name="**/*.jpg"/>
+ <exclude name="**/*.mp3"/>
+ <exclude name="**/*.flv"/>
+ <exclude name="installer/build.number"/>
+ </fileset>
+ </rat:report>
+ <antcall target="display-text" >
+ <param name="file" value="${rat.report}" />
+ </antcall>
+ <input
+ message="Check that there are no unknown or unapproved licenses or archives. Is it ok?"
+ validargs="y,n"
+ defaultvalue="y"
+ addproperty="rat.license.ok"/>
+ <echo>filtering out AL files to make it easier to see binary files</echo>
+ <copy file="${rat.report}" tofile="${rat.report}.bin.txt" />
+ <replaceregexp file="${rat.report}.bin.txt" match="..AL.*" replace="" byline="true"/>
+ <antcall target="display-text" >
+ <param name="file" value="${rat.report}.bin.txt" />
+ </antcall>
+ <input
+ message="Check that there are no unexpected binaries. Is it ok?"
+ validargs="y,n"
+ defaultvalue="n"
+ addproperty="rat.binaries.ok"/>
+ </target>
+
+ <target name="check-notices" description="open each notice file for review, grep for a few things" >
+ <fail message="README not in package">
+ <condition>
+ <not>
+ <available file="${basedir}/${package.url.name}/README" />
+ </not>
+ </condition>
+ </fail>
+ <fail message="RELEASE_NOTES not in package">
+ <condition>
+ <not>
+ <available file="${basedir}/${package.url.name}/RELEASE_NOTES" />
+ </not>
+ </condition>
+ </fail>
+ <fail message="NOTICE not in package">
+ <condition>
+ <not>
+ <available file="${basedir}/${package.url.name}/NOTICE" />
+ </not>
+ </condition>
+ </fail>
+ <fail message="LICENSE not in package">
+ <condition>
+ <not>
+ <available file="${basedir}/${package.url.name}/LICENSE" />
+ </not>
+ </condition>
+ </fail>
+ <antcall target="display-text" >
+ <param name="file" value="${basedir}/${package.url.name}/README" />
+ </antcall>
+ <input
+ message="Check the README for version numbers, spelling, grammar, accuracy. Is it ok?"
+ validargs="y,n"
+ defaultvalue="y"
+ addproperty="readme.ok"/>
+
+ <antcall target="display-text" >
+ <param name="file" value="${basedir}/${package.url.name}/RELEASE_NOTES" />
+ </antcall>
+ <input
+ message="Check the RELEASE_NOTES for copyright years, spelling, grammar, accuracy. Is it ok?"
+ validargs="y,n"
+ defaultvalue="y"
+ addproperty="releasenotes.ok"/>
+
+ <antcall target="display-text" >
+ <param name="file" value="${basedir}/${package.url.name}/NOTICE" />
+ </antcall>
+ <input
+ message="Check the NOTICE for required notices from third-parties. Is it ok?"
+ validargs="y,n"
+ defaultvalue="y"
+ addproperty="notice.ok"/>
+
+ <antcall target="display-text" >
+ <param name="file" value="${basedir}/${package.url.name}/LICENSE" />
+ </antcall>
+ <input
+ message="Check the LICENSE for the Apache License and third-party licenses. Is it ok?"
+ validargs="y,n"
+ defaultvalue="y"
+ addproperty="license.ok"/>
+ </target>
+
+ <target name="build" depends="copy.downloads">
+ <input
+ message="The final step is to run the build and any tests the build script runs. This can take several minutes. Press y to start the build."
+ validargs="y"
+ defaultvalue="y" />
+ <ant dir="${basedir}/${package.url.name}/ant_on_air" target="main" />
+ <ant dir="${basedir}/${package.url.name}/installer" target="build" />
+ </target>
+
+ <target name="copy.downloads" if="${do.copy.downloads}" description="instead of actually downloading all of the dependencies, you can save lots of time by just copying from some other folder in some other SDK.">
+ <echo>Copying downloads</echo>
+ <copy todir="${basedir}/${package.url.name}/in" >
+ <fileset dir="${download.cache.dir}" />
+ </copy>
+ </target>
+
+ <target name="approve" >
+ <condition property="vote" value="+1">
+ <and>
+ <equals arg1="${rat.license.ok}" arg2="y" />
+ <equals arg1="${rat.binaries.ok}" arg2="y" />
+ <equals arg1="${readme.ok}" arg2="y" />
+ <equals arg1="${releasenotes.ok}" arg2="y" />
+ <equals arg1="${notice.ok}" arg2="y" />
+ <equals arg1="${license.ok}" arg2="y" />
+ </and>
+ </condition>
+ <property name="vote" value="-1" />
+ <echo>
+${vote}
+Package ${package.url.path}/${package.url.name}.${package.suffix}
+Java ${ant.java.version}
+OS: ${os.name} ${os.arch} ${os.version}
+Source kit signatures match: y
+Source kit builds: y
+README is ok: ${readme.ok}
+RELEASE_NOTES is ok: ${releasenotes.ok}
+NOTICE is ok: ${notice.ok}
+LICENSE is ok: ${license.ok}
+No unapproved licenses or archives: ${rat.license.ok}
+No unapproved binaries: ${rat.binaries.ok}
+ </echo>
+ <fail>
+ <condition>
+ <equals arg1="-1" arg2="${vote}"/>
+ </condition>
+ </fail>
+ </target>
+</project>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/LICENSE
----------------------------------------------------------------------
diff --git a/flex-installer/installer/LICENSE b/flex-installer/installer/LICENSE
new file mode 100644
index 0000000..9590971
--- /dev/null
+++ b/flex-installer/installer/LICENSE
@@ -0,0 +1,219 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+
+APACHE FLEX SUBCOMPONENTS:
+
+The Apache Flex Installer includes a number of subcomponents with
+separate copyright notices and license terms. Your use of the source
+code for the these subcomponents is subject to the terms and
+conditions of the following licenses.
+
+The Open-Sans font is available under Apache License 2.0. For details
+see common/src/assets/fonts/open-sans/
+
+The NativeApplicationUpdater is available under Apache License 2.0.
+For details see installer/src/com/riaspace/
+
+
+
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/NOTICE
----------------------------------------------------------------------
diff --git a/flex-installer/installer/NOTICE b/flex-installer/installer/NOTICE
new file mode 100644
index 0000000..7fb7480
--- /dev/null
+++ b/flex-installer/installer/NOTICE
@@ -0,0 +1,10 @@
+Apache Flex
+Copyright 2015 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+The org.apache.flex.crypto.MD5Stream.as file was originally
+the com.adobe.crypto.MD5Stream.as file available on code.google.com
+and Copyright Adobe Systems Inc. It was almost completely
+re-written by inlining most functions to improve performance.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/README
----------------------------------------------------------------------
diff --git a/flex-installer/installer/README b/flex-installer/installer/README
new file mode 100644
index 0000000..fdba7a0
--- /dev/null
+++ b/flex-installer/installer/README
@@ -0,0 +1,204 @@
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+==========================================================================================
+Overview:
+==========================================================================================
+
+- The Apache Flex SDK Installer AIR application provides an easy installation of the
+ Apache Flex SDK and all its dependencies. This will make it suitable for working with
+ IDEs such as Adobe Flash Builder, FDT, IntelliJ IDEA, FlashDevelop, etc.
+ When installing an Apache Flex SDK, the application downloads the following
+ dependencies:
+ - The AIR sdk (Windows vs. Mac) based on the current platform
+ - Adobe Flash Player playerglobal.swc
+ - SWFObject
+ - Open Source Media Framework (OSMF)
+
+ Optionally, the application will download these files if the user explicitly agrees to
+ the licensing terms:
+ - Adobe embedded font support
+
+ Other release packages may download different dependencies.
+
+- The Apache Flex SDK Installer 3.0 and later supports the ability to install
+ virtually anything that can be installed via an Apache Ant script. The list
+ of choices to install are described in
+ installer/src/installer/sdk-installer-config-4.0.xml and posted to
+ http://flex.apache.org/installer/sdk-installer-config-4.0.xml. By default, the
+ installer looks there to determine the list of choices. Once a selection is made,
+ the installer then looks in the folder of the install package for a -config.xml file
+ and if found, uses that to determine the set of licensing options that need to be
+ accepted before installing. The installer then uncompresses the install package and
+ looks for installer.xml and runs that script via an approximation of Apache Ant that
+ has been written in ActionScript. If the -config.xml file is not found, the Installer
+ assumes it is installing an older version of the Apache Flex SDK.
+
+- When installing an older version of the Apache Flex SDK, the installer
+ determines the file names and urls of the downloaded files from
+ installer/src/installer/sdk-installer-config-4.0.xml. When the dependencies file
+ names or urls change in future, update the sdk-installer-config-4.0.xml to ensure
+ that the application works correctly. For newer installs driven by Apache Ant
+ scripts, the file names and urls are determined by the script itself.
+
+- The application uses http://flex.apache.org/single-mirror-url.cgi to determine
+ the preferred mirror url to use to download the binary package. Newer installs
+ that use Apache Ant scripts use their own logic to select dependencies from mirrors.
+
+- Once the binary package is downloaded, a MD5 hash is generated for it.
+ This hash is compared with the hash from the Apache Flex SDK release site.
+ If they match, we verify that the downloaded binary package is a valid Apache release and
+ proceed to unzip the file.
+
+- If required, the Adobe AIR SDK will be downloaded and the relevant files are copied
+ to the required locations.
+
+- If required, the Adobe Flash Player playerglobal.swc file and the config files
+ are placed in the required locations.
+
+- Then the rest of the external dependencies and the optional files (if selected by user)
+ are downloaded and copied into the appropriate locations.
+
+- If you experience problems with the install, please try again, but right-click
+ and select "Verbose Logging" to add more information to the log.
+
+- From the 2.6 version, you can select the version of Adobe Flash Player and Adobe AIR SDK
+ the installer downloads.
+
+- From the 2.5 version, by default, Apache Flex SDK Installer 2.5 downloads Adobe Flash
+ Player 11.1 and Adobe AIR SDK 3.4.
+ If you want to change it to any other supported combination, you save a copy of the
+ config file found at: http://flex.apache.org/installer/sdk-installer-config-3.0.xml,
+ modify the download urls to point to the required versions. Then run the app from
+ command line mode with the optional command line parameter: -config=<path to config file>
+
+- If building the app for Linux, open InstallApacheFlex-app.xml and change the Adobe AIR
+ namespace from http://ns.adobe.com/air/application/4.0 to
+ http://ns.adobe.com/air/application/2.6 This is because AIR 2.6 is the latest available
+ version on Linux.
+
+==========================================================================================
+How to build the installer using ANT (no Flash Builder or any other IDE required):
+==========================================================================================
+
+0. Make sure you have the right version of the Adobe AIR SDK. Apache Flex Installer
+ 3.1 uses Adobe AIR SDK 4.0. If you want to use an older version of the AIR SDK,
+ you will have to change the namespace in the following files:
+ installer/src/InstallApacheFlex-app.xml
+ ant_on_air/tests/AntOnAIR-app.xml.
+
+1. Unzip the source distribution. You should see the 'installer' directory and the
+ 'common' and 'ant_on_air' directories in the root.
+
+2. In the ant_on_air directory, run:
+ ant [-DFLEX_HOME=/path/to/apache/flex/sdk] [-DAIR_HOME=/path/to/air/sdk]
+
+ FLEX_HOME is the absolute path to the Apache Flex SDK
+ If you omit this argument, and the system environment variable, FLEX_HOME exists,
+ it is used. Otherwise, the FLEX_HOME_MAC or FLEX_HOME_WIN property in
+ installer/build.properties is used.
+
+ AIR_HOME is the absolute path to the Adobe AIR SDK
+ If you omit this argument, and the system environment variable, AIR_HOME exists,
+ it is used. Otherwise, the AIR_HOME_MAC or AIR_HOME_WIN property in
+ installer/build.properties is used.
+
+3. In the installer directory, run:
+ ant build [-DFLEX_HOME=/path/to/apache/flex/sdk] [-DAIR_HOME=/path/to/air/sdk]
+
+4. The installer executable file created in the installer/release directory. If you are
+ on Windows, you will see an .exe file; if you are on Mac OS, you will see a .dmg file.
+ A temporary digital signing certificate - temp.p12 will be created in the installer
+ directory as well. The password for this file is available in the build.properties
+ file (var: TEMP_PASS_CHANGE_THIS)
+
+==========================================================================================
+How to set up the project for working with Adobe Flash Builder 4.7:
+==========================================================================================
+
+1. Unzip the source distribution. You should see the 'installer' directory and the
+ 'common' and 'ant_on_air' directories in the root.
+
+2. In the installer directory run:
+ ant get-as3commons.swc
+ ant get-as3httpdclient.swc
+ These step downloads the required libraries and saves it in the libs directory.
+
+3. If using Adobe Flash Builder, add a linked resource called:
+ APACHE_FLEX_UTILITIES_ROOT
+ and point it to the directory path where the 'installer' and 'common' directories are
+ located.
+
+4. In the installer project, add ${APACHE_FLEX_UTILITIES_ROOT}/common/src as a source path.
+
+5. In the installer project, add ${APACHE_FLEX_UTILITIES_ROOT}/ant_on_air/src as a source path.
+
+6. In the installer project, add ${APACHE_FLEX_UTILITIES_ROOT}/ant_on_air/external as a source path.
+
+7. In the installer project, add ${APACHE_FLEX_UTILITIES_ROOT}/ant_on_air/locale/{locale} as a source path.
+
+==========================================================================================
+How to set up the project for working with JetBrains IDEA 12+
+==========================================================================================
+
+1. Setup a new project by either unzipping the downloaded source or grabbing the source from the version control.
+
+2. During the project setup, DO NOT search for modules or frameworks. We will set these up later.
+
+3. Setup a new module by going to the File -> New Module menu.
+ Module Type : Flash
+ Target Platform : Desktop
+ Output Type : Application
+ Create Sample App : Unchecked
+ Create HTML Wrapper : Unchecked
+
+ Create the new module, name it "installer" and chose the ${APACHE_FLEX_UTILITIES_ROOT}/installer directory
+
+4. After the module is created, go into the installer module settings (Right-Click -> Open Module Settings)
+
+5. Add the following Content Roots :
+ flex-utilities\ant_on_air
+ flex-utilities\common
+
+6. Mark the following directories as Sources : (some may already be marked as src)
+ flex-utilities\ant_on_air\src
+ flex-utilities\ant_on_air\external
+ flex-utilities\common\src
+ flex-utilities\installer\src
+
+7. Close the Settings dialog
+
+8. Open the Ant Build tab within IDEA.
+ Add the flex-utilities\build.xml ANT build script.
+
+9. Run the get-as3commons.swc and get-as3httpdclient.swc ant target. This will download the required SWC to build the installer.
+
+10. Return to the module properties, and go to the dependencies tab. Make sure the following are listed :
+ Flex SDK
+ flex-utilities\installer\libs
+ flex-utilities\installer\common\bin\common.swc
+ flex-utilities\installer\ant_on_air\bin\ant_on_air.swc
+ flex-utilities\ant_on_air\external\libs\as3commons-zip-1.0.0-alpha.1.swc
+
+11. Apply and close the dialog box.
+
+12. Update the flex-utilities\installer\build.properties to match your settings. In theory you should only
+ have to update the FLEX_HOME_WIN or FLEX_HOME_MAC property to point to your SDK with AIR 4.0 overlaid.
+
+You should now be able to build and debug the installer.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/RELEASE_GUIDE
----------------------------------------------------------------------
diff --git a/flex-installer/installer/RELEASE_GUIDE b/flex-installer/installer/RELEASE_GUIDE
new file mode 100644
index 0000000..a67db6f
--- /dev/null
+++ b/flex-installer/installer/RELEASE_GUIDE
@@ -0,0 +1,53 @@
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+Steps to follow in preparation for a release of InstallApacheFlex
+
+1. Check out the code from https://git-wip-us.apache.org/repos/asf/flex-utilities.git
+
+2.a. If it is a major release,
+ - bump up the "release.version" property in the build.properties file
+ - reset the build.number property in the build.number file to 0
+
+2.b. If it is a minor release, run: ant update-version
+
+3. Create local.properties and add the following:
+ - Modify the RELEASE_KEYSTORE_FILE and CERT_PASSWORD_FILE variables with the correct file paths
+ (You need to obtain the installapacheflex_self.p12 file and its password from the previous
+ release manager for InstallApacheFlex)
+
+ WARNING WARNING WARNING
+ Do not place the 2 certificate files anywhere in the installer directory or in a subdirectory under it.
+ If you do so the certificate files will be packaged into the source release. That would be very bad.
+
+4. Run:
+ ant release
+
+This step
+ - downloads all the necessary files,
+ - updates the version numbers in InstallApacheFlex-app.xml and sdk-installer-config-4.0.xml
+ - creates the .exe or .dmg file depending on the OS you are working on
+ - creates the source release files as a .zip file and a tar.gz file
+ - signs the artifacts to create corresponding .asc and .md5 files (assumes that you have a pgp
+ id and keypair set up and prompts for the passphrase)
+
+5. Upload all the files under the /release directory to the following directory before calling a VOTE.
+ https://dist.apache.org/repos/dist/dev/flex/installer/{version}/{RCversion}/
+
+6. Check that your key is contained in https://dist.apache.org/repos/dist/release/flex/KEYS if not add it.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/flex-installer/installer/RELEASE_NOTES b/flex-installer/installer/RELEASE_NOTES
new file mode 100644
index 0000000..2e68b0c
--- /dev/null
+++ b/flex-installer/installer/RELEASE_NOTES
@@ -0,0 +1,121 @@
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+
+Apache Flex
+Copyright 2015 The Apache Software Foundation
+
+Apache Flex SDK Installer 3.2
+
+Ant_On_AIR improvements:
+1. add en_AU locale.
+2. check free disk space.
+3. istrue and isfalse conditions
+4. workaround for Get task on SourceForge mirrors
+5. use flash.globalization.DateTimeFormatter to remove dependency on Flex SDK
+6. replacetoken and replacevalue tags
+7. fix failure message propagation from child ant scripts
+
+Installer Issues Resolved:
+FLEX-34394: some localization strings mention Adobe Flash Builder in the installer title
+FLEX-34392: Missing localization strings in the installer
+FLEX-34445: some errors in installer are missing info=
+FLEX-34591: Don't log FP and AIR versions for products that don't use them
+FLEX-34590: Don't assume installer.xml exists
+FLEX-34589: Set install XML file via command line option
+FLEX-34398: log not saved when installer close button clicked
+FLEX-34408: Installer log does't contain version of Flex SDK installed
+FLEX-34446: Common windows installer error
+FLEX-34605: Code formatting and cleanup
+FLEX-34606: Redundant variable
+FLEX-34393: installer should remember language
+FLEX-34310: Add button "back" to installer
+FLEX-34624: Additional Logging for installer
+FLEX-34425: Make MD5 change non fatal
+FLEX-34687: Error #1009 encountered when changing languages on License Screen
+
+Other Installer Improvements:
+1. Fine-tuned some Chinese Translations
+2. Added step/install override config option. Remove horizontal scrollbar on license list
+3. add user abort message to en_US
+4. make clear the version logged is the installer version
+5. no need to log error twice + stop RTE when no internet connection
+6. Russian translation
+7. Updated README in installer doc to include JetBrains IntelliJ IDEA instructions.
+8. dded ApacheURLLoader component that extends URLLoader. This new component is only different from URLLoader in that it looks for https connections and uses as3httpclient for these connections.
+
+
+Apache Flex SDK Installer 3.1
+1. Fixed bugs in ant_on_air library to support more checksums in installer scripts.
+2. Reports more information when an install fails or is aborted.
+3. Caching is now implemented in the ant scripts. This means that Apache Flex SDK
+ 4.12.1 and earlier will not use the download cache and may install more slowly.
+4. Minor UI/usability improvements
+5. Installer log now saved to disk in installation directory
+
+Apache Flex SDK Installer 3.0
+1. Now uses external localized strings
+2. Added support for install scripts based on Apache Ant
+
+Apache Flex SDK Installer 2.7
+1. Added support for OSMF2.0 [http://blogs.adobe.com/osmf/2012/03/osmf-2-0-now-available.html]
+ From Apache Flex 4.11.0 onwards, support for OSMF2.0 has been added.
+2. The osmf.swf RSL now gets generated by the Installer.
+
+Apache Flex SDK Installer 2.6
+Here is a list of significant issues that were fixed with this release:
+1. Able to select which version of AIR and Flash Player to use.
+
+Apache Flex SDK Installer 2.5
+
+Issues addressed in this release:
+Here is a list of significant issues that were fixed with this release:
+1. Enable Flex SDK download stats tracking
+2. https://issues.apache.org/jira/browse/FLEX-33426 (UI fix for license screen (show regular checkboxes))
+3. https://issues.apache.org/jira/browse/FLEX-33151 (Auto-update logic fix)
+4. French and Dutch language locale fixes.
+5. Added the SDK version number to be downloaded in the window title.
+6. https://issues.apache.org/jira/browse/FLEX-33202 (more issues).
+7. https://issues.apache.org/jira/browse/FLEX-33419 (added german language).
+
+
+Apache Flex SDK Installer 2.0
+1. If you have previously installed a release candidate (RC) version of
+ Apache Flex SDK Installer, you need to uninstall it first.
+ And then run the downloaded installer file.
+2. From Flex 4.9 onwards, the Text Layout Framework (TLF) is part of the Flex SDK.
+ So the installer does not download it separately anymore.
+3. By default, Apache Flex SDK Installer 2.0 downloads Adobe Flash Player 11.1
+ and Adobe AIR SDK 3.4. If you want to change it to any other supported
+ combination, save a copy of the config file found at:
+ http://incubator.apache.org/flex/sdk-installer-config-2.0.xml,
+ modify the download urls to point to the required versions. Then run the app
+ from command line mode with the optional command line parameter:
+ -config=<path to config file>.
+ The new urls will be used to download the required dependencies.
+
+Issues addressed in this release:
+Here is a list of significant issues that were fixed with this release:
+1. https://issues.apache.org/jira/browse/FLEX-33214 (Fix UI of license screen)
+2. https://issues.apache.org/jira/browse/FLEX-33122 (Enable language switching)
+ Available languages: English(US), English(AU), English(GB), Español (ES),
+ Français, Greek, Nederlands and Português
+
+Apache Flex Installer SDK 1.0
+
+1. If you have previously installed a pre-release version of Apache Flex SDK Installer, you need to uninstall it first. And then run the downloaded installer file.
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/build.number
----------------------------------------------------------------------
diff --git a/flex-installer/installer/build.number b/flex-installer/installer/build.number
new file mode 100644
index 0000000..b8396e1
--- /dev/null
+++ b/flex-installer/installer/build.number
@@ -0,0 +1,3 @@
+#Copyright 2014 The Apache Software Foundation.
+#Sat, 28 Sep 2013 18:23:00 +1000
+build.number=0
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/build.properties
----------------------------------------------------------------------
diff --git a/flex-installer/installer/build.properties b/flex-installer/installer/build.properties
new file mode 100644
index 0000000..0f3ea24
--- /dev/null
+++ b/flex-installer/installer/build.properties
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+#nano version number is added by build script
+release.version=3.2
+
+#Flex Locations
+FLEX_HOME_WIN=C:/Program Files (x86)/Adobe/Adobe Flash Builder 4.6/sdks/ApacheFlex4.10.0
+FLEX_HOME_MAC=/Users/justinmclean/Documents/ApacheFlex4.10
+
+#AIR Locations
+AIR_HOME_WIN=${FLEX_HOME_WIN}
+AIR_HOME_MAC=${FLEX_HOME_MAC}
+
+#App Settings
+APP_NAME=InstallApacheFlex
+APP_EXTENSION=mxml
+APP_CONFIG_XML_NAME=installer/sdk-installer-config-4.0
+SOURCE_DIR=${basedir}/src
+ASSETS_DIR=${basedir}/src/assets
+LIBRARY_DIR=${basedir}/libs
+RELEASE_DIR=${basedir}/release
+BUILD_DIR=${basedir}/build
+INSTALLER_PROJECT_NAME=installer
+COMMON_PROJECT_NAME=common
+COMMON_PROJECT_DIR=${basedir}/../${COMMON_PROJECT_NAME}
+COMMON_SOURCE_DIR=${COMMON_PROJECT_DIR}/src
+ANT_ON_AIR_DIR=${basedir}/../ant_on_air/bin
+
+#Etc Settings
+DEBUG_FLAG=false
+TEMP_PASS_CHANGE_THIS=random123$%^
+
+#Certificate for release build. Modify only when you are making a release build (See RELEASE_GUIDE first)
+STORETYPE=pkcs12
+RELEASE_KEYSTORE_FILE=C:/p/documents/certificates/installapacheflex_self.p12
+CERT_PASSWORD_FILE=C:/p/documents/certificates/installapacheflex.password
+CERT_NAME=Apache Flex
+CERT_ORG_UNIT=
+CERT_ORG_NAME=
+CERT_COUNTRY=US
+CERT_KEY_TYPE=2048-RSA