I'm having trouble setting up ant to build and test my project locally and I'm not sure what the next step is.
Info:
- Running on XP/Cygwin.
- All of the files that FlexUnit4 references when used in Flash Builder are in my '${basename}/libs' folder (eg FlexUnit4_1.0.swc).
- I've placed the flexunit4 task in my ant/libs folder.
I'm getting two errors...
I don't think I've set up the 'socket' stuff right for the tests. It just sits and waits then dies...
[flexunit] Waiting for client connection ... (about a minute later) [flexunit] Stopping server ... [flexunit] End of test data reached, sending acknowledgement to player ... [flexunit] Closing client connection ... [flexunit] Closing server on port [1024] ... BUILD FAILED java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
Plus this is the error I get from the flash player:
ReferenceError: Error #1065: Variable mx.skins.spark::BorderSkin is not defined.
I don't know why it's complaining about Borderskin as I think I have included all the flex4 libs I could find. I suspect this second error is causing the first error?
Any help appreciated. I think I'm just setting it up all wrong.
Screencap of errors:
build.xml: