Preparing for RC10

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/utilities/tags/apache-flex-sdk-installer-1.0.9-RC10@1405938 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/DISCLAIMER b/DISCLAIMER
new file mode 100644
index 0000000..4281b7f
--- /dev/null
+++ b/DISCLAIMER
@@ -0,0 +1,8 @@
+Apache Flex is an effort undergoing incubation at The Apache 

+Software Foundation (ASF), sponsored by the Apache Incubator. 

+Incubation is required of all newly accepted projects until a further 

+review indicates that the infrastructure, communications, and decision 

+making process have stabilized in a manner consistent with other 

+successful ASF projects. While incubation status is not necessarily a 

+reflection of the completeness or stability of the code, it does indicate 

+that the project has yet to be fully endorsed by the ASF.

diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..128aa2f
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,240 @@
+

+                                 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.

+

+------------------------------------------------------------------------------------------

+

+installer/src/com/adobe/crypto/MD5Stream.as

+installer/src/com/adobe/utils/IntUtil.as

+

+/*

+  Copyright (c) 2008, Adobe Systems Incorporated

+  All rights reserved.

+

+  Redistribution and use in source and binary forms, with or without 

+  modification, are permitted provided that the following conditions are

+  met:

+

+  * Redistributions of source code must retain the above copyright notice, 

+    this list of conditions and the following disclaimer.

+  

+  * Redistributions in binary form must reproduce the above copyright

+    notice, this list of conditions and the following disclaimer in the 

+    documentation and/or other materials provided with the distribution.

+  

+  * Neither the name of Adobe Systems Incorporated nor the names of its 

+    contributors may be used to endorse or promote products derived from 

+    this software without specific prior written permission.

+

+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS

+  IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,

+  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

+  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 

+  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,

+  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,

+  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR

+  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF

+  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING

+  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS

+  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+*/

+

diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..29baf0b
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,5 @@
+Apache Flex

+Copyright 2012 The Apache Software Foundation

+

+This product includes software developed at

+The Apache Software Foundation (http://www.apache.org/).

diff --git a/README b/README
new file mode 100644
index 0000000..9dbaf24
--- /dev/null
+++ b/README
@@ -0,0 +1,104 @@
+<!--

+

+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 InstallApacheFlex AIR application provides an easy, single-click 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.  

+	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)

+	 - Adobe Text Layout Format (TLF)

+	 

+	Optionally, the application will download these files if the user explicitly agrees to 

+	the licensing terms:

+	 - Adobe BlazeDS

+	 - Adobe embedded font support

+ 

+	All the file names and urls of the downloaded files are available in 

+	    installer/src/sdk-installer-config.xml. 

+	When the dependencies file names or urls change in future, update the 

+	sdk-installer-config.xml to ensure that the application works correctly.  

+

+- The application uses http://incubator.apache.org/flex/single-mirror-url.cgi to determine

+  the preferred mirror url to download Apache Flex SDK binary from.

+  

+- Once the Apache Flex SDK binary file 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 file is a valid Apache release and 

+	proceed to unzip the file.  

+	

+- The Adobe AIR SDK will be downloaded and the relevant files are copied to the required 

+  locations.

+  

+- 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.  

+

+==========================================================================================

+How to build the installer using ANT (no Flash Builder or any other IDE required):

+==========================================================================================

+

+1.  Unzip the source distribution.  You should see the 'installer' directory and the 

+    'common' directory in the root.

+            

+2.  In the installer directory, run:

+        ant build [-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.

+          	

+2.  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 (or any other IDE):

+==========================================================================================

+

+1.  Unzip the source distribution.  You should see the 'installer' directory and the 

+    'common' directory in the root.

+

+2.  In the installer directory run: 

+        ant get-as3commons.swc

+    This step downloads the required as3commons library 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.  
\ No newline at end of file
diff --git a/installerBadge/.actionScriptProperties b/installerBadge/.actionScriptProperties
deleted file mode 100644
index c9e2451..0000000
--- a/installerBadge/.actionScriptProperties
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>

-<actionScriptProperties analytics="false" mainApplicationPath="InstallApacheFlexBadge.mxml" projectUUID="86e06d97-9ac5-4d36-a8ab-9da6d44644d9" version="10">

-  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="true" fteInMXComponents="false" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin-debug" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

-    <compilerSourcePath>

-      <compilerSourcePathEntry kind="1" linkType="1" path="/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"/>

-    </libraryPath>

-    <sourceAttachmentPath/>

-  </compiler>

-  <applications>

-    <application path="InstallApacheFlexBadge.mxml"/>

-  </applications>

-  <modules/>

-  <buildCSSFiles/>

-  <flashCatalyst validateFlashCatalystCompatibility="false"/>

-</actionScriptProperties>

diff --git a/installerBadge/.flexProperties b/installerBadge/.flexProperties
deleted file mode 100644
index 33054f7..0000000
--- a/installerBadge/.flexProperties
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>

-<flexProperties enableServiceManager="false" flexServerFeatures="0" flexServerType="0" fmlDataModelLocation=".model/apacheFlex_InstallApacheFlexBadge.fml" toolCompile="true" useServerFlexSDK="false" version="2"/>

diff --git a/installerBadge/.fxpProperties b/installerBadge/.fxpProperties
deleted file mode 100644
index 48ee015..0000000
--- a/installerBadge/.fxpProperties
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<fxpProperties abbreviated="false" authoringTool="Flex Builder" compiles="true" parentProject="86e06d97-9ac5-4d36-a8ab-9da6d44644d9" projectUUID="86e06d97-9ac5-4d36-a8ab-9da6d44644d9" pureCatalystProject="false" sdkVersion="4.8.0" uuid="3b8c53e2-3823-42c4-b508-038d4cca1eac" version="15">
-  <projects/>
-  <src/>
-  <swc>
-    <linked location="sdkPlaceHolder" path="sdkPlaceHolder" position="0" uuid="3b8c53e2-3823-42c4-b508-038d4cca1eac"/>
-    <linked location="/libs" path="\libs" position="1" uuid="3b8c53e2-3823-42c4-b508-038d4cca1eac"/>
-  </swc>
-  <misc/>
-  <theme/>
-  <mxmlFormattingPrefs groupAttributesByState="true" maxLineWidth="100" mxmlAlignAttributes="true" mxmlAttributeOrder="id,userLabel,includeIn,excludeFrom,visible,x,y,z,left,right,top,bottom,width,height,minWidth,minHeight,maxWidth,maxHeight,label" mxmlKeepAttributeValuesOrganized="true"/>
-</fxpProperties>
diff --git a/installerBadge/.project b/installerBadge/.project
deleted file mode 100644
index c25a817..0000000
--- a/installerBadge/.project
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-	<name>installerBadge</name>
-	<comment></comment>
-	<projects>
-	</projects>
-	<buildSpec>
-		<buildCommand>
-			<name>com.adobe.flexbuilder.project.flexbuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-	</buildSpec>
-	<natures>
-		<nature>com.adobe.flexbuilder.project.flexnature</nature>
-		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
-	</natures>
-	<linkedResources>
-		<link>
-			<name>[source path] src</name>
-			<type>2</type>
-			<location>C:/p/flex_os/workspace/utilities/ApacheFlexUtilitiesCommon/src</location>
-		</link>
-	</linkedResources>
-</projectDescription>
diff --git a/installerBadge/.settings/org.eclipse.core.resources.prefs b/installerBadge/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 9b081d0..0000000
--- a/installerBadge/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Aug 13 11:22:10 PDT 2012

-eclipse.preferences.version=1

-encoding/<project>=utf-8

diff --git a/installerBadge/README b/installerBadge/README
deleted file mode 100644
index 6d53b7b..0000000
--- a/installerBadge/README
+++ /dev/null
@@ -1,7 +0,0 @@
-The code implements functionality to be viewed through an iframe on another domain. Please use one of these to embed the badge on your site or communications:
-
-Regular size (302 x 302)
-<iframe name="afSDKInstallBadgeRegular" src="http://incubator.apache.org/flex/installerbadge/index.html" frameborder="0" height="302" marginheight="0" marginwidth="0" scrolling="no" width="302"></iframe>
-
-Small size (402 x 84)
-<iframe name="afSDKInstallBadgeSmall" src="http://incubator.apache.org/flex/installerbadge/index.html" frameborder="0" height="84" marginheight="0" marginwidth="0" scrolling="no" width="402"></iframe>
\ No newline at end of file
diff --git a/installerBadge/html-template/badgeConfigService.php b/installerBadge/html-template/badgeConfigService.php
deleted file mode 100644
index cb7d797..0000000
--- a/installerBadge/html-template/badgeConfigService.php
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-
-$ch = curl_init($_GET["url"]);
-curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
-echo curl_exec($ch);
-curl_close($ch);
-
-?>
\ No newline at end of file
diff --git a/installerBadge/html-template/disclaimer.html b/installerBadge/html-template/disclaimer.html
deleted file mode 100644
index 5c015ba..0000000
--- a/installerBadge/html-template/disclaimer.html
+++ /dev/null
@@ -1,44 +0,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.
--->
-
-<!DOCTYPE html>
-
-<html> 
-<head>
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
-    <title>Disclaimer - Apache Flex SDK Installer Badge</title>
-</head>
-<body>
-	<p>
-		Apache Flex is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
-	</p>
-	<br />
-	<p>
-		Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects.
-	</p>
-	<br />
-	<p>
-		While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
-	</p>
-	<br />
-	<p>
-		Notice: Apache and Apache Flex are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.
-	</p>
-</body>
-</html>
diff --git a/installerBadge/html-template/index.template.html b/installerBadge/html-template/index.template.html
deleted file mode 100644
index cb0c036..0000000
--- a/installerBadge/html-template/index.template.html
+++ /dev/null
@@ -1,94 +0,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.

--->

-

-<!DOCTYPE html>

-

-<html> 

-<head>

-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

-

-    <title>${title}</title>

-    

-    <style type="text/css"> 

-        body { margin: 0; padding: 0; }   

-        object:focus { outline: none; }

-        #flashContent { display: none; }

-        #${application} { border: 1px solid #172647; }

-    </style>

-    

-    <!-- 

-        SWFObject v2.2 <http://code.google.com/p/swfobject/> 

-        is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 

-    -->

-    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>

-    

-    <script type="text/javascript">

-        /* use strict */

-        

-        var swfVersionStr, params, attributes;

-        

-        function displayType() {

-            if ((window.top != window.self) && window.parent)

-                return window.name;

-                

-            return "";

-        }

-        

-        function init() {

-            var prefix, theElement, theHeight, theWidth, widget;

-            

-    		if (displayType() != "") {

-	    		if (typeof window.innerWidth === 'number') {

-	    			theHeight = window.innerHeight;

-	    			theWidth = window.innerWidth;

-	    		} else {

-	        		theElement = window.document.documentElement;

-	

-	    			theHeight = theElement.clientHeight;

-	    			theWidth = theElement.clientWidth;

-	    		}

-	

-	            widget = document.getElementById("${application}");

-	            widget.style.height = (theHeight - 2) + "px";

-	            widget.style.width = (theWidth - 2) + "px";

-	        }

-        }

-        

-        swfVersionStr = "${version_major}.${version_minor}.${version_revision}";

-        flashVars = { serviceURL: "http://people.apache.org/~bigosmallm/installapacheflex_RC1/binaries/" };

-        params = { quality: "high", bgcolor: "${bgcolor}", allowscriptaccess: "sameDomain",

-            allowfullscreen: "true" };

-        attributes = { id: "${application}", name: "${application}" };

-        

-        swfobject.embedSWF("${swf}.swf", "flashContent", "300", "300", 

-            swfVersionStr, "", flashVars, params, attributes);

-        

-        swfobject.createCSS("#flashContent", "display: block;");

-    </script>

-    

-</head>

-<body onload="init();">

-    <div id="flashContent">

-        <script type="text/javascript"> 

-            var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://"); 

-            document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='" 

-                            + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" ); 

-        </script> 

-    </div>

-</body>

-</html>

diff --git a/installerBadge/src/InstallApacheFlexBadge.mxml b/installerBadge/src/InstallApacheFlexBadge.mxml
deleted file mode 100644
index 682e955..0000000
--- a/installerBadge/src/InstallApacheFlexBadge.mxml
+++ /dev/null
@@ -1,280 +0,0 @@
-<?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.
-
--->
-
-<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
-			   xmlns:s="library://ns.adobe.com/flex/spark" 
-			   xmlns:mx="library://ns.adobe.com/flex/mx" 
-			   xmlns:components="org.apache.flex.installApacheFlexBadge.components.*"
-			   creationComplete="creationCompleteHandler(event)">
-	
-	<fx:Style source="/org/apache/flex/installApacheFlexBadge/styles/ApacheFlexBadgeStyle.css" />
-	
-	<fx:Script><![CDATA[
-		import mx.controls.Alert;
-		import mx.core.FlexGlobals;
-		import mx.events.FlexEvent;
-		
-		import org.apache.flex.installApacheFlexBadge.resources.EmbeddedMedia;
-		import org.apache.flex.utilities.common.Constants;
-		import org.apache.flex.utilities.common.InternetUtil;
-		import org.apache.flex.utilities.common.MirrorURLUtil;
-		import org.apache.flex.utilities.common.Tools;
-		
-		//----------------------------------------------------------------------
-		//
-		//    Constants
-		//
-		//----------------------------------------------------------------------
-		
-		private const INFO_ERROR_OPERATING_SYSTEM:String = "The Apache Flex SDK Installer application\nis not supported on your operating system.";
-		private const INFO_ERROR_RETRIEVE_CONFIG:String = "The application was unable to retrieve\nthe configuration file.";
-		
-		private const LABEL_DOWNLOAD:String = "DOWNLOAD";
-		
-		private const TITLE_ERROR_INTERNET:String = "Internet Error";
-		private const TITLE_ERROR_PLATFORM:String = "Platform Error";
-		
-		//----------------------------------------------------------------------
-		//
-		//    Variables
-		//
-		//----------------------------------------------------------------------
-		
-		private var _applicationExtension:String;
-		
-		private var _sdkBinaryFileName:String;
-		
-		private var _installerDownloadPath:String;
-		
-		private var _installerFileName:String;
-		
-		private var _internetUtil:InternetUtil = InternetUtil.instance;
-		
-		private var _mirrorURLUtil:MirrorURLUtil = MirrorURLUtil.instance;
-
-		private var _serviceURL:String;
-
-		[Bindable]
-		private var _sdkVersionString:String = "";
-		
-		//----------------------------------------------------------------------
-		//
-		//    Methods
-		//
-		//----------------------------------------------------------------------
-		
-		//----------------------------------
-		//    btnDownload_clickHandler
-		//----------------------------------
-		
-		private function btnDownload_clickHandler(event:MouseEvent):void
-		{
-			try
-			{
-				_applicationExtension = Tools.getApplicationExtension();
-
-				var request:URLRequest = new URLRequest(
-					_installerDownloadPath + _installerFileName + _applicationExtension);
-				
-				navigateToURL(request, "_blank");
-			}
-			catch (error:Error)
-			{
-				Alert.show(INFO_ERROR_OPERATING_SYSTEM, TITLE_ERROR_PLATFORM);
-			}
-		}
-		
-		//----------------------------------
-		//    creationCompleteHandler
-		//----------------------------------
-		
-		private function creationCompleteHandler(event:FlexEvent):void

-		{
-			_serviceURL = FlexGlobals.topLevelApplication.parameters.serviceURL;
-			
-			var displayType:String = ExternalInterface.call("displayType"); 
-			
-			var newStateName:String;
-			switch (displayType)
-			{
-				case "afSDKInstallBadgeSmall" :
-				{
-					newStateName = "small";
-					
-					break;
-				}
-					
-				case "afSDKInstallBadgeRegular" :
-				default :
-				{
-					newStateName = "regular";
-					
-					break;
-				}
-			}
-			currentState = newStateName;
-			
-			var url:String = _serviceURL + Constants.CONFIG_XML_NAME;
-			
-			if (useCURL())
-				_internetUtil.fetch("badgeConfigService.php", internetFetchResultHandler, "url=" + escape(url));
-			else
-				_internetUtil.fetch(url, internetFetchResultHandler);
-		}
-		
-		//----------------------------------
-		//    getMirrorURLResultHandler
-		//----------------------------------
-		
-		private function getMirrorURLResultHandler():void
-		{
-			_installerDownloadPath = _mirrorURLUtil.mirrorURL + _installerDownloadPath;
-			
-			parseSDKVersionNumber();
-		}
-		
-		//----------------------------------
-		//    internetFetchResultHandler
-		//----------------------------------
-		
-		private function internetFetchResultHandler():void
-		{
-			if (!_internetUtil.errorOccurred)
-			{
-				var configXML:XML = XML(_internetUtil.result);
-				var files:XMLList = configXML.files.file;
-				
-				_sdkBinaryFileName = files.(@name == "ApacheFlexSDK").@file.toString();
-				
-				_installerFileName = files.(@name == 'SDKInstallerApp').@file.toString();
-				_installerDownloadPath = files.(@name == 'SDKInstallerApp').@path.toString();
-
-				if (_installerDownloadPath.substr(0, Constants.URL_PREFIX.length) != Constants.URL_PREFIX)
-				{
-					var mirrorURLCGI:String = files.(@name == 'MirrorURLCGI').@file.toString();
-					
-					_mirrorURLUtil.getMirrorURL(_serviceURL + mirrorURLCGI, getMirrorURLResultHandler);
-				}
-				else
-				{
-					parseSDKVersionNumber();
-				}
-			}
-			else
-			{
-				Alert.show(INFO_ERROR_RETRIEVE_CONFIG, TITLE_ERROR_INTERNET);
-			}
-		}
-		
-		//----------------------------------
-		//    parseSDKVersionNumber
-		//----------------------------------
-		
-		private function parseSDKVersionNumber():void
-		{
-			_sdkVersionString = _sdkBinaryFileName.substr(Constants.SDK_BINARY_FILE_NAME_PREFIX.length).split("-")[0];
-			
-			btnDownload.enabled = true;
-		}
-		
-		//----------------------------------
-		//    showDislaimer
-		//----------------------------------
-		
-		private function showDisclaimer():void
-		{
-			var request:URLRequest = new URLRequest(
-				"disclaimer.html");
-			
-			navigateToURL(request, "_blank");
-		}
-		
-		//----------------------------------
-		//    useCURL
-		//----------------------------------
-		
-		private function useCURL():Boolean
-		{
-			/*
-				Using a simple webservice (PHP + cUrl) to bypass cross domain
-				and security sandbox restrictions while developing.
-			*/
-
-			var localDomain:String = InternetUtil.getTLDFromURL(
-				ExternalInterface.call("function () { return window.location.hostname; }"));
-
-			var remoteDomain:String = InternetUtil.getTLDFromURL(_serviceURL);
-
-			return (localDomain) && (localDomain != remoteDomain);
-		}
-		
-	]]></fx:Script>
-	
-	<fx:Declarations /> 
-	
-	<s:states>
-		<s:State name="regular" />
-		<s:State name="small" />
-	</s:states>
-
-	<s:Image id="imgBackgroundRegular" source="{EmbeddedMedia.backgroundRegular}" includeIn="regular"/>
-	
-	<s:Group height="15" width="60"
-			 left="188" top="230"
-			 buttonMode="true"
-			 click="showDisclaimer()"
-			 includeIn="regular" />
-	
-	<s:Image id="imgBackgroundSmall" source="{EmbeddedMedia.backgroundSmall}" includeIn="small"/>
-	
-	<s:Group height="15" width="60"
-			 left="146" top="57"
-			 buttonMode="true"
-			 click="showDisclaimer()"
-			 includeIn="small" />
-	
-	<s:Group height="15" width="60"
-			 left="188" top="230"
-			 buttonMode="true"
-			 click="showDisclaimer()"
-			 includeIn="small" />
-	
-	<s:Group height="37" width="250"
-			 left="75" left.small="95"
-			 top.regular="185" top.small="15">
-		<s:Label text="{_sdkVersionString}"
-				 fontFamily="openSansBold"
-				 color="0x162545" fontSize="32"
-				 trackingLeft="-1" trackingRight="-1"
-				 left="87" top="9" />		
-	</s:Group>
-	
-	<s:Button id="btnDownload" label="{LABEL_DOWNLOAD}"
-			  height="30"
-			  bottom="10" bottom.small="12"
-			  right.small="27"
-			  horizontalCenter.regular="0"
-			  enabled="false"
-			  buttonMode="true"
-			  useHandCursor="true"
-			  click="btnDownload_clickHandler(event)"
-			  styleName="mainBtnStyle"/>
-	
-</s:Application>
\ No newline at end of file
diff --git a/installerBadge/src/org/apache/flex/installApacheFlexBadge/images/backgroundRegular.png b/installerBadge/src/org/apache/flex/installApacheFlexBadge/images/backgroundRegular.png
deleted file mode 100644
index 73f61ca..0000000
--- a/installerBadge/src/org/apache/flex/installApacheFlexBadge/images/backgroundRegular.png
+++ /dev/null
Binary files differ
diff --git a/installerBadge/src/org/apache/flex/installApacheFlexBadge/images/backgroundSmall.png b/installerBadge/src/org/apache/flex/installApacheFlexBadge/images/backgroundSmall.png
deleted file mode 100644
index 09e2c20..0000000
--- a/installerBadge/src/org/apache/flex/installApacheFlexBadge/images/backgroundSmall.png
+++ /dev/null
Binary files differ
diff --git a/installerBadge/src/org/apache/flex/installApacheFlexBadge/resources/EmbeddedMedia.as b/installerBadge/src/org/apache/flex/installApacheFlexBadge/resources/EmbeddedMedia.as
deleted file mode 100644
index d788ff4..0000000
--- a/installerBadge/src/org/apache/flex/installApacheFlexBadge/resources/EmbeddedMedia.as
+++ /dev/null
@@ -1,56 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package org.apache.flex.installApacheFlexBadge.resources
-{
-
-public final class EmbeddedMedia
-{
-	//--------------------------------------------------------------------------
-	//
-	//    Class properties
-	//
-	//--------------------------------------------------------------------------
-	
-	//----------------------------------
-	//    backgroundRegular
-	//----------------------------------
-	
-	[Embed(source="/org/apache/flex/installApacheFlexBadge/images/backgroundRegular.png")]
-	[Bindable]
-	public static var backgroundRegular:Class;
-	
-	//----------------------------------
-	//    backgroundSmall
-	//----------------------------------
-	
-	[Embed(source="/org/apache/flex/installApacheFlexBadge/images/backgroundSmall.png")]
-	[Bindable]
-	public static var backgroundSmall:Class;
-	
-	//--------------------------------------------------------------------------
-	//
-	//    Constructor
-	//
-	//--------------------------------------------------------------------------
-	
-	public function EmbeddedMedia() {}
-	
-}
-}
diff --git a/installerBadge/src/org/apache/flex/installApacheFlexBadge/styles/ApacheFlexBadgeStyle.css b/installerBadge/src/org/apache/flex/installApacheFlexBadge/styles/ApacheFlexBadgeStyle.css
deleted file mode 100644
index 08483f7..0000000
--- a/installerBadge/src/org/apache/flex/installApacheFlexBadge/styles/ApacheFlexBadgeStyle.css
+++ /dev/null
@@ -1,48 +0,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.

-

-*/

-@namespace s "library://ns.adobe.com/flex/spark";

-

-@font-face {

-	src: url("/assets/fonts/open-sans/OpenSans-Bold.ttf");

-	fontFamily: openSansBold;

-	advancedAntiAliasing: true;

-	unicodeRange:

-		U+0044, /* D */

-		U+004F, /* O */

-		U+0057, /* W */

-		U+004E, /* N */

-		U+004C, /* L */

-		U+0041, /* A */

-		U+0030-U+0039, /* Numbers [0..9] */

-		U+002E-U+002E; /* Period [.] */

-}

-

-s|Button

-{

-	skinClass : ClassReference("ws.tink.spark.skins.controls.ButtonSkin");

-	fontFamily : openSansBold;

-	fontSize : 14;

-	color	: #FFFFFF;

-	borderColor: #DBDBDB;

-}

-

-.mainBtnStyle

-{

-	chromeColor: #679d13;

-}