5 Replies Latest reply on Jun 14, 2010 2:45 PM by Simeon Bateman

    flexunit 4.1 beta 1 ant task fails if SDK or project dir contains spaces

    snowymike

      downloaded FlexUnit 4.1 beta 1 for its directory scanning and test loading support.  found a problem - if either the SDK dir (e.g. C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0) or the project dir (e.g. C:\Documents and Settings\flexuser\My Documents\mike\Adobe Flash Builder 4\AntFlexUnit4.1betaSampleCIProject) contain spaces, the flexunit ant task will fail, as the following output indicates:

       

      <snip>

      [flexunit] '+flexlib'
      [flexunit] 'C:\Program'
      [flexunit] 'Files\Adobe\Adobe'
      [flexunit] 'Flash'
      [flexunit] 'Builder'
      [flexunit] '4\sdks\4.0.0\frameworks'
      [flexunit] '-output'
      [flexunit] 'C:\Documents'
      [flexunit] 'and'
      [flexunit] 'Settings\flexuser\My'
      [flexunit] 'Documents\mike\Adobe'
      [flexunit] 'Flash'
      [flexunit] 'Builder'
      [flexunit] '4\AntFlexUnit4.1betaSampleCIProject\target\bin\TestRunner.swf'

      <snip>

      BUILD FAILED
      C:\Documents and Settings\flexuser\My Documents\mike\Adobe Flash Builder 4\AntFlex
      Unit4.1betaSampleCIProject\build.xml:72: Compilation failed:
      command line: Error: default arguments may not be interspersed with other options

       

      everything worked fine if i relocated both the SDK and project dir.  unfortunately most of our developers use SDK and project directories with spaces.

       

      what's the ETA for beta 2 ;-) ?  anxious to integrate this excellent new feature once the spacing problem is resolved.

       

      thanks.

       

      -mike