Folks,
I discovered today when attempting to use AIR 2.5 with FlexUnit4.1 RC2 that you will get the following error when adl.exe is invoked:
[flexunit] Setting up server process ...
[flexunit] Starting server ...
[flexunit] Opening server socket on port [1024].
[flexunit] Waiting for client connection ...
[flexunit] Found AIR version: 2.5
[flexunit] Created application descriptor at [C:\EclipseWorkspace3.5\report.renderer_tests_2\build\flexUnitDescrip tor.xml]
[flexunit] Executing 'C:\Flex\AIRSdk2.5\bin\adl.exe' with arguments:
[flexunit] 'C:\EclipseWorkspace3.5\report.renderer_tests_2\build\flexUnitDescrip tor.xml'
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit] invalid application descriptor: versionNumber must have a non-empty value.
From what I can tell, the flexUnitDescriptor.xml file that FlexUnit is producing has this:
<version>1.0.0</version>
I guess AIR 2.5 changes the element name to <versionNumber>. When I manually changed 'version' to 'versionNumber', I could get adl.exe to launch and run the tests manually from the command line.
Something to be aware of - hopefully you all are aware of this apparent API change.
Regards,
Trevor