On 3/23/14 12:58 AM, "Justin Mclean" <jus...@classsoftware.com> wrote:

>Hi,
>
>> That led me to discover that the "main" target doesn't build the
>> uilistener target.  Should it?
>Ant main just compiles the core, fluint, cilistener and flexcoverlistener
>targets, the ui listener and air lister are created from the 'listeners'
>target. 
>
>The CI listensers are for continuous integration and while useful not
>essential for use of flex unit, but I guess that can be added to the main
>target.
>
>> I ran the "listeners" target which build the uilisteners target then
>> failed on the FlexUnit4AirCIListener project because it doesn't look
>>like
>> it uses the air-config.xml.
>
>It not creating an AIR app but a swc to use in AIR so I'm not sure that's
>required.
>
>ant listeners gives me:
>
><lots of stuff then>
>
>listeners:
>
>BUILD SUCCESSFUL
>Total time: 30 seconds
I assume there was nots of stuff after "listeners:"  For me, there's:

listeners:

<lots of stuff>

aircilistener:

<some more stuff>

compile:
    [compc] Loading configuration file
/Users/aharui/git/flex/master/flex-sdk/frameworks/flex-config.xml
    [compc] 
/Users/aharui/Work/apache-flex-flexunit-4.2.0-4.12.0-src/FlexUnit4AirCIList
ener/src/org/flexunit/listeners/closer/AirCloser.as(35): col: 4 Error:
Access of undefined property NativeApplication.
    [compc] 
    [compc]                     NativeApplication.nativeApplication.exit();
    [compc]                     ^
    [compc] 
    [compc] 
/Users/aharui/Work/apache-flex-flexunit-4.2.0-4.12.0-src/FlexUnit4AirCIList
ener/src/org/flexunit/listeners/closer/AirCloser.as(19): col: 22 Error:
Definition flash.desktop:NativeApplication could not be found.
    [compc] 
    [compc]     import flash.desktop.NativeApplication;
    [compc]                         ^
    [compc] 

BUILD FAILED


The "aircilistener" target was using flex-config and thus couldn't find
NativeApplication.

>
>> So, I'm not sure what I should vote because I don't know if this package
>> is meeting expectations.
>
>Most people would use it via a IDE IMO, but I guess some would use it via
>ant for CI. I've not tried to see if it works with ant but it does with
>Flash Builder.
Should there be mention of how to swap out Flash Builder's flexunit for
this one in the readme?

-Alex

Reply via email to