You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by bi...@apache.org on 2012/07/12 23:33:52 UTC
svn commit: r1360962 [1/4] - in /incubator/flex/utilities/InstallApacheFlex:
./ .settings/ libs/ src/ src/assets/ src/assets/fonts/
src/assets/fonts/open-sans/ src/assets/icons/ src/assets/styles/ src/org/
src/org/apache/ src/org/apache/flex/ src/org/a...
Author: bigosmallm
Date: Thu Jul 12 21:33:49 2012
New Revision: 1360962
URL: http://svn.apache.org/viewvc?rev=1360962&view=rev
Log:
Adding the InstallApacheFlex project to SVN.
Added:
incubator/flex/utilities/InstallApacheFlex/
incubator/flex/utilities/InstallApacheFlex/.actionScriptProperties
incubator/flex/utilities/InstallApacheFlex/.flexProperties
incubator/flex/utilities/InstallApacheFlex/.fxpProperties
incubator/flex/utilities/InstallApacheFlex/.project
incubator/flex/utilities/InstallApacheFlex/.settings/
incubator/flex/utilities/InstallApacheFlex/.settings/org.eclipse.core.resources.prefs
incubator/flex/utilities/InstallApacheFlex/build.properties
incubator/flex/utilities/InstallApacheFlex/build.xml
incubator/flex/utilities/InstallApacheFlex/certificate.p12 (with props)
incubator/flex/utilities/InstallApacheFlex/libs/
incubator/flex/utilities/InstallApacheFlex/libs/as3commons-zip-1.0.0-alpha.1.swc (with props)
incubator/flex/utilities/InstallApacheFlex/src/
incubator/flex/utilities/InstallApacheFlex/src/ApacheFlexConfig.xml
incubator/flex/utilities/InstallApacheFlex/src/InstallApacheFlex-app.xml
incubator/flex/utilities/InstallApacheFlex/src/InstallApacheFlex.mxml
incubator/flex/utilities/InstallApacheFlex/src/assets/
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/Apache License Version 2.txt
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/OpenSans-Bold.ttf (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/OpenSans-BoldItalic.ttf (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/OpenSans-ExtraBold.ttf (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/OpenSans-ExtraBoldItalic.ttf (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/OpenSans-Italic.ttf (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/OpenSans-Light.ttf (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/OpenSans-LightItalic.ttf (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/OpenSans-Regular.ttf (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/OpenSans-Semibold.ttf (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/fonts/open-sans/OpenSans-SemiboldItalic.ttf (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/114.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/128.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/16.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/29.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/32.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/36.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/48.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/512.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/57.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/72.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/ApacheFlexLogo_fullcolor_wb.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/Flexicon.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/apache_flex_badge_icon.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/bg_logo.png (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/icons/favicon.ico (with props)
incubator/flex/utilities/InstallApacheFlex/src/assets/styles/
incubator/flex/utilities/InstallApacheFlex/src/assets/styles/styles.css
incubator/flex/utilities/InstallApacheFlex/src/org/
incubator/flex/utilities/InstallApacheFlex/src/org/apache/
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/model/
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/model/OptionalComponentVO.as
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/resource/
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/resource/RuntimeLocale.as
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/resource/ViewResourceConstants.as
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/view/
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/view/components/
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/view/components/AboutDialog.mxml
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/view/components/AdobeLicense.mxml
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/view/components/ConsoleWindow.mxml
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/view/components/MPLLicense.mxml
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/view/controls/
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/view/controls/MultiStepProgressIndicator.mxml
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/view/itemrenderers/
incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/view/itemrenderers/OptionalInstallItemRenderer.mxml
incubator/flex/utilities/InstallApacheFlex/src/ws/
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/controls/
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/controls/ActivityIndicator.as
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/controls/IAnimator.as
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/controls/PercentLayout.as
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/controls/ProgressBar.as
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/controls/Rotator.as
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/controls/StepItem.as
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/controls/StepRenderer.mxml
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/controls/StepRendererBase.as
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/layouts/
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/layouts/EllipseLayout.as
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/skins/
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/skins/controls/
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/skins/controls/ActivityIndicatorSkin.mxml
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/skins/controls/ButtonSkin.mxml
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/skins/controls/ColorCheckBoxSkin.mxml
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/skins/controls/InstallApacheFlexSkin.mxml
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/skins/controls/ProgressBarSkin.mxml
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/skins/controls/RotatorSkin.mxml
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/skins/controls/StepActivityIndicatorSkin.mxml
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/skins/controls/StepRotatorSkin.mxml
incubator/flex/utilities/InstallApacheFlex/src/ws/tink/spark/skins/controls/TextInputSkin.mxml
Added: incubator/flex/utilities/InstallApacheFlex/.actionScriptProperties
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/.actionScriptProperties?rev=1360962&view=auto
==============================================================================
--- incubator/flex/utilities/InstallApacheFlex/.actionScriptProperties (added)
+++ incubator/flex/utilities/InstallApacheFlex/.actionScriptProperties Thu Jul 12 21:33:49 2012
@@ -0,0 +1,51 @@
+<?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="10">
+ <compiler additionalCompilerArguments="" autoRSLOrdering="true" copyDependentFiles="true" flexSDK="Flex 4.6.0" 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" verifyDigests="true" warn="true">
+ <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="InstallApacheFlex.mxml">
+ <airExcludes/>
+ </application>
+ </applications>
+ <modules/>
+ <buildCSSFiles/>
+ <flashCatalyst validateFlashCatalystCompatibility="false"/>
+ <buildTargets>
+ <buildTarget buildTargetName="default">
+ <airSettings airCertificatePath="C:/p/flex_os/workspace/MakeApacheFlexForFlashBuilder/certificate.p12" airTimestamp="true" anePathSet="true" version="1">
+ <airExcludes/>
+ <anePaths/>
+ </airSettings>
+ <actionScriptSettings version="1"/>
+ </buildTarget>
+ </buildTargets>
+</actionScriptProperties>
Added: incubator/flex/utilities/InstallApacheFlex/.flexProperties
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/.flexProperties?rev=1360962&view=auto
==============================================================================
--- incubator/flex/utilities/InstallApacheFlex/.flexProperties (added)
+++ incubator/flex/utilities/InstallApacheFlex/.flexProperties Thu Jul 12 21:33:49 2012
@@ -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"/>
Added: incubator/flex/utilities/InstallApacheFlex/.fxpProperties
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/.fxpProperties?rev=1360962&view=auto
==============================================================================
--- incubator/flex/utilities/InstallApacheFlex/.fxpProperties (added)
+++ incubator/flex/utilities/InstallApacheFlex/.fxpProperties Thu Jul 12 21:33:49 2012
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<fxpProperties abbreviated="false" authoringTool="Flex Builder" compiles="true" parentProject="151f0ac8-8811-45cd-b935-d7c2b0949fa3" projectUUID="151f0ac8-8811-45cd-b935-d7c2b0949fa3" pureCatalystProject="false" sdkVersion="4.6.0" uuid="029076ad-4846-4674-8ea0-cb34498774ad" version="15">
+ <projects/>
+ <src/>
+ <swc>
+ <linked location="sdkPlaceHolder" path="sdkPlaceHolder" position="0" uuid="029076ad-4846-4674-8ea0-cb34498774ad"/>
+ <linked location="C:/p/flex_os/workspace/MakeApacheFlexForFlashBuilder/libs" path="/libs" position="1" uuid="029076ad-4846-4674-8ea0-cb34498774ad"/>
+ </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>
Added: incubator/flex/utilities/InstallApacheFlex/.project
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/.project?rev=1360962&view=auto
==============================================================================
--- incubator/flex/utilities/InstallApacheFlex/.project (added)
+++ incubator/flex/utilities/InstallApacheFlex/.project Thu Jul 12 21:33:49 2012
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>InstallApacheFlex</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>
Added: incubator/flex/utilities/InstallApacheFlex/.settings/org.eclipse.core.resources.prefs
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/.settings/org.eclipse.core.resources.prefs?rev=1360962&view=auto
==============================================================================
--- incubator/flex/utilities/InstallApacheFlex/.settings/org.eclipse.core.resources.prefs (added)
+++ incubator/flex/utilities/InstallApacheFlex/.settings/org.eclipse.core.resources.prefs Thu Jul 12 21:33:49 2012
@@ -0,0 +1,3 @@
+#Thu May 17 15:49:27 PDT 2012
+eclipse.preferences.version=1
+encoding/<project>=utf-8
Added: incubator/flex/utilities/InstallApacheFlex/build.properties
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/build.properties?rev=1360962&view=auto
==============================================================================
--- incubator/flex/utilities/InstallApacheFlex/build.properties (added)
+++ incubator/flex/utilities/InstallApacheFlex/build.properties Thu Jul 12 21:33:49 2012
@@ -0,0 +1,55 @@
+<?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.
+
+-->
+
+#Flex Locations
+//FLEX_HOME=../ApacheFlex
+FLEX_HOME=C:/Program Files (x86)/Adobe/Adobe Flash Builder 4.6/sdks/4.6.0
+FLEX_TASKS=${FLEX_HOME}/ant/lib/flexTasks.jar
+
+#AIR Locations
+//env.AIR_HOME=../../AdobeAIRSDK
+env.AIR_HOME=C:/Program Files (x86)/Adobe/Adobe Flash Builder 4.6/sdks/4.6.0
+
+#Compilers
+ADL=${env.AIR_HOME}/bin/adl
+ADT=${env.AIR_HOME}/lib/adt.jar
+
+#App Settings
+APP_NAME=InstallApacheFlex
+APP_EXTENSION=mxml
+APP_CONFIG_XML_NAME=ApacheFlexConfig
+SOURCE_DIR=${basedir}/src
+ASSETS_DIR=${basedir}/src/assets
+LIBRARY_DIR=${basedir}/libs
+RELEASE_DIR=${basedir}/release
+BUILD_DIR=${basedir}/build
+
+#Etc Settings
+DEBUG_FLAG=false
+
+#certificate
+STORETYPE=pkcs12
+KEYSTORE=certificate.p12
+CERT_NAME=ApacheFlexSelfSignedCertificate
+CERT_ORG_UNIT=Apache Flex
+CERT_ORG_NAME=Apache
+CERT_COUNTRY=US
+CERT_KEY_TYPE=2048-RSA
+CERT_PASSWORD=apacheflex
\ No newline at end of file
Added: incubator/flex/utilities/InstallApacheFlex/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/build.xml?rev=1360962&view=auto
==============================================================================
--- incubator/flex/utilities/InstallApacheFlex/build.xml (added)
+++ incubator/flex/utilities/InstallApacheFlex/build.xml Thu Jul 12 21:33:49 2012
@@ -0,0 +1,160 @@
+<?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="MakeApacheFlexForFlashBuilder" basedir="." default="build">
+
+ <!--load environment variables prefixed with env -->
+ <property environment="env"/>
+
+ <!--location of property file -->
+ <property file="${basedir}/build.properties" description="Properties for MakeApacheFlexForFlashBuilder project" />
+
+ <!-- additional tasks - mxmlc tag -->
+ <path id="flexTasks.path">
+ <fileset dir="${FLEX_HOME}">
+ <include name="lib/flexTasks.jar" />
+ <include name="ant/lib/flexTasks.jar" />
+ </fileset>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="flexTasks.path"/>
+
+ <target name="build" description="compiles application">
+ <antcall target="init"/>
+ <antcall target="cleanup"/>
+ </target>
+
+ <target name="init" depends="determineOS, clean,createDirs" description="Creates the deploy folders and sets app extension">
+ <available file="${KEYSTORE}" property="CERTIFICATE_FLAG"/>
+ <antcall target="packagenative"/>
+ <antcall target="abortBuild"/>
+ </target>
+
+ <target name="createDirs" unless="unsupportedOS">
+ <mkdir dir="${BUILD_DIR}"/>
+ <mkdir dir="${RELEASE_DIR}"/>
+ </target>
+
+ <target name="determineOS" description="Determine OS on which build is running so that we can create the correct native installer">
+ <condition property="unsupportedOS">
+ <and>
+ <os family="unix" />
+ <not>
+ <os family="mac" />
+ </not>
+ </and>
+ </condition>
+ <condition property="extension" value="exe">
+ <os family="windows" />
+ </condition>
+ <condition property="extension" value="dmg">
+ <os family="mac" />
+ </condition>
+ </target>
+
+ <target name="packagenative" depends="compile, certificate, packageair" unless="unsupportedOS"
+ description="Packages the AIR file from the build directory to create a native installer (exe/dmg) file">
+ <java jar="${ADT}" fork="true"
+ failonerror="true"
+ maxmemory="512m">
+ <arg value="-package"/>
+ <arg value="-target"/>
+ <arg value="native"/>
+ <arg value="${RELEASE_DIR}/${APP_NAME}.${extension}"/>
+ <arg value="${RELEASE_DIR}/${APP_NAME}.air"/>
+ </java>
+ </target>
+
+ <target name="abortBuild" if="unsupportedOS">
+ <echo>Unable to create a .exe or a .dmg file on this operating system.</echo>
+ <echo>You must use ADT on the same operating system as that of the native installer file you want to generate.
+ So, to create an EXE file for Windows, run this build on Windows. To create a DMG file for Mac OS, run this
+ build on Mac OS.
+ </echo>
+ </target>
+
+ <target name="compile" unless="unsupportedOS"
+ description="Compiles the AIR application to a SWF file and places SWF in a temp directory to be packaged.">
+ <mxmlc file="${SOURCE_DIR}/${APP_NAME}.${APP_EXTENSION}"
+ output="${BUILD_DIR}/${APP_NAME}.swf"
+ static-rsls="true"
+ accessible="true"
+ configname="air"
+ debug="${DEBUG_FLAG}"
+ failonerror="true"
+ fork="true"
+ maxmemory="512m">
+ <source-path path-element="${SOURCE_DIR}"/>
+ <external-library-path file="${FLEX_HOME}/frameworks/libs/air/airglobal.swc" append="true"/>
+ <library-path dir="${LIBRARY_DIR}" includes="*.swc" append="true"/>
+ </mxmlc>
+ </target>
+
+ <target name="certificate" unless="CERTIFICATE_FLAG,unsupportedOS">
+ <java jar="${ADT}" fork="true"
+ failonerror="true">
+ <arg value="-certificate"/>
+ <arg value="-cn"/>
+ <arg value="${CERT_NAME}"/>
+ <arg value="-ou"/>
+ <arg value="${CERT_ORG_UNIT}"/>
+ <arg value="-o"/>
+ <arg value="${CERT_ORG_NAME}"/>
+ <arg value="-c"/>
+ <arg value="${CERT_COUNTRY}"/>
+ <arg value="${CERT_KEY_TYPE}"/>
+ <arg value="${KEYSTORE}"/>
+ <arg value="${CERT_PASSWORD}"/>
+ </java>
+ </target>
+
+ <target name="packageair" unless="unsupportedOS"
+ description="Packages the build SWF file from a temp directory to create an AIR file">
+ <java jar="${ADT}" fork="true"
+ failonerror="true"
+ maxmemory="512m">
+ <arg value="-package"/>
+ <arg value="-storetype"/>
+ <arg value="${STORETYPE}"/>
+ <arg value="-keystore"/>
+ <arg value="${KEYSTORE}"/>
+ <arg value="-storepass"/>
+ <arg value="${CERT_PASSWORD}"/>
+ <arg value="${RELEASE_DIR}/${APP_NAME}.air"/>
+ <arg value="${SOURCE_DIR}/${APP_NAME}-app.xml"/>
+ <arg value="-C"/>
+ <arg value="${BUILD_DIR}"/>
+ <arg value="${BUILD_DIR}/${APP_NAME}.swf"/>
+ <arg value="-C"/>
+ <arg value="${SOURCE_DIR}"/>
+ <arg value="${SOURCE_DIR}/${APP_CONFIG_XML_NAME}.xml"/>
+ <arg value="${ASSETS_DIR}"/>
+ </java>
+ </target>
+
+ <target name="clean" unless="unsupportedOS" description="Cleans up old files.">
+ <delete dir="${BUILD_DIR}" failOnError="false" includeEmptyDirs="true" />
+ <delete dir="${RELEASE_DIR}" failOnError="false" includeEmptyDirs="true" />
+ </target>
+
+ <target name="cleanup" description="Cleans up old files.">
+ <delete dir="${BUILD_DIR}" failOnError="false" includeEmptyDirs="true" />
+ </target>
+
+</project>
\ No newline at end of file
Added: incubator/flex/utilities/InstallApacheFlex/certificate.p12
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/certificate.p12?rev=1360962&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/utilities/InstallApacheFlex/certificate.p12
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/utilities/InstallApacheFlex/libs/as3commons-zip-1.0.0-alpha.1.swc
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/libs/as3commons-zip-1.0.0-alpha.1.swc?rev=1360962&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/utilities/InstallApacheFlex/libs/as3commons-zip-1.0.0-alpha.1.swc
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/utilities/InstallApacheFlex/src/ApacheFlexConfig.xml
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/src/ApacheFlexConfig.xml?rev=1360962&view=auto
==============================================================================
--- incubator/flex/utilities/InstallApacheFlex/src/ApacheFlexConfig.xml (added)
+++ incubator/flex/utilities/InstallApacheFlex/src/ApacheFlexConfig.xml Thu Jul 12 21:33:49 2012
@@ -0,0 +1,51 @@
+<!--
+
+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.
+
+-->
+<config>
+ <version>1.0</version>
+ <files>
+ <!-- Apache Flex binary distribution -->
+ <file name="ApacheFlexSDK" path="http://people.apache.org/~cframpton/ApacheFlexRC/release_candidate_3/binaries/" file="apache-flex-sdk-4.8.0-incubating-bin.zip" />
+
+ <!-- Adobe AIR SDK -->
+ <file name="AdobeAIRSDKWin" path="http://airdownload.adobe.com/air/win/download/3.1/" file="AdobeAIRSDK.zip" />
+ <file name="AdobeAIRSDKMac" path="http://airdownload.adobe.com/air/mac/download/3.1/" file="AdobeAIRSDK.tbz2" />
+
+ <!-- Adobe Flash Player player global swc -->
+ <file name="FlashPlayer" path="http://fpdownload.macromedia.com/get/flashplayer/updaters/11/" file="playerglobal11_1.swc" />
+
+ <!-- BlazeDS -->
+ <file name="BlazeDS" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="flex-messaging-common.jar" />
+
+ <!-- FontSWF -->
+ <file name="afe" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="afe.jar" />
+ <file name="aglj40" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="aglj40.jar" />
+ <file name="flex-fontkit" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="flex-fontkit.jar" />
+ <file name="rideau" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="rideau.jar" />
+
+ <!-- OSMF -->
+ <file name="OSMF" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/frameworks/libs/" file="osmf.swc" />
+
+ <!-- TLF -->
+ <file name="TLF" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/frameworks/libs/" file="textLayout.swc" />
+
+ <!-- AdobeFlex4.6 -->
+<!-- <file name="AdobeFlex4.6" path="http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/" file="flex_sdk_4.6.0.23201B.zip" /> -->
+
+ </files>
+</config>
\ No newline at end of file
Added: incubator/flex/utilities/InstallApacheFlex/src/InstallApacheFlex-app.xml
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/src/InstallApacheFlex-app.xml?rev=1360962&view=auto
==============================================================================
--- incubator/flex/utilities/InstallApacheFlex/src/InstallApacheFlex-app.xml (added)
+++ incubator/flex/utilities/InstallApacheFlex/src/InstallApacheFlex-app.xml Thu Jul 12 21:33:49 2012
@@ -0,0 +1,252 @@
+<?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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/3.1">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/3.1
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- A universally unique application identifier. Must be unique across all AIR applications.
+ Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
+ <id>org.apache.flex.installapacheflex</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>InstallApacheFlex</filename>
+
+ <!-- The name that is displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>InstallApacheFlex</name>
+
+ <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
+ Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
+ An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
+ <versionNumber>0.7.0</versionNumber>
+
+ <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
+ <!-- <versionLabel></versionLabel> -->
+
+ <!-- Description, displayed in the AIR application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+ <!-- <publisherID></publisherID> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+ <content>InstallApacheFlex.swf</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width in pixels. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height in pixels. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+
+ <!-- The initial aspect ratio of the app when launched (either "portrait" or "landscape"). Optional. Mobile only. Default is the natural orientation of the device -->
+
+ <!-- <aspectRatio></aspectRatio> -->
+
+ <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->
+
+ <!-- <autoOrients></autoOrients> -->
+
+ <!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
+
+ <!-- <fullScreen></fullScreen> -->
+
+ <!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto -->
+
+ <!-- <renderMode></renderMode> -->
+
+ <!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). Optional. Defaults "pan." -->
+ <!-- <softKeyboardBehavior></softKeyboardBehavior> -->
+ <autoOrients>false</autoOrients>
+ <fullScreen>false</fullScreen>
+ <visible>false</visible>
+ </initialWindow>
+
+ <!-- We recommend omitting the supportedProfiles element, -->
+ <!-- which in turn permits your application to be deployed to all -->
+ <!-- devices supported by AIR. If you wish to restrict deployment -->
+ <!-- (i.e., to only mobile devices) then add this element and list -->
+ <!-- only the profiles which your application does support. -->
+ <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
+ <supportedProfiles>extendedDesktop desktop</supportedProfiles>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <icon>
+ <image16x16>assets/icons/16.png</image16x16>
+ <image29x29>assets/icons/29.png</image29x29>
+ <image32x32>assets/icons/32.png</image32x32>
+ <image36x36>assets/icons/36.png</image36x36>
+ <image48x48>assets/icons/48.png</image48x48>
+ <image57x57>assets/icons/57.png</image57x57>
+ <image72x72>assets/icons/72.png</image72x72>
+ <image114x114>assets/icons/114.png</image114x114>
+ <image128x128>assets/icons/128.png</image128x128>
+ </icon>
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME content type. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+ <!-- iOS specific capabilities -->
+ <!-- <iPhone> -->
+ <!-- A list of plist key/value pairs to be added to the application Info.plist -->
+ <!-- <InfoAdditions>
+ <![CDATA[
+ <key>UIDeviceFamily</key>
+ <array>
+ <string>1</string>
+ <string>2</string>
+ </array>
+ <key>UIStatusBarStyle</key>
+ <string>UIStatusBarStyleBlackOpaque</string>
+ <key>UIRequiresPersistentWiFi</key>
+ <string>YES</string>
+ ]]>
+ </InfoAdditions> -->
+ <!-- A list of plist key/value pairs to be added to the application Entitlements.plist -->
+ <!-- <Entitlements>
+ <![CDATA[
+ <key>keychain-access-groups</key>
+ <array>
+ <string></string>
+ <string></string>
+ </array>
+ ]]>
+ </Entitlements> -->
+ <!-- Display Resolution for the app (either "standard" or "high"). Optional. Default "standard" -->
+ <!-- <requestedDisplayResolution></requestedDisplayResolution> -->
+ <!-- </iPhone> -->
+
+ <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
+ <!--<android> -->
+ <!-- <manifestAdditions>
+ <![CDATA[
+ <manifest android:installLocation="auto">
+ <uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+ <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
+ <application android:enabled="true">
+ <activity android:excludeFromRecents="false">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ </activity>
+ </application>
+ </manifest>
+ ]]>
+ </manifestAdditions> -->
+ <!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after -->
+ <!-- <colorDepth></colorDepth> -->
+ <!-- </android> -->
+ <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
+
+</application>