Re: Ant Build Problem

2018-09-08 Thread Carlos Rovira
 > > > >> projects/Basic/src/test/
> > > > >> >royale/out]
> > > > >> > [flexunit] Setting up server process ...
> > > > >> > [flexunit] Starting server ...
> > > > >> > [flexunit] Entry
> > > > >> >[/Users/erik/Documents/git/royale-asjs/frameworks/
> > > > >> projects/Basic/src/test/
> > > > >> >royale]
> > > > >> >already available in local trust file at
> > > > >> >[/Users/erik/Library/Preferences/Macromedia/Flash
> > > > >> >Player/#Security/FlashPlayerTrust/flexUnit.cfg].
> > > > >> > [flexunit] Executing 'open' with arguments:
> > > > >> > [flexunit]
> > > > >> >'/Users/erik/Documents/git/royale-asjs/frameworks/
> > > > >> projects/Basic/src/test/
> > > > >> >royale/FlexUnitRoyaleApplication.swf'
> > > > >> > [flexunit]
> > > > >> > [flexunit] The ' characters around the executable
> and
> > arguments
> > > are
> > > > >> > [flexunit] not part of the command.
> > > > >> > [flexunit]
> > > > >> > [flexunit] Opening server socket on port [1024].
> > > > >> > [flexunit] Waiting for client connection ...
> > > > >> >
> > > > >> >HTH,
> > > > >> >
> > > > >> >EdB
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> >On Tue, Dec 19, 2017 at 12:14 PM, Erik de Bruin <
> > > e...@ixsoftware.nl>
> > > > >> >wrote:
> > > > >> >
> > > > >> >> I get an error dialog from the swf being tested,
> > "VerifyError:
> > > Error
> > > > >> >> #1014: Class IResponder could not be found.". When
> I
> > dismiss
> > > the
> > > > >>dialog,
> > > > >> >> test test times out and the ant build fails.
> > > > >> >>
> > > > >> >> EdB
> > > > >> >>
> > > > >> >>
> > > > >> >>
> > > > >> >> On Tue, Dec 19, 2017 at 11:25 AM, Alex Harui
> > > > >>
> > > > >> >> wrote:
> > > > >> >>
> > > > >> >>> What error do you get if you don't apply the
> workaround?
> > > > >> >>>
> > > > >> >>> -Alex
> > > > >> >>>
> > > > >> >>> On 12/19/17, 2:02 AM, "Erik de Bruin" <
> > e...@ixsoftware.nl>
> > > wrote:
> > > > >> >>>
> > > > >> >>> >Just to keep this fresh:
> > > > >> >>> >
> > > > >> >>> >This is still an issue, and the workaround below
> is
> > required
> > > for me
> > > > >> >>>to be
> > > > >> >>> >able to run 'ant' on the royale-asjs project...
> > > > >> >>> >
> > > > >> >>> >EdB
> > > > >> >>> >
> > > > >> >>> >
> > > > >> >>> >
> > > > >> >>> >On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin <
> > > e...@ixsoftware.nl
> > > > >
> > > > >> >>> wrote:
> > > > >> >>> >
> > > > >> &g

Re: Ant Build Problem

2018-09-07 Thread Alex Harui
swf being tested,
> "VerifyError:
> > Error
> > > >> >> #1014: Class IResponder could not be found.". When I
> dismiss
> > the
> > > >>dialog,
> > > >> >> test test times out and the ant build fails.
> > > >> >>
> > > >> >> EdB
> > > >> >>
> > > >> >>
> > > >> >>
> > > >> >> On Tue, Dec 19, 2017 at 11:25 AM, Alex Harui
> > > >>
> > > >> >> wrote:
> > > >> >>
> > > >> >>> What error do you get if you don't apply the 
workaround?
> > > >> >>>
> > > >> >>> -Alex
> > > >> >>>
> > > >> >>> On 12/19/17, 2:02 AM, "Erik de Bruin" <
> e...@ixsoftware.nl>
> > wrote:
> > > >> >>>
> > > >> >>> >Just to keep this fresh:
> > > >> >>> >
> > > >> >>> >This is still an issue, and the workaround below is
> required
> > for me
> > > >> >>>to be
> > > >> >>> >able to run 'ant' on the royale-asjs project...
> > > >> >>> >
> > > >> >>> >EdB
> > > >> >>> >
> > > >> >>> >
> > > >> >>> >
> > > >> >>> >On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin <
> > e...@ixsoftware.nl
> > > >
> > > >> >>> wrote:
> > > >> >>> >
> > > >> >>> >> I did several fresh pulls of the repos yesterday
> while
> > testing
> > > >> >>>as2wasm
> > > >> >>> >>and
> > > >> >>> >> I can faithfully reproduce the issue(s). I can also
> > reliably make
> > > >> >>>it go
> > > >> >>> >> away if I do these things:
> > > >> >>> >>
> > > >> >>> >> - comment out the ant task in the 'CoreTest' target
> in
> > > >> >>> >>frameworks/build.xml
> > > >> >>> >> - remove the 'test' dependency from the 'main'
> target in
> > > >> >>> >> frameworks/projects/Basic/build.xml
> > > >> >>> >>
> > > >> >>> >> HTH,
> > > >> >>> >>
> > > >> >>> >> EdB
> > > >> >>> >>
> > > >> >>> >>
> > > >> >>> >>
> > > >> >>> >> On Thu, Nov 16, 2017 at 7:43 AM, Yishay Weiss
> > > >> >>>
> > > >> >>> >> wrote:
> > > >> >>> >>
> > > >> >>> >>> Thanks for the pointers Alex. Funnily I stopped
> getting
> > it after
> > > >> >>> >>>playing
> > > >> >>> >>> around with some scripts, cleaning my changes and
> > checking out
> > > >>from
> > > >> >>> >>>git the
> > > >> >>> >>> unit tests aren’t being run anymore and so I’m not
> > getting it.
> > > >>I’ll
> > > >> >>> >>>come
> > > >> >>> >>> back to it when it starts itching again, but for
> now I
> > can work.
> > > >> >>> >>>
> > > >> >>> >>>
> > >

Re: Ant Build Problem

2018-09-07 Thread Carlos Rovira
;> > [flexunit] Validating task attributes ...
> > > >> > [flexunit] Generating default values ...
> > > >> > [flexunit] Using the following settings for the test run:
> > > >> > [flexunit] haltonfailure: [false]
> > > >> > [flexunit] headless: [false]
> > > >> > [flexunit] display: [99]
> > > >> > [flexunit] localTrusted: [true]
> > > >> > [flexunit] player: [flash]
> > > >> > [flexunit] port: [1024]
> > > >> > [flexunit] swf:
> > > >> >[/Users/erik/Documents/git/royale-asjs/frameworks/
> > > >> projects/Basic/src/test/
> > > >> >royale/FlexUnitRoyaleApplication.swf]
> > > >> > [flexunit] timeout: [9ms]
> > > >> > [flexunit] toDir:
> > > >> >[/Users/erik/Documents/git/royale-asjs/frameworks/
> > > >> projects/Basic/src/test/
> > > >> >royale/out]
> > > >> > [flexunit] Setting up server process ...
> > > >> > [flexunit] Starting server ...
> > > >> > [flexunit] Entry
> > > >> >[/Users/erik/Documents/git/royale-asjs/frameworks/
> > > >> projects/Basic/src/test/
> > > >> >royale]
> > > >> >already available in local trust file at
> > > >> >[/Users/erik/Library/Preferences/Macromedia/Flash
> > > >> >Player/#Security/FlashPlayerTrust/flexUnit.cfg].
> > > >> > [flexunit] Executing 'open' with arguments:
> > > >> > [flexunit]
> > > >> >'/Users/erik/Documents/git/royale-asjs/frameworks/
> > > >> projects/Basic/src/test/
> > > >> >royale/FlexUnitRoyaleApplication.swf'
> > > >> > [flexunit]
> > > >> > [flexunit] The ' characters around the executable and
> arguments
> > are
> > > >> > [flexunit] not part of the command.
> > > >> > [flexunit]
> > > >> > [flexunit] Opening server socket on port [1024].
> > > >> > [flexunit] Waiting for client connection ...
> > > >> >
> > > >> >HTH,
> > > >> >
> > > >> >EdB
> > > >> >
> > > >> >
> > > >> >
> > > >> >On Tue, Dec 19, 2017 at 12:14 PM, Erik de Bruin <
> > e...@ixsoftware.nl>
> > > >> >wrote:
> > > >> >
> > > >> >> I get an error dialog from the swf being tested,
> "VerifyError:
> > Error
> > > >> >> #1014: Class IResponder could not be found.". When I
> dismiss
> > the
> > > >>dialog,
> > > >> >> test test times out and the ant build fails.
> > > >> >>
> > > >> >> EdB
> > > >> >>
> > > >> >>
> > > >> >>
> > > >> >> On Tue, Dec 19, 2017 at 11:25 AM, Alex Harui
> > > >>
> > > >> >> wrote:
> > > >> >>
> > > >> >>> What error do you get if you don't apply the workaround?
> > > >> >>>
> > > >> >>> -Alex
> > > >> >>>
> > > >> >>> On 12/19/17, 2:02 AM, "Erik de Bruin" <
> e...@ixsoftware.nl>
> > wrote:
> > > >> >>>
> > > >> >>> >Just to keep this fresh:
> > > >> >>> >
> > > >> >>> >This is still an issue, and the workaround below is
> required
> > for me
> > > >> >>>to be
> > > >> >>> >able to run 'ant' on the royale-asjs project...
> > > >> >>> >
> > > >> >>> >EdB
> > > >> >>> >
> > > >> >>> >
> > > >> >>

Re: Ant Build Problem

2018-09-07 Thread Alex Harui
  > > >> > [flexunit] toDir:
> > >> >[/Users/erik/Documents/git/royale-asjs/frameworks/
> > >> projects/Basic/src/test/
> > >> >royale/out]
> > >> > [flexunit] Setting up server process ...
> > >> > [flexunit] Starting server ...
> > >> > [flexunit] Entry
> > >> >[/Users/erik/Documents/git/royale-asjs/frameworks/
> > >> projects/Basic/src/test/
> > >> >royale]
> > >> >already available in local trust file at
> > >> >[/Users/erik/Library/Preferences/Macromedia/Flash
> > >> >Player/#Security/FlashPlayerTrust/flexUnit.cfg].
> > >> > [flexunit] Executing 'open' with arguments:
> > >> > [flexunit]
> > >> >'/Users/erik/Documents/git/royale-asjs/frameworks/
> > >> projects/Basic/src/test/
> > >> >royale/FlexUnitRoyaleApplication.swf'
> > >> > [flexunit]
> > >> > [flexunit] The ' characters around the executable and arguments
> are
> > >> > [flexunit] not part of the command.
> > >> > [flexunit]
> > >> > [flexunit] Opening server socket on port [1024].
> > >> > [flexunit] Waiting for client connection ...
> > >> >
> > >> >HTH,
> > >> >
> > >> >EdB
> > >> >
> > >> >
> > >> >
> > >> >On Tue, Dec 19, 2017 at 12:14 PM, Erik de Bruin <
> e...@ixsoftware.nl>
> > >> >wrote:
> > >> >
> > >> >> I get an error dialog from the swf being tested, "VerifyError:
> Error
> > >> >> #1014: Class IResponder could not be found.". When I dismiss
> the
> > >>dialog,
> > >> >> test test times out and the ant build fails.
> > >> >>
> > >> >> EdB
> > >> >>
> > >> >>
> > >> >>
> > >> >> On Tue, Dec 19, 2017 at 11:25 AM, Alex Harui
> > >>
> > >> >> wrote:
> > >> >>
> > >> >>> What error do you get if you don't apply the workaround?
> > >> >>>
> > >> >>> -Alex
> > >> >>>
> > >> >>> On 12/19/17, 2:02 AM, "Erik de Bruin" 
> wrote:
> > >> >>>
> > >> >>> >Just to keep this fresh:
> > >> >>> >
> > >> >>> >This is still an issue, and the workaround below is required
> for me
> > >> >>>to be
> > >> >>> >able to run 'ant' on the royale-asjs project...
> > >> >>> >
> > >> >>> >EdB
> > >> >>> >
> > >> >>> >
> > >> >>> >
> > >> >>> >On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin <
> e...@ixsoftware.nl
> > >
> > >> >>> wrote:
> > >> >>> >
> > >> >>> >> I did several fresh pulls of the repos yesterday while
> testing
> > >> >>>as2wasm
> > >> >>> >>and
> > >> >>> >> I can faithfully reproduce the issue(s). I can also
> reliably make
> > >> >>>it go
> > >> >>> >> away if I do these things:
> > >> >>> >>
> > >> >>> >> - comment out the ant task in the 'CoreTest' target in
> > >> >>> >>frameworks/build.xml
> > >> >>> >> - remove the 'test' dependency from the 'main' target in
> > >> >>> >> frameworks/projects/Basic/build.xml
> > >> >>> >>
> > >> >>> >> HTH,
> > >> >>> >>
> > >> >>> >> EdB

Re: Ant Build Problem

2018-09-07 Thread Carlos Rovira
ary/Preferences/Macromedia/Flash
> > >> >Player/#Security/FlashPlayerTrust/flexUnit.cfg].
> > >> > [flexunit] Executing 'open' with arguments:
> > >> > [flexunit]
> > >> >'/Users/erik/Documents/git/royale-asjs/frameworks/
> > >> projects/Basic/src/test/
> > >> >royale/FlexUnitRoyaleApplication.swf'
> > >> > [flexunit]
> > >> > [flexunit] The ' characters around the executable and arguments
> are
> > >> > [flexunit] not part of the command.
> > >> > [flexunit]
> > >> > [flexunit] Opening server socket on port [1024].
> > >> > [flexunit] Waiting for client connection ...
> > >> >
> > >> >HTH,
> > >> >
> > >> >EdB
> > >> >
> > >> >
> > >> >
> > >> >On Tue, Dec 19, 2017 at 12:14 PM, Erik de Bruin <
> e...@ixsoftware.nl>
> > >> >wrote:
> > >> >
> > >> >> I get an error dialog from the swf being tested, "VerifyError:
> Error
> > >> >> #1014: Class IResponder could not be found.". When I dismiss
> the
> > >>dialog,
> > >> >> test test times out and the ant build fails.
> > >> >>
> > >> >> EdB
> > >> >>
> > >> >>
> > >> >>
> > >> >> On Tue, Dec 19, 2017 at 11:25 AM, Alex Harui
> > >>
> > >> >> wrote:
> > >> >>
> > >> >>> What error do you get if you don't apply the workaround?
> > >> >>>
> > >> >>> -Alex
> > >> >>>
> > >> >>> On 12/19/17, 2:02 AM, "Erik de Bruin" 
> wrote:
> > >> >>>
> > >> >>> >Just to keep this fresh:
> > >> >>> >
> > >> >>> >This is still an issue, and the workaround below is required
> for me
> > >> >>>to be
> > >> >>> >able to run 'ant' on the royale-asjs project...
>     > >> >>> >
> > >> >>> >EdB
> > >> >>> >
> > >> >>> >
> > >> >>> >
> > >> >>> >On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin <
> e...@ixsoftware.nl
> > >
> > >> >>> wrote:
> > >> >>> >
> > >> >>> >> I did several fresh pulls of the repos yesterday while
> testing
> > >> >>>as2wasm
> > >> >>> >>and
> > >> >>> >> I can faithfully reproduce the issue(s). I can also
> reliably make
> > >> >>>it go
> > >> >>> >> away if I do these things:
> > >> >>> >>
> > >> >>> >> - comment out the ant task in the 'CoreTest' target in
> > >> >>> >>frameworks/build.xml
> > >> >>> >> - remove the 'test' dependency from the 'main' target in
> > >> >>> >> frameworks/projects/Basic/build.xml
> > >> >>> >>
> > >> >>> >> HTH,
> > >> >>> >>
> > >> >>> >> EdB
> > >> >>> >>
> > >> >>> >>
> > >> >>> >>
> > >> >>> >> On Thu, Nov 16, 2017 at 7:43 AM, Yishay Weiss
> > >> >>>
> > >> >>> >> wrote:
> > >> >>> >>
> > >> >>> >>> Thanks for the pointers Alex. Funnily I stopped getting
> it after
> > >> >>> >>>playing
> > >> >>> >>> around with some scripts, cleaning my changes and
> checking out
> > >>from
> > >> >>> >>>git the
> > >> >>> >>> unit tests aren’t being run anymore and so I’m not
> getting it.
> > >>I’ll
> > >> >>> >>>come
> > >> >>> >>> back to it when it starts itching again, but f

Re: Ant Build Problem

2018-09-07 Thread Alex Harui
 > >> >wrote:
> >> >
> >> >> I get an error dialog from the swf being tested, "VerifyError: Error
> >> >> #1014: Class IResponder could not be found.". When I dismiss the
> >>dialog,
> >> >> test test times out and the ant build fails.
> >> >>
> >> >> EdB
> >> >>
> >> >>
> >> >>
> >> >> On Tue, Dec 19, 2017 at 11:25 AM, Alex Harui
> >>
> >> >> wrote:
> >> >>
> >> >>> What error do you get if you don't apply the workaround?
> >> >>>
> >> >>> -Alex
> >> >>>
> >> >>> On 12/19/17, 2:02 AM, "Erik de Bruin"  wrote:
> >> >>>
> >> >>> >Just to keep this fresh:
> >> >>> >
> >> >>> >This is still an issue, and the workaround below is required for 
me
> >> >>>to be
> >> >>> >able to run 'ant' on the royale-asjs project...
> >> >>> >
> >> >>> >EdB
> >> >>> >
> >> >>> >
> >> >>> >
> >> >>> >On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin  >
> >> >>> wrote:
> >> >>> >
> >> >>> >> I did several fresh pulls of the repos yesterday while testing
> >> >>>as2wasm
> >> >>> >>and
> >> >>> >> I can faithfully reproduce the issue(s). I can also reliably 
make
> >> >>>it go
> >> >>> >> away if I do these things:
> >> >>> >>
> >> >>> >> - comment out the ant task in the 'CoreTest' target in
> >> >>> >>frameworks/build.xml
> >> >>> >> - remove the 'test' dependency from the 'main' target in
> >> >>> >> frameworks/projects/Basic/build.xml
> >> >>> >>
> >> >>> >> HTH,
> >> >>> >>
> >> >>> >> EdB
> >> >>> >>
> >> >>> >>
> >> >>> >>
> >> >>> >> On Thu, Nov 16, 2017 at 7:43 AM, Yishay Weiss
> >> >>>
> >> >>> >> wrote:
> >> >>> >>
> >> >>> >>> Thanks for the pointers Alex. Funnily I stopped getting it 
after
> >> >>> >>>playing
> >> >>> >>> around with some scripts, cleaning my changes and checking out
> >>from
> >> >>> >>>git the
> >> >>> >>> unit tests aren’t being run anymore and so I’m not getting it.
> >>I’ll
> >> >>> >>>come
> >> >>> >>> back to it when it starts itching again, but for now I can 
work.
> >> >>> >>>
> >> >>> >>>
> >> >>> >>>
> >> >>> >>> 
> >> >>> >>> From: Alex Harui 
> >> >>> >>> Sent: Wednesday, November 15, 2017 6:41:20 PM
> >> >>> >>> To: dev@royale.apache.org
> >> >>> >>> Subject: Re: Ant Build Problem
> >> >>> >>>
> >> >>> >>> My working copies are all torn up with the refactoring and I'd
> >> >>>prefer
> >> >>> >>>not
> >> >>> >>> to have to stop and build up another working copy to debug 
this,
> >> >>> >>>assuming
> >> >>> >>> I can even reproduce it.
> >> >>> >>>
> >> >>> >>> The factors are:
> >> >>> >>> -The compiler Ant tasks use ROYALE_COMPILER_HOME to find the
> >> >>>jsc.jar
> >> >>> to
> >> >>> >>> run
> >> >>> >>> -Looks like there are bugs in the scripts where
> >> >>>ROYALE_COMPILER_HOME
> >> >>> is
> >> &g

Re: Ant Build Problem

2018-09-07 Thread Carlos Rovira
02 AM, "Erik de Bruin"  wrote:
> >> >>>
> >> >>> >Just to keep this fresh:
> >> >>> >
> >> >>> >This is still an issue, and the workaround below is required for me
> >> >>>to be
> >> >>> >able to run 'ant' on the royale-asjs project...
> >> >>> >
> >> >>> >EdB
> >> >>> >
> >> >>> >
> >> >>> >
> >> >>> >On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin  >
> >> >>> wrote:
> >> >>> >
> >> >>> >> I did several fresh pulls of the repos yesterday while testing
> >> >>>as2wasm
> >> >>> >>and
> >> >>> >> I can faithfully reproduce the issue(s). I can also reliably make
> >> >>>it go
> >> >>> >> away if I do these things:
> >> >>> >>
> >> >>> >> - comment out the ant task in the 'CoreTest' target in
> >> >>> >>frameworks/build.xml
> >> >>> >> - remove the 'test' dependency from the 'main' target in
> >> >>> >> frameworks/projects/Basic/build.xml
> >> >>> >>
> >> >>> >> HTH,
> >> >>> >>
> >> >>> >> EdB
> >> >>> >>
> >> >>> >>
> >> >>> >>
> >> >>> >> On Thu, Nov 16, 2017 at 7:43 AM, Yishay Weiss
> >> >>>
> >> >>> >> wrote:
> >> >>> >>
> >> >>> >>> Thanks for the pointers Alex. Funnily I stopped getting it after
> >> >>> >>>playing
> >> >>> >>> around with some scripts, cleaning my changes and checking out
> >>from
> >> >>> >>>git the
> >> >>> >>> unit tests aren’t being run anymore and so I’m not getting it.
> >>I’ll
> >> >>> >>>come
> >> >>> >>> back to it when it starts itching again, but for now I can work.
> >> >>> >>>
> >> >>> >>>
> >> >>> >>>
> >> >>> >>> 
> >> >>> >>> From: Alex Harui 
> >> >>> >>> Sent: Wednesday, November 15, 2017 6:41:20 PM
> >> >>> >>> To: dev@royale.apache.org
> >> >>> >>> Subject: Re: Ant Build Problem
> >> >>> >>>
> >> >>> >>> My working copies are all torn up with the refactoring and I'd
> >> >>>prefer
> >> >>> >>>not
> >> >>> >>> to have to stop and build up another working copy to debug this,
> >> >>> >>>assuming
> >> >>> >>> I can even reproduce it.
> >> >>> >>>
> >> >>> >>> The factors are:
> >> >>> >>> -The compiler Ant tasks use ROYALE_COMPILER_HOME to find the
> >> >>>jsc.jar
> >> >>> to
> >> >>> >>> run
> >> >>> >>> -Looks like there are bugs in the scripts where
> >> >>>ROYALE_COMPILER_HOME
> >> >>> is
> >> >>> >>> not set by each script but maybe only the main script
> >> >>> >>> -The FlexUnit compile should be using
> >>frameworks/royale-config.xml
> >> >>> >>> -The royale-config.xml should have:
> >> >>> >>>   COMPILE::SWFAUTO >> define>
> >> >>> >>>
> >>COMPILE::JSAUTO
> >> >>> >>> -Recent (0.8.0 and later) compilers should convert AUTO to a
> >>valid
> >> >>> >>>value
> >> >>> >>> for the compile.
> >> >>> >>>
> >> >>> >>>
> >> >>> >>> HTH,
> >> >>> >>> -Alex
> >> >>> >>>
> >> >>> >>> On 11/15/17, 7:48 AM, "Erik de Bruin" 
> >>wrote:
> >> >>> >>>
> >> >>> >>> >I see the same issue! I am trying to write a quick tutorial for
> >> >>>the
> >>

Re: Ant Build Problem

2017-12-19 Thread Alex Harui
OK, try dumping the SWF and see who is referencing IResponder.

You can compare to a dump from a SWF on the CI server.  It might give us a
clue as to why you are getting different results.

-Alex

On 12/19/17, 10:54 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:

>"apache-flex-flexunit-4.2.0-4.12.0-bin.zip" is downloaded and unzipped to
>the 'royale-asjs/in' directory. I have no other FlexUnit on my system.
>
>EdB
>
>
>
>On Tue, Dec 19, 2017 at 7:47 PM, Alex Harui <aha...@adobe.com.invalid>
>wrote:
>
>> Erik,
>>
>> What FlexUnit are you running?  My guess is it is different than the one
>> the rest of are running.
>>
>> -Alex
>>
>> On 12/19/17, 3:15 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
>>
>> >Some more trace:
>> >
>> >Created dir:
>> >/Users/erik/Documents/git/royale-asjs/frameworks/
>> projects/Basic/src/test/r
>> >oyale/out
>> > [flexunit] Validating task attributes ...
>> > [flexunit] Generating default values ...
>> > [flexunit] Using the following settings for the test run:
>> > [flexunit] haltonfailure: [false]
>> > [flexunit] headless: [false]
>> > [flexunit] display: [99]
>> > [flexunit] localTrusted: [true]
>> > [flexunit] player: [flash]
>> > [flexunit] port: [1024]
>> > [flexunit] swf:
>> >[/Users/erik/Documents/git/royale-asjs/frameworks/
>> projects/Basic/src/test/
>> >royale/FlexUnitRoyaleApplication.swf]
>> > [flexunit] timeout: [9ms]
>> > [flexunit] toDir:
>> >[/Users/erik/Documents/git/royale-asjs/frameworks/
>> projects/Basic/src/test/
>> >royale/out]
>> > [flexunit] Setting up server process ...
>> > [flexunit] Starting server ...
>> > [flexunit] Entry
>> >[/Users/erik/Documents/git/royale-asjs/frameworks/
>> projects/Basic/src/test/
>> >royale]
>> >already available in local trust file at
>> >[/Users/erik/Library/Preferences/Macromedia/Flash
>> >Player/#Security/FlashPlayerTrust/flexUnit.cfg].
>> > [flexunit] Executing 'open' with arguments:
>> > [flexunit]
>> >'/Users/erik/Documents/git/royale-asjs/frameworks/
>> projects/Basic/src/test/
>> >royale/FlexUnitRoyaleApplication.swf'
>> > [flexunit]
>> > [flexunit] The ' characters around the executable and arguments are
>> > [flexunit] not part of the command.
>> > [flexunit]
>> > [flexunit] Opening server socket on port [1024].
>> > [flexunit] Waiting for client connection ...
>> >
>> >HTH,
>> >
>> >EdB
>> >
>> >
>> >
>> >On Tue, Dec 19, 2017 at 12:14 PM, Erik de Bruin <e...@ixsoftware.nl>
>> >wrote:
>> >
>> >> I get an error dialog from the swf being tested, "VerifyError: Error
>> >> #1014: Class IResponder could not be found.". When I dismiss the
>>dialog,
>> >> test test times out and the ant build fails.
>> >>
>> >> EdB
>> >>
>> >>
>> >>
>> >> On Tue, Dec 19, 2017 at 11:25 AM, Alex Harui
>><aha...@adobe.com.invalid>
>> >> wrote:
>> >>
>> >>> What error do you get if you don't apply the workaround?
>> >>>
>> >>> -Alex
>> >>>
>> >>> On 12/19/17, 2:02 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
>> >>>
>> >>> >Just to keep this fresh:
>> >>> >
>> >>> >This is still an issue, and the workaround below is required for me
>> >>>to be
>> >>> >able to run 'ant' on the royale-asjs project...
>> >>> >
>> >>> >EdB
>> >>> >
>> >>> >
>> >>> >
>> >>> >On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin <e...@ixsoftware.nl>
>> >>> wrote:
>> >>> >
>> >>> >> I did several fresh pulls of the repos yesterday while testing
>> >>>as2wasm
>> >>> >>and
>> >>> >> I can faithfully reproduce the issue(s). I can also reliably make
>> >>>it go
>> >>> >> away if I do these things:
>> >>> >>
>> >>> >> - comment out the ant task in the 'CoreTest' target in
>> >>> >>frameworks/build.xml
>> >>> >> - remove the 'test' dependency from the 'main' target in
>> >>

Re: Ant Build Problem

2017-12-19 Thread Erik de Bruin
"apache-flex-flexunit-4.2.0-4.12.0-bin.zip" is downloaded and unzipped to
the 'royale-asjs/in' directory. I have no other FlexUnit on my system.

EdB



On Tue, Dec 19, 2017 at 7:47 PM, Alex Harui <aha...@adobe.com.invalid>
wrote:

> Erik,
>
> What FlexUnit are you running?  My guess is it is different than the one
> the rest of are running.
>
> -Alex
>
> On 12/19/17, 3:15 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
>
> >Some more trace:
> >
> >Created dir:
> >/Users/erik/Documents/git/royale-asjs/frameworks/
> projects/Basic/src/test/r
> >oyale/out
> > [flexunit] Validating task attributes ...
> > [flexunit] Generating default values ...
> > [flexunit] Using the following settings for the test run:
> > [flexunit] haltonfailure: [false]
> > [flexunit] headless: [false]
> > [flexunit] display: [99]
> > [flexunit] localTrusted: [true]
> > [flexunit] player: [flash]
> > [flexunit] port: [1024]
> > [flexunit] swf:
> >[/Users/erik/Documents/git/royale-asjs/frameworks/
> projects/Basic/src/test/
> >royale/FlexUnitRoyaleApplication.swf]
> > [flexunit] timeout: [9ms]
> > [flexunit] toDir:
> >[/Users/erik/Documents/git/royale-asjs/frameworks/
> projects/Basic/src/test/
> >royale/out]
> > [flexunit] Setting up server process ...
> > [flexunit] Starting server ...
> > [flexunit] Entry
> >[/Users/erik/Documents/git/royale-asjs/frameworks/
> projects/Basic/src/test/
> >royale]
> >already available in local trust file at
> >[/Users/erik/Library/Preferences/Macromedia/Flash
> >Player/#Security/FlashPlayerTrust/flexUnit.cfg].
> > [flexunit] Executing 'open' with arguments:
> > [flexunit]
> >'/Users/erik/Documents/git/royale-asjs/frameworks/
> projects/Basic/src/test/
> >royale/FlexUnitRoyaleApplication.swf'
> > [flexunit]
> > [flexunit] The ' characters around the executable and arguments are
> > [flexunit] not part of the command.
> > [flexunit]
> > [flexunit] Opening server socket on port [1024].
> > [flexunit] Waiting for client connection ...
> >
> >HTH,
> >
> >EdB
> >
> >
> >
> >On Tue, Dec 19, 2017 at 12:14 PM, Erik de Bruin <e...@ixsoftware.nl>
> >wrote:
> >
> >> I get an error dialog from the swf being tested, "VerifyError: Error
> >> #1014: Class IResponder could not be found.". When I dismiss the dialog,
> >> test test times out and the ant build fails.
> >>
> >> EdB
> >>
> >>
> >>
> >> On Tue, Dec 19, 2017 at 11:25 AM, Alex Harui <aha...@adobe.com.invalid>
> >> wrote:
> >>
> >>> What error do you get if you don't apply the workaround?
> >>>
> >>> -Alex
> >>>
> >>> On 12/19/17, 2:02 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
> >>>
> >>> >Just to keep this fresh:
> >>> >
> >>> >This is still an issue, and the workaround below is required for me
> >>>to be
> >>> >able to run 'ant' on the royale-asjs project...
> >>> >
> >>> >EdB
> >>> >
> >>> >
> >>> >
> >>> >On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin <e...@ixsoftware.nl>
> >>> wrote:
> >>> >
> >>> >> I did several fresh pulls of the repos yesterday while testing
> >>>as2wasm
> >>> >>and
> >>> >> I can faithfully reproduce the issue(s). I can also reliably make
> >>>it go
> >>> >> away if I do these things:
> >>> >>
> >>> >> - comment out the ant task in the 'CoreTest' target in
> >>> >>frameworks/build.xml
> >>> >> - remove the 'test' dependency from the 'main' target in
> >>> >> frameworks/projects/Basic/build.xml
> >>> >>
> >>> >> HTH,
> >>> >>
> >>> >> EdB
> >>> >>
> >>> >>
> >>> >>
> >>> >> On Thu, Nov 16, 2017 at 7:43 AM, Yishay Weiss
> >>><yishayj...@hotmail.com>
> >>> >> wrote:
> >>> >>
> >>> >>> Thanks for the pointers Alex. Funnily I stopped getting it after
> >>> >>>playing
> >>> >>> around with some scripts, cleaning my changes and checking out from
> >>> >>>git the
> >>> >>> unit t

Re: Ant Build Problem

2017-12-19 Thread Alex Harui
Erik, 

What FlexUnit are you running?  My guess is it is different than the one
the rest of are running.

-Alex

On 12/19/17, 3:15 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:

>Some more trace:
>
>Created dir:
>/Users/erik/Documents/git/royale-asjs/frameworks/projects/Basic/src/test/r
>oyale/out
> [flexunit] Validating task attributes ...
> [flexunit] Generating default values ...
> [flexunit] Using the following settings for the test run:
> [flexunit] haltonfailure: [false]
> [flexunit] headless: [false]
> [flexunit] display: [99]
> [flexunit] localTrusted: [true]
> [flexunit] player: [flash]
> [flexunit] port: [1024]
> [flexunit] swf:
>[/Users/erik/Documents/git/royale-asjs/frameworks/projects/Basic/src/test/
>royale/FlexUnitRoyaleApplication.swf]
> [flexunit] timeout: [9ms]
> [flexunit] toDir:
>[/Users/erik/Documents/git/royale-asjs/frameworks/projects/Basic/src/test/
>royale/out]
> [flexunit] Setting up server process ...
> [flexunit] Starting server ...
> [flexunit] Entry
>[/Users/erik/Documents/git/royale-asjs/frameworks/projects/Basic/src/test/
>royale]
>already available in local trust file at
>[/Users/erik/Library/Preferences/Macromedia/Flash
>Player/#Security/FlashPlayerTrust/flexUnit.cfg].
> [flexunit] Executing 'open' with arguments:
> [flexunit]
>'/Users/erik/Documents/git/royale-asjs/frameworks/projects/Basic/src/test/
>royale/FlexUnitRoyaleApplication.swf'
> [flexunit]
> [flexunit] The ' characters around the executable and arguments are
> [flexunit] not part of the command.
> [flexunit]
> [flexunit] Opening server socket on port [1024].
> [flexunit] Waiting for client connection ...
>
>HTH,
>
>EdB
>
>
>
>On Tue, Dec 19, 2017 at 12:14 PM, Erik de Bruin <e...@ixsoftware.nl>
>wrote:
>
>> I get an error dialog from the swf being tested, "VerifyError: Error
>> #1014: Class IResponder could not be found.". When I dismiss the dialog,
>> test test times out and the ant build fails.
>>
>> EdB
>>
>>
>>
>> On Tue, Dec 19, 2017 at 11:25 AM, Alex Harui <aha...@adobe.com.invalid>
>> wrote:
>>
>>> What error do you get if you don't apply the workaround?
>>>
>>> -Alex
>>>
>>> On 12/19/17, 2:02 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
>>>
>>> >Just to keep this fresh:
>>> >
>>> >This is still an issue, and the workaround below is required for me
>>>to be
>>> >able to run 'ant' on the royale-asjs project...
>>> >
>>> >EdB
>>> >
>>> >
>>> >
>>> >On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin <e...@ixsoftware.nl>
>>> wrote:
>>> >
>>> >> I did several fresh pulls of the repos yesterday while testing
>>>as2wasm
>>> >>and
>>> >> I can faithfully reproduce the issue(s). I can also reliably make
>>>it go
>>> >> away if I do these things:
>>> >>
>>> >> - comment out the ant task in the 'CoreTest' target in
>>> >>frameworks/build.xml
>>> >> - remove the 'test' dependency from the 'main' target in
>>> >> frameworks/projects/Basic/build.xml
>>> >>
>>> >> HTH,
>>> >>
>>> >> EdB
>>> >>
>>> >>
>>> >>
>>> >> On Thu, Nov 16, 2017 at 7:43 AM, Yishay Weiss
>>><yishayj...@hotmail.com>
>>> >> wrote:
>>> >>
>>> >>> Thanks for the pointers Alex. Funnily I stopped getting it after
>>> >>>playing
>>> >>> around with some scripts, cleaning my changes and checking out from
>>> >>>git the
>>> >>> unit tests aren’t being run anymore and so I’m not getting it. I’ll
>>> >>>come
>>> >>> back to it when it starts itching again, but for now I can work.
>>> >>>
>>> >>>
>>> >>>
>>> >>> 
>>> >>> From: Alex Harui <aha...@adobe.com.INVALID>
>>> >>> Sent: Wednesday, November 15, 2017 6:41:20 PM
>>> >>> To: dev@royale.apache.org
>>> >>> Subject: Re: Ant Build Problem
>>> >>>
>>> >>> My working copies are all torn up with the refactoring and I'd
>>>prefer
>>> >>>not
>>> >>> to have to stop and build up another working copy to debug this,
>>> >>&g

Re: Ant Build Problem

2017-12-19 Thread Erik de Bruin
Some more trace:

Created dir:
/Users/erik/Documents/git/royale-asjs/frameworks/projects/Basic/src/test/royale/out
 [flexunit] Validating task attributes ...
 [flexunit] Generating default values ...
 [flexunit] Using the following settings for the test run:
 [flexunit] haltonfailure: [false]
 [flexunit] headless: [false]
 [flexunit] display: [99]
 [flexunit] localTrusted: [true]
 [flexunit] player: [flash]
 [flexunit] port: [1024]
 [flexunit] swf:
[/Users/erik/Documents/git/royale-asjs/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication.swf]
 [flexunit] timeout: [9ms]
 [flexunit] toDir:
[/Users/erik/Documents/git/royale-asjs/frameworks/projects/Basic/src/test/royale/out]
 [flexunit] Setting up server process ...
 [flexunit] Starting server ...
 [flexunit] Entry
[/Users/erik/Documents/git/royale-asjs/frameworks/projects/Basic/src/test/royale]
already available in local trust file at
[/Users/erik/Library/Preferences/Macromedia/Flash
Player/#Security/FlashPlayerTrust/flexUnit.cfg].
 [flexunit] Executing 'open' with arguments:
 [flexunit]
'/Users/erik/Documents/git/royale-asjs/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication.swf'
 [flexunit]
 [flexunit] The ' characters around the executable and arguments are
 [flexunit] not part of the command.
 [flexunit]
 [flexunit] Opening server socket on port [1024].
 [flexunit] Waiting for client connection ...

HTH,

EdB



On Tue, Dec 19, 2017 at 12:14 PM, Erik de Bruin <e...@ixsoftware.nl> wrote:

> I get an error dialog from the swf being tested, "VerifyError: Error
> #1014: Class IResponder could not be found.". When I dismiss the dialog,
> test test times out and the ant build fails.
>
> EdB
>
>
>
> On Tue, Dec 19, 2017 at 11:25 AM, Alex Harui <aha...@adobe.com.invalid>
> wrote:
>
>> What error do you get if you don't apply the workaround?
>>
>> -Alex
>>
>> On 12/19/17, 2:02 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
>>
>> >Just to keep this fresh:
>> >
>> >This is still an issue, and the workaround below is required for me to be
>> >able to run 'ant' on the royale-asjs project...
>> >
>> >EdB
>> >
>> >
>> >
>> >On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin <e...@ixsoftware.nl>
>> wrote:
>> >
>> >> I did several fresh pulls of the repos yesterday while testing as2wasm
>> >>and
>> >> I can faithfully reproduce the issue(s). I can also reliably make it go
>> >> away if I do these things:
>> >>
>> >> - comment out the ant task in the 'CoreTest' target in
>> >>frameworks/build.xml
>> >> - remove the 'test' dependency from the 'main' target in
>> >> frameworks/projects/Basic/build.xml
>> >>
>> >> HTH,
>> >>
>> >> EdB
>> >>
>> >>
>> >>
>> >> On Thu, Nov 16, 2017 at 7:43 AM, Yishay Weiss <yishayj...@hotmail.com>
>> >> wrote:
>> >>
>> >>> Thanks for the pointers Alex. Funnily I stopped getting it after
>> >>>playing
>> >>> around with some scripts, cleaning my changes and checking out from
>> >>>git the
>> >>> unit tests aren’t being run anymore and so I’m not getting it. I’ll
>> >>>come
>> >>> back to it when it starts itching again, but for now I can work.
>> >>>
>> >>>
>> >>>
>> >>> 
>> >>> From: Alex Harui <aha...@adobe.com.INVALID>
>> >>> Sent: Wednesday, November 15, 2017 6:41:20 PM
>> >>> To: dev@royale.apache.org
>> >>> Subject: Re: Ant Build Problem
>> >>>
>> >>> My working copies are all torn up with the refactoring and I'd prefer
>> >>>not
>> >>> to have to stop and build up another working copy to debug this,
>> >>>assuming
>> >>> I can even reproduce it.
>> >>>
>> >>> The factors are:
>> >>> -The compiler Ant tasks use ROYALE_COMPILER_HOME to find the jsc.jar
>> to
>> >>> run
>> >>> -Looks like there are bugs in the scripts where ROYALE_COMPILER_HOME
>> is
>> >>> not set by each script but maybe only the main script
>> >>> -The FlexUnit compile should be using frameworks/royale-config.xml
>> >>> -The royale-config.xml should have:
>> >>>   COMPILE::SWFAUTO
>> >>>   COMPILE::JSAUTO
>> >>> -Recent (0.8.0 and later) co

Re: Ant Build Problem

2017-12-19 Thread Erik de Bruin
I get an error dialog from the swf being tested, "VerifyError: Error #1014:
Class IResponder could not be found.". When I dismiss the dialog, test test
times out and the ant build fails.

EdB



On Tue, Dec 19, 2017 at 11:25 AM, Alex Harui <aha...@adobe.com.invalid>
wrote:

> What error do you get if you don't apply the workaround?
>
> -Alex
>
> On 12/19/17, 2:02 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
>
> >Just to keep this fresh:
> >
> >This is still an issue, and the workaround below is required for me to be
> >able to run 'ant' on the royale-asjs project...
> >
> >EdB
> >
> >
> >
> >On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin <e...@ixsoftware.nl>
> wrote:
> >
> >> I did several fresh pulls of the repos yesterday while testing as2wasm
> >>and
> >> I can faithfully reproduce the issue(s). I can also reliably make it go
> >> away if I do these things:
> >>
> >> - comment out the ant task in the 'CoreTest' target in
> >>frameworks/build.xml
> >> - remove the 'test' dependency from the 'main' target in
> >> frameworks/projects/Basic/build.xml
> >>
> >> HTH,
> >>
> >> EdB
> >>
> >>
> >>
> >> On Thu, Nov 16, 2017 at 7:43 AM, Yishay Weiss <yishayj...@hotmail.com>
> >> wrote:
> >>
> >>> Thanks for the pointers Alex. Funnily I stopped getting it after
> >>>playing
> >>> around with some scripts, cleaning my changes and checking out from
> >>>git the
> >>> unit tests aren’t being run anymore and so I’m not getting it. I’ll
> >>>come
> >>> back to it when it starts itching again, but for now I can work.
> >>>
> >>>
> >>>
> >>> 
> >>> From: Alex Harui <aha...@adobe.com.INVALID>
> >>> Sent: Wednesday, November 15, 2017 6:41:20 PM
> >>> To: dev@royale.apache.org
> >>> Subject: Re: Ant Build Problem
> >>>
> >>> My working copies are all torn up with the refactoring and I'd prefer
> >>>not
> >>> to have to stop and build up another working copy to debug this,
> >>>assuming
> >>> I can even reproduce it.
> >>>
> >>> The factors are:
> >>> -The compiler Ant tasks use ROYALE_COMPILER_HOME to find the jsc.jar to
> >>> run
> >>> -Looks like there are bugs in the scripts where ROYALE_COMPILER_HOME is
> >>> not set by each script but maybe only the main script
> >>> -The FlexUnit compile should be using frameworks/royale-config.xml
> >>> -The royale-config.xml should have:
> >>>   COMPILE::SWFAUTO
> >>>   COMPILE::JSAUTO
> >>> -Recent (0.8.0 and later) compilers should convert AUTO to a valid
> >>>value
> >>> for the compile.
> >>>
> >>>
> >>> HTH,
> >>> -Alex
> >>>
> >>> On 11/15/17, 7:48 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
> >>>
> >>> >I see the same issue! I am trying to write a quick tutorial for the
> >>>new
> >>> >wasm code, but I still can't successfully run "ant super-clean all" on
> >>> >royale-asjs... Please help?
> >>> >
> >>> >compile:
> >>> > [echo] Compiling FlexUnitRoyaleApplication.swf
> >>> > [echo] ROYALE_HOME: /Users/erik/Desktop/tmp/royale-asjs
> >>> > [echo] ROYALE_SWF_COMPILER_HOME: /Users/erik/Desktop/tmp/royale
> >>> -asjs
> >>> > [echo] FLEXUNIT_HOME: /Users/erik/Desktop/tmp/royale
> >>> -asjs/in/flexunit
> >>> > [echo] playerglobal.version: 11.1
> >>> >[mxmlc] MXMLJSC
> >>> >[mxmlc] -debug
> >>> >[mxmlc] -compiler.targets=SWF
> >>> >[mxmlc] +playerglobal.version=11.1
> >>> >[mxmlc]
> >>>
> >>>>+env.PLAYERGLOBAL_HOME=/Users/erik/Documents/Royale/
> PlayerGlobal/player
> >>> >[mxmlc]
> >>> >-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/
> frameworks/libs
> >>> >[mxmlc]
> >>> >-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/in/
> >>> flexunit/flexuni
> >>> >t
> >>> >[mxmlc] -define=CONFIG::dummy,false
> >>> >[mxmlc] +royalelib=/Users/erik/Desktop/tmp/ro

Re: Ant Build Problem

2017-12-19 Thread Alex Harui
What error do you get if you don't apply the workaround?

-Alex

On 12/19/17, 2:02 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:

>Just to keep this fresh:
>
>This is still an issue, and the workaround below is required for me to be
>able to run 'ant' on the royale-asjs project...
>
>EdB
>
>
>
>On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin <e...@ixsoftware.nl> wrote:
>
>> I did several fresh pulls of the repos yesterday while testing as2wasm
>>and
>> I can faithfully reproduce the issue(s). I can also reliably make it go
>> away if I do these things:
>>
>> - comment out the ant task in the 'CoreTest' target in
>>frameworks/build.xml
>> - remove the 'test' dependency from the 'main' target in
>> frameworks/projects/Basic/build.xml
>>
>> HTH,
>>
>> EdB
>>
>>
>>
>> On Thu, Nov 16, 2017 at 7:43 AM, Yishay Weiss <yishayj...@hotmail.com>
>> wrote:
>>
>>> Thanks for the pointers Alex. Funnily I stopped getting it after
>>>playing
>>> around with some scripts, cleaning my changes and checking out from
>>>git the
>>> unit tests aren’t being run anymore and so I’m not getting it. I’ll
>>>come
>>> back to it when it starts itching again, but for now I can work.
>>>
>>>
>>>
>>> 
>>> From: Alex Harui <aha...@adobe.com.INVALID>
>>> Sent: Wednesday, November 15, 2017 6:41:20 PM
>>> To: dev@royale.apache.org
>>> Subject: Re: Ant Build Problem
>>>
>>> My working copies are all torn up with the refactoring and I'd prefer
>>>not
>>> to have to stop and build up another working copy to debug this,
>>>assuming
>>> I can even reproduce it.
>>>
>>> The factors are:
>>> -The compiler Ant tasks use ROYALE_COMPILER_HOME to find the jsc.jar to
>>> run
>>> -Looks like there are bugs in the scripts where ROYALE_COMPILER_HOME is
>>> not set by each script but maybe only the main script
>>> -The FlexUnit compile should be using frameworks/royale-config.xml
>>> -The royale-config.xml should have:
>>>   COMPILE::SWFAUTO
>>>   COMPILE::JSAUTO
>>> -Recent (0.8.0 and later) compilers should convert AUTO to a valid
>>>value
>>> for the compile.
>>>
>>>
>>> HTH,
>>> -Alex
>>>
>>> On 11/15/17, 7:48 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
>>>
>>> >I see the same issue! I am trying to write a quick tutorial for the
>>>new
>>> >wasm code, but I still can't successfully run "ant super-clean all" on
>>> >royale-asjs... Please help?
>>> >
>>> >compile:
>>> > [echo] Compiling FlexUnitRoyaleApplication.swf
>>> > [echo] ROYALE_HOME: /Users/erik/Desktop/tmp/royale-asjs
>>> > [echo] ROYALE_SWF_COMPILER_HOME: /Users/erik/Desktop/tmp/royale
>>> -asjs
>>> > [echo] FLEXUNIT_HOME: /Users/erik/Desktop/tmp/royale
>>> -asjs/in/flexunit
>>> > [echo] playerglobal.version: 11.1
>>> >[mxmlc] MXMLJSC
>>> >[mxmlc] -debug
>>> >[mxmlc] -compiler.targets=SWF
>>> >[mxmlc] +playerglobal.version=11.1
>>> >[mxmlc]
>>> 
>>>>+env.PLAYERGLOBAL_HOME=/Users/erik/Documents/Royale/PlayerGlobal/player
>>> >[mxmlc]
>>> >-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/frameworks/libs
>>> >[mxmlc]
>>> >-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/in/
>>> flexunit/flexuni
>>> >t
>>> >[mxmlc] -define=CONFIG::dummy,false
>>> >[mxmlc] +royalelib=/Users/erik/Desktop/tmp/royale-asjs/frameworks/
>>> >[mxmlc]
>>> >-output=/Users/erik/Desktop/tmp/royale-asjs/frameworks/proj
>>> ects/Core/src/t
>>> >est/royale/FlexUnitRoyaleApplication.swf
>>> >[mxmlc] --
>>> >[mxmlc]
>>> >/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/
>>> Core/src/test/roya
>>> >le/FlexUnitRoyaleApplication.mxml
>>> >[mxmlc] Loading configuration:
>>> >/Users/erik/Desktop/tmp/royale-asjs/frameworks/royale-config.xml
>>> >[mxmlc]
>>> >[mxmlc] scanning for overrides: IFlexInfo
>>> >
>>> >
>>> >
>>> >[mxmlc] scanning for overrides: StringTrimmer
>>> >[mxmlc] 2.498695566 

Re: Ant Build Problem

2017-12-19 Thread Erik de Bruin
Just to keep this fresh:

This is still an issue, and the workaround below is required for me to be
able to run 'ant' on the royale-asjs project...

EdB



On Thu, Nov 16, 2017 at 8:01 AM, Erik de Bruin <e...@ixsoftware.nl> wrote:

> I did several fresh pulls of the repos yesterday while testing as2wasm and
> I can faithfully reproduce the issue(s). I can also reliably make it go
> away if I do these things:
>
> - comment out the ant task in the 'CoreTest' target in frameworks/build.xml
> - remove the 'test' dependency from the 'main' target in
> frameworks/projects/Basic/build.xml
>
> HTH,
>
> EdB
>
>
>
> On Thu, Nov 16, 2017 at 7:43 AM, Yishay Weiss <yishayj...@hotmail.com>
> wrote:
>
>> Thanks for the pointers Alex. Funnily I stopped getting it after playing
>> around with some scripts, cleaning my changes and checking out from git the
>> unit tests aren’t being run anymore and so I’m not getting it. I’ll come
>> back to it when it starts itching again, but for now I can work.
>>
>>
>>
>> 
>> From: Alex Harui <aha...@adobe.com.INVALID>
>> Sent: Wednesday, November 15, 2017 6:41:20 PM
>> To: dev@royale.apache.org
>> Subject: Re: Ant Build Problem
>>
>> My working copies are all torn up with the refactoring and I'd prefer not
>> to have to stop and build up another working copy to debug this, assuming
>> I can even reproduce it.
>>
>> The factors are:
>> -The compiler Ant tasks use ROYALE_COMPILER_HOME to find the jsc.jar to
>> run
>> -Looks like there are bugs in the scripts where ROYALE_COMPILER_HOME is
>> not set by each script but maybe only the main script
>> -The FlexUnit compile should be using frameworks/royale-config.xml
>> -The royale-config.xml should have:
>>   COMPILE::SWFAUTO
>>   COMPILE::JSAUTO
>> -Recent (0.8.0 and later) compilers should convert AUTO to a valid value
>> for the compile.
>>
>>
>> HTH,
>> -Alex
>>
>> On 11/15/17, 7:48 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
>>
>> >I see the same issue! I am trying to write a quick tutorial for the new
>> >wasm code, but I still can't successfully run "ant super-clean all" on
>> >royale-asjs... Please help?
>> >
>> >compile:
>> > [echo] Compiling FlexUnitRoyaleApplication.swf
>> > [echo] ROYALE_HOME: /Users/erik/Desktop/tmp/royale-asjs
>> > [echo] ROYALE_SWF_COMPILER_HOME: /Users/erik/Desktop/tmp/royale
>> -asjs
>> > [echo] FLEXUNIT_HOME: /Users/erik/Desktop/tmp/royale
>> -asjs/in/flexunit
>> > [echo] playerglobal.version: 11.1
>> >[mxmlc] MXMLJSC
>> >[mxmlc] -debug
>> >[mxmlc] -compiler.targets=SWF
>> >[mxmlc] +playerglobal.version=11.1
>> >[mxmlc]
>> >+env.PLAYERGLOBAL_HOME=/Users/erik/Documents/Royale/PlayerGlobal/player
>> >[mxmlc]
>> >-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/frameworks/libs
>> >[mxmlc]
>> >-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/in/
>> flexunit/flexuni
>> >t
>> >[mxmlc] -define=CONFIG::dummy,false
>> >[mxmlc] +royalelib=/Users/erik/Desktop/tmp/royale-asjs/frameworks/
>> >[mxmlc]
>> >-output=/Users/erik/Desktop/tmp/royale-asjs/frameworks/proj
>> ects/Core/src/t
>> >est/royale/FlexUnitRoyaleApplication.swf
>> >[mxmlc] --
>> >[mxmlc]
>> >/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/
>> Core/src/test/roya
>> >le/FlexUnitRoyaleApplication.mxml
>> >[mxmlc] Loading configuration:
>> >/Users/erik/Desktop/tmp/royale-asjs/frameworks/royale-config.xml
>> >[mxmlc]
>> >[mxmlc] scanning for overrides: IFlexInfo
>> >
>> >
>> >
>> >[mxmlc] scanning for overrides: StringTrimmer
>> >[mxmlc] 2.498695566 seconds
>> >[mxmlc]
>> >/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/
>> Core/src/test/roya
>> >le/flexUnitTests/KeyboardEventConverterTest.as(23):
>> >col: 5 Error: Can not resolve config constant: 'SWF'
>> >[mxmlc]
>> >[mxmlc] COMPILE::SWF
>> >[mxmlc] ^
>> >[mxmlc]
>> >[mxmlc]
>> >/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/
>> Core/src/test/roya
>> >le/flexUnitTests/KeyboardEventConverterTest.as(56):
>> >col: 13 Error: Can not resolve config constant: 'SWF'
>> >[mxmlc]
>> >[mxml

Re: Ant Build Problem

2017-11-15 Thread Erik de Bruin
I did several fresh pulls of the repos yesterday while testing as2wasm and
I can faithfully reproduce the issue(s). I can also reliably make it go
away if I do these things:

- comment out the ant task in the 'CoreTest' target in frameworks/build.xml
- remove the 'test' dependency from the 'main' target in
frameworks/projects/Basic/build.xml

HTH,

EdB



On Thu, Nov 16, 2017 at 7:43 AM, Yishay Weiss <yishayj...@hotmail.com>
wrote:

> Thanks for the pointers Alex. Funnily I stopped getting it after playing
> around with some scripts, cleaning my changes and checking out from git the
> unit tests aren’t being run anymore and so I’m not getting it. I’ll come
> back to it when it starts itching again, but for now I can work.
>
>
>
> 
> From: Alex Harui <aha...@adobe.com.INVALID>
> Sent: Wednesday, November 15, 2017 6:41:20 PM
> To: dev@royale.apache.org
> Subject: Re: Ant Build Problem
>
> My working copies are all torn up with the refactoring and I'd prefer not
> to have to stop and build up another working copy to debug this, assuming
> I can even reproduce it.
>
> The factors are:
> -The compiler Ant tasks use ROYALE_COMPILER_HOME to find the jsc.jar to run
> -Looks like there are bugs in the scripts where ROYALE_COMPILER_HOME is
> not set by each script but maybe only the main script
> -The FlexUnit compile should be using frameworks/royale-config.xml
> -The royale-config.xml should have:
>   COMPILE::SWFAUTO
>   COMPILE::JSAUTO
> -Recent (0.8.0 and later) compilers should convert AUTO to a valid value
> for the compile.
>
>
> HTH,
> -Alex
>
> On 11/15/17, 7:48 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
>
> >I see the same issue! I am trying to write a quick tutorial for the new
> >wasm code, but I still can't successfully run "ant super-clean all" on
> >royale-asjs... Please help?
> >
> >compile:
> > [echo] Compiling FlexUnitRoyaleApplication.swf
> > [echo] ROYALE_HOME: /Users/erik/Desktop/tmp/royale-asjs
> > [echo] ROYALE_SWF_COMPILER_HOME: /Users/erik/Desktop/tmp/royale-asjs
> > [echo] FLEXUNIT_HOME: /Users/erik/Desktop/tmp/
> royale-asjs/in/flexunit
> > [echo] playerglobal.version: 11.1
> >[mxmlc] MXMLJSC
> >[mxmlc] -debug
> >[mxmlc] -compiler.targets=SWF
> >[mxmlc] +playerglobal.version=11.1
> >[mxmlc]
> >+env.PLAYERGLOBAL_HOME=/Users/erik/Documents/Royale/PlayerGlobal/player
> >[mxmlc]
> >-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/frameworks/libs
> >[mxmlc]
> >-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/
> in/flexunit/flexuni
> >t
> >[mxmlc] -define=CONFIG::dummy,false
> >[mxmlc] +royalelib=/Users/erik/Desktop/tmp/royale-asjs/frameworks/
> >[mxmlc]
> >-output=/Users/erik/Desktop/tmp/royale-asjs/frameworks/
> projects/Core/src/t
> >est/royale/FlexUnitRoyaleApplication.swf
> >[mxmlc] --
> >[mxmlc]
> >/Users/erik/Desktop/tmp/royale-asjs/frameworks/
> projects/Core/src/test/roya
> >le/FlexUnitRoyaleApplication.mxml
> >[mxmlc] Loading configuration:
> >/Users/erik/Desktop/tmp/royale-asjs/frameworks/royale-config.xml
> >[mxmlc]
> >[mxmlc] scanning for overrides: IFlexInfo
> >
> >
> >
> >[mxmlc] scanning for overrides: StringTrimmer
> >[mxmlc] 2.498695566 seconds
> >[mxmlc]
> >/Users/erik/Desktop/tmp/royale-asjs/frameworks/
> projects/Core/src/test/roya
> >le/flexUnitTests/KeyboardEventConverterTest.as(23):
> >col: 5 Error: Can not resolve config constant: 'SWF'
> >[mxmlc]
> >[mxmlc] COMPILE::SWF
> >[mxmlc] ^
> >[mxmlc]
> >[mxmlc]
> >/Users/erik/Desktop/tmp/royale-asjs/frameworks/
> projects/Core/src/test/roya
> >le/flexUnitTests/KeyboardEventConverterTest.as(56):
> >col: 13 Error: Can not resolve config constant: 'SWF'
> >[mxmlc]
> >[mxmlc] COMPILE::SWF{
> >[mxmlc] ^
> >[mxmlc]
> >[mxmlc]
> >/Users/erik/Desktop/tmp/royale-asjs/frameworks/
> projects/Core/src/test/roya
> >le/flexUnitTests/KeyboardEventConverterTest.as(68):
> >col: 13 Error: Can not resolve config constant: 'JS'
> >[mxmlc]
> >[mxmlc] COMPILE::JS{
> >[mxmlc] ^
> >[mxmlc]
> >[mxmlc]
> >/Users/erik/Desktop/tmp/royale-asjs/in/flexunit/
> flexunit/flexunit-4.2.0-20
> >140410-flex_4.12.0.swc
> >Warning: The definition mx.rpc.IResponder depended on by
> >org.flexunit.async.IAsyncTestResponder in the SWC
&

RE: Ant Build Problem

2017-11-15 Thread Yishay Weiss
Thanks for the pointers Alex. Funnily I stopped getting it after playing around 
with some scripts, cleaning my changes and checking out from git the unit tests 
aren’t being run anymore and so I’m not getting it. I’ll come back to it when 
it starts itching again, but for now I can work.




From: Alex Harui <aha...@adobe.com.INVALID>
Sent: Wednesday, November 15, 2017 6:41:20 PM
To: dev@royale.apache.org
Subject: Re: Ant Build Problem

My working copies are all torn up with the refactoring and I'd prefer not
to have to stop and build up another working copy to debug this, assuming
I can even reproduce it.

The factors are:
-The compiler Ant tasks use ROYALE_COMPILER_HOME to find the jsc.jar to run
-Looks like there are bugs in the scripts where ROYALE_COMPILER_HOME is
not set by each script but maybe only the main script
-The FlexUnit compile should be using frameworks/royale-config.xml
-The royale-config.xml should have:
  COMPILE::SWFAUTO
  COMPILE::JSAUTO
-Recent (0.8.0 and later) compilers should convert AUTO to a valid value
for the compile.


HTH,
-Alex

On 11/15/17, 7:48 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:

>I see the same issue! I am trying to write a quick tutorial for the new
>wasm code, but I still can't successfully run "ant super-clean all" on
>royale-asjs... Please help?
>
>compile:
> [echo] Compiling FlexUnitRoyaleApplication.swf
> [echo] ROYALE_HOME: /Users/erik/Desktop/tmp/royale-asjs
> [echo] ROYALE_SWF_COMPILER_HOME: /Users/erik/Desktop/tmp/royale-asjs
> [echo] FLEXUNIT_HOME: /Users/erik/Desktop/tmp/royale-asjs/in/flexunit
> [echo] playerglobal.version: 11.1
>[mxmlc] MXMLJSC
>[mxmlc] -debug
>[mxmlc] -compiler.targets=SWF
>[mxmlc] +playerglobal.version=11.1
>[mxmlc]
>+env.PLAYERGLOBAL_HOME=/Users/erik/Documents/Royale/PlayerGlobal/player
>[mxmlc]
>-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/frameworks/libs
>[mxmlc]
>-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/in/flexunit/flexuni
>t
>[mxmlc] -define=CONFIG::dummy,false
>[mxmlc] +royalelib=/Users/erik/Desktop/tmp/royale-asjs/frameworks/
>[mxmlc]
>-output=/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/t
>est/royale/FlexUnitRoyaleApplication.swf
>[mxmlc] --
>[mxmlc]
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/FlexUnitRoyaleApplication.mxml
>[mxmlc] Loading configuration:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/royale-config.xml
>[mxmlc]
>[mxmlc] scanning for overrides: IFlexInfo
>
>
>
>[mxmlc] scanning for overrides: StringTrimmer
>[mxmlc] 2.498695566 seconds
>[mxmlc]
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/flexUnitTests/KeyboardEventConverterTest.as(23):
>col: 5 Error: Can not resolve config constant: 'SWF'
>[mxmlc]
>[mxmlc] COMPILE::SWF
>[mxmlc] ^
>[mxmlc]
>[mxmlc]
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/flexUnitTests/KeyboardEventConverterTest.as(56):
>col: 13 Error: Can not resolve config constant: 'SWF'
>[mxmlc]
>[mxmlc] COMPILE::SWF{
>[mxmlc] ^
>[mxmlc]
>[mxmlc]
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/flexUnitTests/KeyboardEventConverterTest.as(68):
>col: 13 Error: Can not resolve config constant: 'JS'
>[mxmlc]
>[mxmlc] COMPILE::JS{
>[mxmlc] ^
>[mxmlc]
>[mxmlc]
>/Users/erik/Desktop/tmp/royale-asjs/in/flexunit/flexunit/flexunit-4.2.0-20
>140410-flex_4.12.0.swc
>Warning: The definition mx.rpc.IResponder depended on by
>org.flexunit.async.IAsyncTestResponder in the SWC
>/Users/erik/Desktop/tmp/royale-asjs/in/flexunit/flexunit/flexunit-4.2.0-20
>140410-flex_4.12.0.swc
>could not be found
>
>...
>
>[mxmlc]
>
>test:
>[mkdir] Created dir:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/out
> [flexunit] Validating task attributes ...
>
>BUILD FAILED
>/Users/erik/Desktop/tmp/royale-asjs/build.xml:569: The following error
>occurred while executing this line:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/build.xml:118: The
>following
>error occurred while executing this line:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/build.xml:233: The
>following
>error occurred while executing this line:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/build.xml:61:
>The following error occurred while executing this line:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/build.xml:141:
&g

Re: Ant Build Problem

2017-11-15 Thread Alex Harui
My working copies are all torn up with the refactoring and I'd prefer not
to have to stop and build up another working copy to debug this, assuming
I can even reproduce it.

The factors are:
-The compiler Ant tasks use ROYALE_COMPILER_HOME to find the jsc.jar to run
-Looks like there are bugs in the scripts where ROYALE_COMPILER_HOME is
not set by each script but maybe only the main script
-The FlexUnit compile should be using frameworks/royale-config.xml
-The royale-config.xml should have:
  COMPILE::SWFAUTO
  COMPILE::JSAUTO
-Recent (0.8.0 and later) compilers should convert AUTO to a valid value
for the compile.


HTH,
-Alex

On 11/15/17, 7:48 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:

>I see the same issue! I am trying to write a quick tutorial for the new
>wasm code, but I still can't successfully run "ant super-clean all" on
>royale-asjs... Please help?
>
>compile:
> [echo] Compiling FlexUnitRoyaleApplication.swf
> [echo] ROYALE_HOME: /Users/erik/Desktop/tmp/royale-asjs
> [echo] ROYALE_SWF_COMPILER_HOME: /Users/erik/Desktop/tmp/royale-asjs
> [echo] FLEXUNIT_HOME: /Users/erik/Desktop/tmp/royale-asjs/in/flexunit
> [echo] playerglobal.version: 11.1
>[mxmlc] MXMLJSC
>[mxmlc] -debug
>[mxmlc] -compiler.targets=SWF
>[mxmlc] +playerglobal.version=11.1
>[mxmlc]
>+env.PLAYERGLOBAL_HOME=/Users/erik/Documents/Royale/PlayerGlobal/player
>[mxmlc]
>-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/frameworks/libs
>[mxmlc]
>-swf-library-path+=/Users/erik/Desktop/tmp/royale-asjs/in/flexunit/flexuni
>t
>[mxmlc] -define=CONFIG::dummy,false
>[mxmlc] +royalelib=/Users/erik/Desktop/tmp/royale-asjs/frameworks/
>[mxmlc]
>-output=/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/t
>est/royale/FlexUnitRoyaleApplication.swf
>[mxmlc] --
>[mxmlc]
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/FlexUnitRoyaleApplication.mxml
>[mxmlc] Loading configuration:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/royale-config.xml
>[mxmlc]
>[mxmlc] scanning for overrides: IFlexInfo
>
>
>
>[mxmlc] scanning for overrides: StringTrimmer
>[mxmlc] 2.498695566 seconds
>[mxmlc]
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/flexUnitTests/KeyboardEventConverterTest.as(23):
>col: 5 Error: Can not resolve config constant: 'SWF'
>[mxmlc]
>[mxmlc] COMPILE::SWF
>[mxmlc] ^
>[mxmlc]
>[mxmlc]
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/flexUnitTests/KeyboardEventConverterTest.as(56):
>col: 13 Error: Can not resolve config constant: 'SWF'
>[mxmlc]
>[mxmlc] COMPILE::SWF{
>[mxmlc] ^
>[mxmlc]
>[mxmlc]
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/flexUnitTests/KeyboardEventConverterTest.as(68):
>col: 13 Error: Can not resolve config constant: 'JS'
>[mxmlc]
>[mxmlc] COMPILE::JS{
>[mxmlc] ^
>[mxmlc]
>[mxmlc]
>/Users/erik/Desktop/tmp/royale-asjs/in/flexunit/flexunit/flexunit-4.2.0-20
>140410-flex_4.12.0.swc
>Warning: The definition mx.rpc.IResponder depended on by
>org.flexunit.async.IAsyncTestResponder in the SWC
>/Users/erik/Desktop/tmp/royale-asjs/in/flexunit/flexunit/flexunit-4.2.0-20
>140410-flex_4.12.0.swc
>could not be found
>
>...
>
>[mxmlc]
>
>test:
>[mkdir] Created dir:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/out
> [flexunit] Validating task attributes ...
>
>BUILD FAILED
>/Users/erik/Desktop/tmp/royale-asjs/build.xml:569: The following error
>occurred while executing this line:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/build.xml:118: The
>following
>error occurred while executing this line:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/build.xml:233: The
>following
>error occurred while executing this line:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/build.xml:61:
>The following error occurred while executing this line:
>/Users/erik/Desktop/tmp/royale-asjs/frameworks/projects/Core/src/test/roya
>le/build.xml:141:
>The provided 'swf' property value [] could not be found or is not a valid
>remote URL.
>
>On Wed, Nov 15, 2017 at 2:53 PM, Yishay Weiss <yishayj...@hotmail.com>
>wrote:
>
>> I changed ROYALE_SWF_COMPILER_HOME and FLEXUNIT_HOME to match yours but
>> the result is the same.
>>
>> FWIW this is ROYALE_COMPILER_HOME which appears to not resolve
>>correctly:
>> C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test

RE: Ant Build Problem

2017-11-15 Thread Yishay Weiss
I changed ROYALE_SWF_COMPILER_HOME and FLEXUNIT_HOME to match yours but the 
result is the same.

FWIW this is ROYALE_COMPILER_HOME which appears to not resolve correctly:
C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale>echo 
%ROYALE_COMPILER_HOME%
C:\dev\flexjs\royale-asjs/js
From: Harbs<mailto:harbs.li...@gmail.com>
Sent: Wednesday, November 15, 2017 12:01 PM
To: dev@royale.apache.org<mailto:dev@royale.apache.org>
Subject: Re: Ant Build Problem

It works for me. It looks like your ROYALE_SWF_COMPILER_HOME is pointing to a 
different location than mine.

Here’s the output I get:

CoreTest:

check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:
[available] DEPRECATED -  used to override an existing property.
[available]   Build file should not reuse the same property name for different 
values.

clean:

compile:
 [echo] Compiling FlexUnitRoyaleApplication.swf
 [echo] ROYALE_HOME: /Users/harbs/Documents/ApacheRoyale/royale-asjs
 [echo] ROYALE_SWF_COMPILER_HOME: 
/Users/harbs/Documents/ApacheRoyale/royale-asjs
 [echo] FLEXUNIT_HOME: /Users/harbs/Documents/ApacheRoyale/flex-flexunit
 [echo] playerglobal.version: 11.1
[mxmlc] MXMLJSC
[mxmlc] -debug
[mxmlc] -compiler.targets=SWF
[mxmlc] +playerglobal.version=11.1
[mxmlc] 
+env.PLAYERGLOBAL_HOME=/Users/harbs/Documents/ApacheRoyale/frameworks/libs/player
[mxmlc] 
-swf-library-path+=/Users/harbs/Documents/ApacheRoyale/royale-asjs/frameworks/libs
[mxmlc] 
-swf-library-path+=/Users/harbs/Documents/ApacheRoyale/flex-flexunit/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc
[mxmlc] 
-swf-library-path+=/Users/harbs/Documents/ApacheRoyale/flex-flexunit/FlexUnit4CIListener/target
[mxmlc] 
+royalelib=/Users/harbs/Documents/ApacheRoyale/royale-asjs/frameworks/
[mxmlc] 
-output=/Users/harbs/Documents/ApacheRoyale/royale-asjs/frameworks/projects/Core/src/test/royale/FlexUnitRoyaleApplication.swf
[mxmlc] --
[mxmlc] 
/Users/harbs/Documents/ApacheRoyale/royale-asjs/frameworks/projects/Core/src/test/royale/FlexUnitRoyaleApplication.mxml
[mxmlc] Loading configuration: 
/Users/harbs/Documents/ApacheRoyale/royale-asjs/frameworks/royale-config.xml


> On Nov 15, 2017, at 11:44 AM, Yishay Weiss <yishayj...@hotmail.com> wrote:
>
> I’m not sure which -config.xml is being used but the ROYALE_COMPILER_HOME is 
> pointing to  C:\dev\flexjs\royale-asjs/js
>
>
>
> The tests are run as part of
>
>
>
> C:\dev\flexjs\royale-asjs> ant clean all
>
>
>
> When I try to run the test separately I get
>
>
>
> C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale>ant
>
> Buildfile: 
> C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\build.xml
>
>
>
> clean:
>
>
>
> compile:
>
> [echo] Compiling FlexUnitRoyaleApplication.swf
>
> [echo] ROYALE_HOME: C:\dev\flexjs\royale-asjs
>
> [echo] ROYALE_SWF_COMPILER_HOME: C:\dev\flexjs\royale-compiler\compiler
>
> [echo] FLEXUNIT_HOME: C:\dev\flexjs\royale-asjs/in/flexunit
>
> [echo] playerglobal.version: 11.1
>
>
>
> BUILD FAILED
>
> C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\build.xml:98:
>  
> C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\${ROYALE_COMPILER_HOME}\lib
>  does not exist.
>
>
>
> 
> From: Alex Harui <aha...@adobe.com.INVALID>
> Sent: Tuesday, November 14, 2017 8:22:01 PM
> To: dev@royale.apache.org
> Subject: Re: Ant Build Problem
>
> The FlexUnit compile is trying to use the Ant tasks instead of directly
> calling the compiler, which is probably worth testing.  You can see that
> it picks up the Ant tasks from
>
>
>   includes="compiler-royaleTasks.jar"/>
>
>
>
> If ROYALE_COMPILER_HOME is pointing somewhere unexpected, then you might
> be loading a really old compiler that is picking up a really old
> -config.xml that doesn't have COMPILE::SWF in it.
>
> HTH,
> -Alex
>
> On 11/14/17, 10:01 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:
>
>> The failure is on the compilation of FlexUnitRoyaleApplication.mxml. The
>> rest of royale-asjs seems to compile ok. One thing I noticed is that the
>> compiler is invoked differently.
>>
>> >   file="${basedir}/FlexUnitRoyaleApplication.mxml"
>>   output="${basedir}/FlexUnitRoyaleApplication.swf">
>>   
>>   
>>   
>>   
>>   > />
>>   > value="-swf-library-path+=${ROYALE_HOME}/frameworks/libs" />
>>   
>>   
>>   
>>
>>

Re: Ant Build Problem

2017-11-15 Thread Harbs
It works for me. It looks like your ROYALE_SWF_COMPILER_HOME is pointing to a 
different location than mine.

Here’s the output I get:

CoreTest:

check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:
[available] DEPRECATED -  used to override an existing property.
[available]   Build file should not reuse the same property name for different 
values.

clean:

compile:
 [echo] Compiling FlexUnitRoyaleApplication.swf
 [echo] ROYALE_HOME: /Users/harbs/Documents/ApacheRoyale/royale-asjs
 [echo] ROYALE_SWF_COMPILER_HOME: 
/Users/harbs/Documents/ApacheRoyale/royale-asjs
 [echo] FLEXUNIT_HOME: /Users/harbs/Documents/ApacheRoyale/flex-flexunit
 [echo] playerglobal.version: 11.1
[mxmlc] MXMLJSC
[mxmlc] -debug
[mxmlc] -compiler.targets=SWF
[mxmlc] +playerglobal.version=11.1
[mxmlc] 
+env.PLAYERGLOBAL_HOME=/Users/harbs/Documents/ApacheRoyale/frameworks/libs/player
[mxmlc] 
-swf-library-path+=/Users/harbs/Documents/ApacheRoyale/royale-asjs/frameworks/libs
[mxmlc] 
-swf-library-path+=/Users/harbs/Documents/ApacheRoyale/flex-flexunit/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc
[mxmlc] 
-swf-library-path+=/Users/harbs/Documents/ApacheRoyale/flex-flexunit/FlexUnit4CIListener/target
[mxmlc] 
+royalelib=/Users/harbs/Documents/ApacheRoyale/royale-asjs/frameworks/
[mxmlc] 
-output=/Users/harbs/Documents/ApacheRoyale/royale-asjs/frameworks/projects/Core/src/test/royale/FlexUnitRoyaleApplication.swf
[mxmlc] --
[mxmlc] 
/Users/harbs/Documents/ApacheRoyale/royale-asjs/frameworks/projects/Core/src/test/royale/FlexUnitRoyaleApplication.mxml
[mxmlc] Loading configuration: 
/Users/harbs/Documents/ApacheRoyale/royale-asjs/frameworks/royale-config.xml


> On Nov 15, 2017, at 11:44 AM, Yishay Weiss <yishayj...@hotmail.com> wrote:
> 
> I’m not sure which -config.xml is being used but the ROYALE_COMPILER_HOME is 
> pointing to  C:\dev\flexjs\royale-asjs/js
> 
> 
> 
> The tests are run as part of
> 
> 
> 
> C:\dev\flexjs\royale-asjs> ant clean all
> 
> 
> 
> When I try to run the test separately I get
> 
> 
> 
> C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale>ant
> 
> Buildfile: 
> C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\build.xml
> 
> 
> 
> clean:
> 
> 
> 
> compile:
> 
> [echo] Compiling FlexUnitRoyaleApplication.swf
> 
> [echo] ROYALE_HOME: C:\dev\flexjs\royale-asjs
> 
> [echo] ROYALE_SWF_COMPILER_HOME: C:\dev\flexjs\royale-compiler\compiler
> 
> [echo] FLEXUNIT_HOME: C:\dev\flexjs\royale-asjs/in/flexunit
> 
> [echo] playerglobal.version: 11.1
> 
> 
> 
> BUILD FAILED
> 
> C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\build.xml:98:
>  
> C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\${ROYALE_COMPILER_HOME}\lib
>  does not exist.
> 
> 
> 
> ________
> From: Alex Harui <aha...@adobe.com.INVALID>
> Sent: Tuesday, November 14, 2017 8:22:01 PM
> To: dev@royale.apache.org
> Subject: Re: Ant Build Problem
> 
> The FlexUnit compile is trying to use the Ant tasks instead of directly
> calling the compiler, which is probably worth testing.  You can see that
> it picks up the Ant tasks from
> 
>
>   includes="compiler-royaleTasks.jar"/>
>
> 
> 
> If ROYALE_COMPILER_HOME is pointing somewhere unexpected, then you might
> be loading a really old compiler that is picking up a really old
> -config.xml that doesn't have COMPILE::SWF in it.
> 
> HTH,
> -Alex
> 
> On 11/14/17, 10:01 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:
> 
>> The failure is on the compilation of FlexUnitRoyaleApplication.mxml. The
>> rest of royale-asjs seems to compile ok. One thing I noticed is that the
>> compiler is invoked differently.
>> 
>> >   file="${basedir}/FlexUnitRoyaleApplication.mxml"
>>   output="${basedir}/FlexUnitRoyaleApplication.swf">
>>   
>>   
>>   
>>   
>>   > />
>>   > value="-swf-library-path+=${ROYALE_HOME}/frameworks/libs" />
>>   
>>   
>>   
>> 
>> Versus
>> 
>> 
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>       > value="-load-config=${basedir}/src/main/config/compile-swf-config.xml" />
>>   > value="-js-load-config=${ROYALE_HOME}/frameworks/js-config.xml" />
>>   >

RE: Ant Build Problem

2017-11-15 Thread Yishay Weiss
I’m not sure which -config.xml is being used but the ROYALE_COMPILER_HOME is 
pointing to  C:\dev\flexjs\royale-asjs/js



The tests are run as part of



C:\dev\flexjs\royale-asjs> ant clean all



When I try to run the test separately I get



C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale>ant

Buildfile: 
C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\build.xml



clean:



compile:

 [echo] Compiling FlexUnitRoyaleApplication.swf

 [echo] ROYALE_HOME: C:\dev\flexjs\royale-asjs

 [echo] ROYALE_SWF_COMPILER_HOME: C:\dev\flexjs\royale-compiler\compiler

 [echo] FLEXUNIT_HOME: C:\dev\flexjs\royale-asjs/in/flexunit

 [echo] playerglobal.version: 11.1



BUILD FAILED

C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\build.xml:98:
 
C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\${ROYALE_COMPILER_HOME}\lib
 does not exist.




From: Alex Harui <aha...@adobe.com.INVALID>
Sent: Tuesday, November 14, 2017 8:22:01 PM
To: dev@royale.apache.org
Subject: Re: Ant Build Problem

The FlexUnit compile is trying to use the Ant tasks instead of directly
calling the compiler, which is probably worth testing.  You can see that
it picks up the Ant tasks from


  



If ROYALE_COMPILER_HOME is pointing somewhere unexpected, then you might
be loading a really old compiler that is picking up a really old
-config.xml that doesn't have COMPILE::SWF in it.

HTH,
-Alex

On 11/14/17, 10:01 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:

>The failure is on the compilation of FlexUnitRoyaleApplication.mxml. The
>rest of royale-asjs seems to compile ok. One thing I noticed is that the
>compiler is invoked differently.
>
>file="${basedir}/FlexUnitRoyaleApplication.mxml"
>output="${basedir}/FlexUnitRoyaleApplication.swf">
>
>
>
>
>/>
>value="-swf-library-path+=${ROYALE_HOME}/frameworks/libs" />
>
>
>
>
>Versus
>
>
>
>
>
>
>
>
>
>
>
>value="-load-config=${basedir}/src/main/config/compile-swf-config.xml" />
>value="-js-load-config=${ROYALE_HOME}/frameworks/js-config.xml" />
>value="-js-load-config+=${basedir}/../../js/projects/${ant.project.name}JS
>/src/main/config/compile-js-config.xml" />
>
>
>From: Alex Harui<mailto:aha...@adobe.com.INVALID>
>Sent: Tuesday, November 14, 2017 7:35 PM
>To: dev@royale.apache.org<mailto:dev@royale.apache.org>
>Subject: Re: Ant Build Problem
>
>Even if you did, it is still pretty easy for an environment variable or
>Ant property to get you to use a compiler in another folder, so keep an
>eye open for that.  The Ant scripts usually report what compiler folder
>they are using.
>
>-Alex
>
>On 11/14/17, 9:32 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:
>
>>I updated compiler and typedefs as well. Will have a look tomorrow.
>>
>>
>>
>>
>>From: Alex Harui <aha...@adobe.com.INVALID>
>>Sent: Tuesday, November 14, 2017 6:25:55 PM
>>To: dev@royale.apache.org
>>Subject: Re: Ant Build Problem
>>
>>I haven't seen that.  You are working with relatively new test code,
>>IIRC.
>> Could be you are using very old compiler?
>>
>>HTH,
>>-Alex
>>
>>On 11/14/17, 3:26 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:
>>
>>>[mxmlc]
>>>C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\flexU
>>>n
>>>i
>>>tTests\KeyboardEventConverterTest.
>>>as(23): col: 5 Error: Can not resolve config constant: 'SWF'
>>>[mxmlc]
>>>[mxmlc] COMPILE::SWF
>>>[mxmlc] ^
>>>[mxmlc]
>>>
>>>Is anyone else getting it?
>>>
>>
>



Re: Ant Build Problem

2017-11-14 Thread Alex Harui
The FlexUnit compile is trying to use the Ant tasks instead of directly
calling the compiler, which is probably worth testing.  You can see that
it picks up the Ant tasks from


  



If ROYALE_COMPILER_HOME is pointing somewhere unexpected, then you might
be loading a really old compiler that is picking up a really old
-config.xml that doesn't have COMPILE::SWF in it.

HTH,
-Alex

On 11/14/17, 10:01 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:

>The failure is on the compilation of FlexUnitRoyaleApplication.mxml. The
>rest of royale-asjs seems to compile ok. One thing I noticed is that the
>compiler is invoked differently.
>
>file="${basedir}/FlexUnitRoyaleApplication.mxml"
>output="${basedir}/FlexUnitRoyaleApplication.swf">
>
>
>
>
>/>
>value="-swf-library-path+=${ROYALE_HOME}/frameworks/libs" />
>
>
>
>
>Versus
>
>
>
>
>
>
>
>
>
>
>
>value="-load-config=${basedir}/src/main/config/compile-swf-config.xml" />
>value="-js-load-config=${ROYALE_HOME}/frameworks/js-config.xml" />
>value="-js-load-config+=${basedir}/../../js/projects/${ant.project.name}JS
>/src/main/config/compile-js-config.xml" />
>
>
>From: Alex Harui<mailto:aha...@adobe.com.INVALID>
>Sent: Tuesday, November 14, 2017 7:35 PM
>To: dev@royale.apache.org<mailto:dev@royale.apache.org>
>Subject: Re: Ant Build Problem
>
>Even if you did, it is still pretty easy for an environment variable or
>Ant property to get you to use a compiler in another folder, so keep an
>eye open for that.  The Ant scripts usually report what compiler folder
>they are using.
>
>-Alex
>
>On 11/14/17, 9:32 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:
>
>>I updated compiler and typedefs as well. Will have a look tomorrow.
>>
>>
>>
>>
>>From: Alex Harui <aha...@adobe.com.INVALID>
>>Sent: Tuesday, November 14, 2017 6:25:55 PM
>>To: dev@royale.apache.org
>>Subject: Re: Ant Build Problem
>>
>>I haven't seen that.  You are working with relatively new test code,
>>IIRC.
>> Could be you are using very old compiler?
>>
>>HTH,
>>-Alex
>>
>>On 11/14/17, 3:26 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:
>>
>>>[mxmlc]
>>>C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\flexU
>>>n
>>>i
>>>tTests\KeyboardEventConverterTest.
>>>as(23): col: 5 Error: Can not resolve config constant: 'SWF'
>>>[mxmlc]
>>>[mxmlc] COMPILE::SWF
>>>[mxmlc] ^
>>>[mxmlc]
>>>
>>>Is anyone else getting it?
>>>
>>
>



RE: Ant Build Problem

2017-11-14 Thread Yishay Weiss
The failure is on the compilation of FlexUnitRoyaleApplication.mxml. The rest 
of royale-asjs seems to compile ok. One thing I noticed is that the compiler is 
invoked differently.












Versus
















From: Alex Harui<mailto:aha...@adobe.com.INVALID>
Sent: Tuesday, November 14, 2017 7:35 PM
To: dev@royale.apache.org<mailto:dev@royale.apache.org>
Subject: Re: Ant Build Problem

Even if you did, it is still pretty easy for an environment variable or
Ant property to get you to use a compiler in another folder, so keep an
eye open for that.  The Ant scripts usually report what compiler folder
they are using.

-Alex

On 11/14/17, 9:32 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:

>I updated compiler and typedefs as well. Will have a look tomorrow.
>
>
>
>
>From: Alex Harui <aha...@adobe.com.INVALID>
>Sent: Tuesday, November 14, 2017 6:25:55 PM
>To: dev@royale.apache.org
>Subject: Re: Ant Build Problem
>
>I haven't seen that.  You are working with relatively new test code, IIRC.
> Could be you are using very old compiler?
>
>HTH,
>-Alex
>
>On 11/14/17, 3:26 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:
>
>>[mxmlc]
>>C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\flexUn
>>i
>>tTests\KeyboardEventConverterTest.
>>as(23): col: 5 Error: Can not resolve config constant: 'SWF'
>>[mxmlc]
>>[mxmlc] COMPILE::SWF
>>[mxmlc] ^
>>[mxmlc]
>>
>>Is anyone else getting it?
>>
>



RE: Ant Build Problem

2017-11-14 Thread Yishay Weiss
I updated compiler and typedefs as well. Will have a look tomorrow.




From: Alex Harui <aha...@adobe.com.INVALID>
Sent: Tuesday, November 14, 2017 6:25:55 PM
To: dev@royale.apache.org
Subject: Re: Ant Build Problem

I haven't seen that.  You are working with relatively new test code, IIRC.
 Could be you are using very old compiler?

HTH,
-Alex

On 11/14/17, 3:26 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:

>[mxmlc]
>C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\flexUni
>tTests\KeyboardEventConverterTest.
>as(23): col: 5 Error: Can not resolve config constant: 'SWF'
>[mxmlc]
>[mxmlc] COMPILE::SWF
>[mxmlc] ^
>[mxmlc]
>
>Is anyone else getting it?
>



Re: Ant Build Problem

2017-11-14 Thread Alex Harui
I haven't seen that.  You are working with relatively new test code, IIRC.
 Could be you are using very old compiler?

HTH,
-Alex

On 11/14/17, 3:26 AM, "Yishay Weiss"  wrote:

>[mxmlc] 
>C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\flexUni
>tTests\KeyboardEventConverterTest.
>as(23): col: 5 Error: Can not resolve config constant: 'SWF'
>[mxmlc]
>[mxmlc] COMPILE::SWF
>[mxmlc] ^
>[mxmlc]
>
>Is anyone else getting it?
>



Ant Build Problem

2017-11-14 Thread Yishay Weiss
[mxmlc] 
C:\dev\flexjs\royale-asjs\frameworks\projects\Core\src\test\royale\flexUnitTests\KeyboardEventConverterTest.
as(23): col: 5 Error: Can not resolve config constant: 'SWF'
[mxmlc]
[mxmlc] COMPILE::SWF
[mxmlc] ^
[mxmlc]

Is anyone else getting it?