incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1348071 - in /incubator/flex/trunk/ide/flashbuilder: README_integration_with_Adobe_FlashBuilder.txt build.xml flashbuilder-config.xml makeApacheFlexForFlashBuilder.bat makeApacheFlexForFlashBuilder.sh
Date Fri, 08 Jun 2012 13:54:45 GMT
Author: cframpton
Date: Fri Jun  8 13:54:45 2012
New Revision: 1348071

URL: http://svn.apache.org/viewvc?rev=1348071&view=rev
Log:
The upcoming release of Adobe FlashBuilder expects flashbuilder-config.xml in the root directory.
 This is one of the many checks FlashBuilder makes to determine if the given directory is
a Flex SDK.  See the added README for details.

Added:
    incubator/flex/trunk/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt 
 (with props)
    incubator/flex/trunk/ide/flashbuilder/flashbuilder-config.xml   (with props)
Modified:
    incubator/flex/trunk/ide/flashbuilder/build.xml
    incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat
    incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.sh

Added: incubator/flex/trunk/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt?rev=1348071&view=auto
==============================================================================
--- incubator/flex/trunk/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt (added)
+++ incubator/flex/trunk/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt Fri
Jun  8 13:54:45 2012
@@ -0,0 +1,70 @@
+<!--
+
+  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.
+
+-->
+
+Integrating Apache Flex SDK with Adobe Flash Builder
+----------------------------------------------------
+
+Adobe Flash Builder performs several checks on the Apache SDK to ensure compatibility of

+the SDK with Flash Builder.
+
+Identifying the configuration file
+----------------------------------
+
+--This section applies to Adobe FlashBuilder v4.7 which is currently in development at 
+  Adobe as of June 2012.--
+ 
+Flash Builder searches for the flashbuilder-config.xml configuration file in the root 
+directory of the installed SDK. Once the flashbuilder-config.xml configuration file is 
+found, the SDK is recognized as a version of the Apache Flex SDK.
+
+**Note: The flashbuilder-config.xml configuration file specifies configuration data about

+the express Install SWF file. The express Install SWF file is used if Adobe Flash Player

+is not installed.
+
+
+Verifying the validity of the Apache Flex SDK
+---------------------------------------------
+
+--This section applies to the Adobe FlashBuilder v4.6 which has been released as well as
+  to Adobe FlashBuilder v4.7 which is currently in development at Adobe as of June 2012.--
+
+Flash Builder verifies the validity of the Apache Flex SDK by checking for the following:
+
+* The Apache Flex SDK version must be specified in the flex-sdk-description.xml file. 
+  The specified version must be 4.8.0 or higher.
+
+* The following XML files and folders must be present in the root directory of the Flex SDK:
+	flex-config.xml
+	mxml-manifest.xml
+	templates
+
+* The following files and folders must be present in the /frameworks folder of the Flex SDK:
+	air-config.xml
+	airmobile-config.xml
+	spark-manifest.xml
+	locale
+	projects
+	rsls
+	libs\player
+	libs\air
+
+* The following JAR files must be present in the /lib folder of the Flex SDK:
+	flex-compiler-oem.jar
+	mxmlc.jar
+	adt.jar
\ No newline at end of file

Propchange: incubator/flex/trunk/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/flex/trunk/ide/flashbuilder/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/ide/flashbuilder/build.xml?rev=1348071&r1=1348070&r2=1348071&view=diff
==============================================================================
--- incubator/flex/trunk/ide/flashbuilder/build.xml (original)
+++ incubator/flex/trunk/ide/flashbuilder/build.xml Fri Jun  8 13:54:45 2012
@@ -40,7 +40,8 @@
         description="Create framework config files in format expected by Adobe FlashBuilder"/>
 
     <target name="clean">
-        <delete dir="${basedir}/config"/>
+        <delete dir="${basedir}/config" failonerror="false" />
+        <delete file="${FLEX_HOME}/flashbuilder-config.xml" failonerror="false" verbose="true"/>
     </target>
     
     <!-- For testing.  Run this to integrate this SDK (in-place) with playerglobal.swc
and
@@ -104,6 +105,9 @@
         <copy todir="${frameworks.dir}" verbose="true">
             <fileset dir="${basedir}/config"/> 
         </copy>
+        <copy todir="${FLEX_HOME}" verbose="true">
+            <fileset file="${basedir}/flashbuilder-config.xml"/> 
+        </copy>
     </target>
     
     <target name="install-playerglobal">

Added: incubator/flex/trunk/ide/flashbuilder/flashbuilder-config.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/ide/flashbuilder/flashbuilder-config.xml?rev=1348071&view=auto
==============================================================================
--- incubator/flex/trunk/ide/flashbuilder/flashbuilder-config.xml (added)
+++ incubator/flex/trunk/ide/flashbuilder/flashbuilder-config.xml Fri Jun  8 13:54:45 2012
@@ -0,0 +1,23 @@
+<?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.
+
+-->
+<flashbuilder-config>
+    <!-- Specifies the express install swf that will be used in the HTML file generated.
-->
+   <express-install-swf>expressInstall.swf</express-install-swf>
+</flashbuilder-config>
\ No newline at end of file

Propchange: incubator/flex/trunk/ide/flashbuilder/flashbuilder-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/ide/flashbuilder/flashbuilder-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat?rev=1348071&r1=1348070&r2=1348071&view=diff
==============================================================================
--- incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat (original)
+++ incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat Fri Jun  8 13:54:45
2012
@@ -96,6 +96,8 @@ REM
 echo Installing frameworks config files configured for use with Adobe Flash Builder
 copy /y "%FLEX_HOME%"\ide\flashbuilder\config\*-config.xml "%FLEX_HOME%\frameworks"
 if %errorlevel% neq 0 goto errorExit
+copy /y "%FLEX_HOME%"\ide\flashbuilder\flashbuilder-config.xml "%FLEX_HOME%"
+if %errorlevel% neq 0 goto errorExit
 
 REM
 REM         Remove zipped kits.

Modified: incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.sh
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.sh?rev=1348071&r1=1348070&r2=1348071&view=diff
==============================================================================
--- incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.sh (original)
+++ incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.sh Fri Jun  8 13:54:45
2012
@@ -77,6 +77,7 @@ curl "$ADOBE_FLASHPLAYER_GLOBALPLAYER_SW
 # copy the config files formatted for Flash Builder to frameworks 
 echo "Installing the frameworks config files configured for use with Adobe Flash Builder"
 cp -p -v "$FLEX_HOME"/ide/flashbuilder/config/*-config.xml "$FLEX_HOME/frameworks"
+cp -p -v "$FLEX_HOME"/ide/flashbuilder/flashbuilder-config.xml "$FLEX_HOME"
 
 # remove the zipped kits
 rm -rf "$tempDir"
\ No newline at end of file



Mime
View raw message