The Flex application that I am working on is compiled using Flex SDK 3.0.
Now I want to unit test this application using FlexUnit4.
I am not able to find FlexUnit4 for Flex SDK 3.0 in downloads page(http://www.flexunit.org/?page_id=14).
So I decided to download the FlexUnit 4 source code and compile it using Flex SDK 3.0.
I have downloaded the source code from downloads page(http://github.com/flexunit/flexunit/).
I need help in compiling the projects. I want to know what are the configuration changes that I need to do run the ant task build.xml in my local machine.
Please help me here.
You can do two things. First, the SDK 3.2 code should work fine for your application. It doesn't contain SDK 3.2, it is just linked against it but there shouldn't be any API changes that would cause you grief.
However, if you do want to build it yourself (and you only need the SDK) the easiest way is actually to build it with FlexBuilder. Basically, inside of your Flex Builder just import a General Project (not the flex specific import menu) and choose the directory where the FlexUnit4 library was downloaded. Flex Builder should build that library fine and produce a swc which you can then use.
Last thing, if you need to stick with SDK 3.0 then no worries. However, if there is any way you can upgrade to a newer SDK I would recommend it. There have been some seriously hideous bugs fixed since then.
Thank you so much for your detailed reply.