4 Replies Latest reply on Sep 24, 2011 12:00 PM by Nedumangad Chandra

    FU4.1RC2 - "invalid application descriptor" when using AIR 2.5

    trevorbutler Level 1



      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\flexUnitDescriptor.xml]


      [flexunit] Executing 'C:\Flex\AIRSdk2.5\bin\adl.exe' with arguments:


      [flexunit] 'C:\EclipseWorkspace3.5\report.renderer_tests_2\build\flexUnitDescriptor.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:






      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.