You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2014/12/18 10:07:04 UTC

[30/33] git commit: [flex-sdk] [refs/heads/develop] - Changed 'prepare SDK' section again

Changed 'prepare SDK' section again

After Mihai's effort, I looked into this some more. Turns out the easiest, cross platform and most up-to-date way to do this is using the same script as the Installer. Since I can't find a way to change the FP/AIR versions of an existing SDK that works on Windows, I made that a 'Mac/Linux' only section.

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/04cc8250
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/04cc8250
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/04cc8250

Branch: refs/heads/develop
Commit: 04cc8250c5de7624807544b1d913717e7aebde23
Parents: 56dd900
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Dec 17 14:40:53 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Dec 18 10:04:05 2014 +0100

----------------------------------------------------------------------
 README | 31 +++++++------------------------
 1 file changed, 7 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/04cc8250/README
----------------------------------------------------------------------
diff --git a/README b/README
index b845852..fd35767 100644
--- a/README
+++ b/README
@@ -311,41 +311,24 @@ To get a brief listing of all the targets type, use:
 Prepare the SDK for use with an IDE
 -----------------------------------
 
-If you want to use the SDK you built from source in Adobe Flash Builder, you
-need to run these commands and scripts:
+To create an SDK for Flash Builder or any other IDE, run:
 
     cd <flex.dir>
     ant frameworks-rsls
-    ./ide/constructFlexForIDE.[sh/bat] "[path-to-sdk]" "[path-to-UNZIPPED-flex_sdk_4.6.0.23201B.zip]"
-    (Mac only: ./ide/addAIRtoSDK.sh)
+    ant -f installer.xml -Dflash.sdk.version=15.0 -Dair.sdk.version=15.0
 
-This builds the RSLS for the SDK and copy some IDE related files from the Adobe
-Flex SDK 4.6.
+On Mac/Linux the AIR and Flash Player version can be changed by running:
 
-To create an SDK for another IDE, or if you want to use a different version of
-Adobe AIR (Adobe Flex 4.6 uses Adobe AIR 3.1), run:
+    ./ide/setFlashPlayerVersion.sh ./ 15.0
+    ./ide/addAIRtoSDK.sh 15.0 ./
 
-    cd ide/flashbuilder & call ide/flashbuilder/makeApacheFlexForIDE.bat "[path-to-sdk]" (on Windows)
-    ./ide/flashbuilder/makeApacheFlexForIDE.sh (on Mac and Linux)
-
-On Mac the AIR and Flash Player version can be changed by running:
-	./ide/setFlashPlayerVersion.sh
-	./ide/addAIRtoSDK.sh
 
 
 Using the Binary Distribution
 =============================
 
-In order to use the binary distribution of the SDK, you must first download the
-third-party dependencies. First, make sure your system is good to go: see
-'Prepare your system' above. Note: you cannot use the env.properties file to
-set the environment variables when you use the Binany Distribution. Now, use:
-
-    cd <flex-sdk>/frameworks
-    ant thirdparty-downloads
-
-To complete the setup of the SDK, follow the instructions in the
-'Prepare the SDK for use with an IDE' section above.
+In order to use the binary distribution of the SDK, follow the instructions in
+the 'Prepare the SDK for use with an IDE' section above.