Hi,

> There is a gap between how you build the SDK and how you make and test
> changes to the SDK
Not really once you have a working SDK set up you can just change it and 
recompile sub projects as required.

> (working from memory here) After you build the SDK ('ant main') you
> run the script 'ide/constructFlexForIDE' to prepare the SDK for use in
> Flash Builder.
Yep but there are other ways to do the same thing.

The bits you need to set up and compile the initial SDK are basically the same 
as you need to test it.
Java
Ant
Flash Player Globals
AIR SDK

Only exception is  the Debug Flash Player which is required for the mustella  
tests.

But this is all in the README and fairly well documented.

> You then create your test application (in which you
> will reproduce the bug) to use this newly build and prepared SDK.
I generally have several SDKs, a clean develop branch, official releases 
(4.9.1, 4.8, 4.6 etc), and dev branch I'm playing about with. I often switch 
between them to see what works and doesn't work on what versions.

> Now a question to all of you: can we make an app (or extend the
> Installer) so the steps to prepare a system for building the SDK are
> performed automatically?
May be tricky given what it needs to download and set up (see list above).

> - we can create an env.properties with all the paths set
We could provide better samples which would be a start, but generally I do most 
things via command line and don't use evn.properties.

Here's my the environment vars I've set up (for OSX), they depend on where you 
extract the required downloads obviously.
ANT_HOME=/usr/share/ant
PLAYERGLOBAL_HOME=/Users/justinmclean/Documents/player/
AIR_HOME=/Users/justinmclean/Documents/air/mac/AdobeAIRSDK/
TLF_HOME=/Users/justinmclean/Documents/ApacheFlexTLFGit
FLASHPLAYER_DEBUGGER=/Users/justinmclean/Documents/Adobe Flash Builder 
4.6/Apache Flex/in/player/11.1/mac/Flash Player 
Debugger.app/Contents/MacOS/Flash Player Debugger
PIXELBENDER_HOME=/Applications/Utilities/Adobe Utilities-CS5.localized/Pixel 
Bender Toolkit 2/

TLF_HOME may not needed to be set depending on how TLF is checked out.

> - we can find and edit mm.cfg and create a FlashPlayerTrust file
> - etc.
For 99% of general testing, fixes, patches etc that's not required.

Thanks,
Justin

Reply via email to