you would need
- an anonymous checkout of the code first using svn as described here.
- apache ant(mine was 1.7.1) as the build tool. (it helps if you add the bin folder in your installation to the path variable on your machine)
For flex 3 -
In build.win.properties add these new variables(make sure to change the values to your flex install directory). I added it at line number 15, but its up to you.
flexsdk.bin.dir = C:/Program Files/Adobe/Flex Builder 3/sdks/3.2.0/bin
flexsdk.lib.dir = C:/Program Files/Adobe/Flex Builder 3/sdks/3.2.0/frameworks/libs
flexsdk.locale = en_US
flexsdk.locale.dir = C:/Program Files/Adobe/Flex Builder 3/sdks/3.2.0/frameworks/locale/{locale}
change these variables to use the new variables
asdoc.exe = ${flexsdk.bin.dir}/asdoc.exe
compc.exe = ${flexsdk.bin.dir}/compc.exe
mxmlc.exe = ${flexsdk.bin.dir}/mxmlc.exe
In build.xml
uncomment this line (32)
<
on line (24) update the basedir attribute to your flexlib directory(an absolute path is good enough)
and change it, so that I could compile flexlib for flash player 10.
<arg line="-el '${flexsdk.lib.dir}/player/10'" />
Thats it, now on command prompt go the flexlib/build directory and run ant(which is as simple as ant + enter key,if you followed the first part of the post correctly)
if all goes good you should see a flexlib.swc in the bin flexlib/bin folder.