Let's talk about Flex, AIR, ActionScript, ColdFusion and more    

Cygwin SVN update and build batch for the latest Flex SDK 4


At the first, you need to setup Cygwin environment while seeing following pages.
Get source code
Set up your development environment

You have to checkout Flex SDK 4 from SVN at Adobe.

Setup on Windows
Setup on Macintosh
Setup on Linux

How to build and test

Now, you can update local sources from svn and build Flex SDK 4. But you have to do those manually. So, I made this bash shell. By doubl-clicking a batch file, it updates local sources from svn and builds the latest Flex SDK 4 if the revision was changed.

Cygwin_FlexSDK.zip

After download this zip and unzip it, you have to change following parameters.

[Cygwin_FlexSDK.bat]
chdir D:\cygwin\bin

set your Cygwin bin folder

[updateFlex]
export FLEX_HOME=/cygdrive/f/Softs/Adobe/Flex4/ws/FlexSDK4

set checkouted Flex SDK 4 folder


And you should know about one thing. If you choose UNIX mode, you have to change line feed code of setup.sh from CR+LF to LF.


Any comment is a welcome :D


Comments
BlogCFC was created by Raymond Camden. This blog is running version 5.5.005.