This looks great. I'll try it hopefully today. It also probably means we can delete those sh and bat files, which should simplify work with the SDK.
On 17 December 2014 at 13:41, <erikdebr...@apache.org> wrote: > 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 <e...@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/feb40f62 > Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/feb40f62 > Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/feb40f62 > > Branch: refs/heads/release4.14.0 > Commit: feb40f628bf126db22fc9c90fcb35a0f72511866 > Parents: 8ce76a2 > Author: Erik de Bruin <e...@ixsoftware.nl> > Authored: Wed Dec 17 14:40:53 2014 +0100 > Committer: Erik de Bruin <e...@ixsoftware.nl> > Committed: Wed Dec 17 14:40:53 2014 +0100 > > ---------------------------------------------------------------------- > README | 31 +++++++------------------------ > 1 file changed, 7 insertions(+), 24 deletions(-) > ---------------------------------------------------------------------- > > > http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/feb40f62/README > ---------------------------------------------------------------------- > diff --git a/README b/README > index 8ecd4fd..0e4eaf4 100644 > --- a/README > +++ b/README > @@ -310,41 +310,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. > > > >