You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Yishay Weiss <yi...@hotmail.com> on 2018/01/09 07:13:12 UTC

ant all failing (was Compiling Royale Libraries with Flash Builder (SWF))

Getting this console output.

>tests:
>
>    [mkdir] Created dir:
>C:\dev\flexjs\royale-compiler\compiler\target\junit-reports
>
>    [mkdir] Created dir:
>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp
>
>    [junit] Running as.ASExpressionTests
>
>    [junit] looking for C:\dev\flexjs\royale-compiler\env.properties
>
>    [junit] environment property - FLEX_HOME = C:\dev\flexjs\flex-sdk
>
>    [junit] environment property - PLAYERGLOBAL_HOME = C:\dev\flashplayer
>
>    [junit] environment property - PLAYERGLOBAL_VERSION = 11.1
>
>    [junit] environment property - TLF_HOME = null
>
>    [junit] environment property - AIR_HOME = C:\dev\flexjsbuilds\nightly
>
>    [junit] environment property - FLASHPLAYER_DEBUGGER = null
>
>    [junit] environment property - ASJS_HOME = C:\dev\flexjs\royale-asjs
>
>    [junit] environment property - GOOG_HOME =
>C:\dev\flexjsbuilds\nightly/js/lib/google/closure-library
>
>    [junit] Generating test:
>
>    [junit] Compiling test:
>
>    [junit]
>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTests
>8263907973881887007.as
>
>    [junit]
>
>    [junit] 783 bytes written to
>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTests
>8263907973881887007.swf in 1.182 seconds
>
>    [junit] After compile:
>
>    [junit] Unexpected compilation problems:
>
>    [junit]
>
>    [junit] Generating test:
>
>    [junit] Compiling test:
>
>    [junit]
>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTests
>5673153471287683621.as
>
>    [junit]
>
>    [junit] 767 bytes written to
>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTests
>5673153471287683621.swf in 0.578 seconds
>
>    [junit] After compile:
>
>    [junit] Unexpected compilation problems:
>
>    [junit]
>
>    [junit] Generating test:
>
>    [junit] Compiling test:
>
>    [junit]
>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTests
>6206048447772149132.as
>
>    [junit]
>
>    [junit] 857 bytes written to
>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTests
>6206048447772149132.swf in 0.582 seconds
>
>    [junit] After compile:
>
>    [junit] Unexpected compilation problems:
>
>    [junit]
>
>    [junit] Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time
>elapsed: 2.922 sec
>
>    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>
>
>
>BUILD FAILED
>
>C:\dev\flexjs\royale-asjs\build.xml:1752: The following error occurred
>while executing this line:
>
>C:\dev\flexjs\royale-asjs\build.xml:1823: The following error occurred
>while executing this line:
>
>C:\dev\flexjs\royale-compiler\build.xml:80: The following error occurred
>while executing this line:
>
>C:\dev\flexjs\royale-compiler\compiler\build.xml:711: The following error
>occurred while executing this line:
>
>C:\dev\flexjs\royale-compiler\compiler\src\test\build.xml:307: Tests
>failed
>
>
>
>Total time: 8 minutes 20 seconds
>

Re: ant all failing (was Compiling Royale Libraries with Flash Builder (SWF))

Posted by Alex Harui <ah...@adobe.com.INVALID>.
The build generally checks for AIR_HOME in deciding whether to build SWF
support or not.  AIR_HOME/PLAYERGLOBAL_HOME/FLASHPLAYER_GLOBAL are a set
of 3 you should either have or not have.

Thanks,
-Alex

On 1/9/18, 12:28 AM, "Yishay Weiss" <yi...@hotmail.com> wrote:

>Following your mail I went over royale-asjs/README again and discovered I
>didn’t have FLASHPLAYER_DEBUGGER env var set. Now that it’s set the build
>is finally successful.
>
>So my guess is that the problem was that I had PLAYERGLOBAL_HOME set but
>not FLASHPLAYER_DEBUGGER. If PLAYERGLOBAL_HOME is not set it does not try
>to build swf output and the build passes. Is that right?
>
>Thanks for looking into it.
>
>From: Alex Harui<ma...@adobe.com.INVALID>
>Sent: Tuesday, January 9 N, 2018 9:42 AM
>To: dev@royale.apache.org<ma...@royale.apache.org>
>Subject: Re: ant all failing (was Compiling Royale Libraries with Flash
>Builder (SWF))
>
>Please try to provide relevant information so we don't have trade more
>emails getting it.  The test failure details should be in
>compiler\target\junit-results in an xml file that has ASExpressionTests in
>the name.
>
>And we don't know what your environment variables are set to.
>
>Also, we don't know if you are starting from a fresh clone or this is a
>re-build.
>
>Thanks,
>-Alex
>
>On 1/8/18, 11:13 PM, "Yishay Weiss" <yi...@hotmail.com> wrote:
>
>>Getting this console output.
>>
>>>tests:
>>>
>>>    [mkdir] Created dir:
>>>C:\dev\flexjs\royale-compiler\compiler\target\junit-reports
>>>
>>>    [mkdir] Created dir:
>>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp
>>>
>>>    [junit] Running as.ASExpressionTests
>>>
>>>    [junit] looking for C:\dev\flexjs\royale-compiler\env.properties
>>>
>>>    [junit] environment property - FLEX_HOME = C:\dev\flexjs\flex-sdk
>>>
>>>    [junit] environment property - PLAYERGLOBAL_HOME =
>>>C:\dev\flashplayer
>>>
>>>    [junit] environment property - PLAYERGLOBAL_VERSION = 11.1
>>>
>>>    [junit] environment property - TLF_HOME = null
>>>
>>>    [junit] environment property - AIR_HOME =
>>>C:\dev\flexjsbuilds\nightly
>>>
>>>    [junit] environment property - FLASHPLAYER_DEBUGGER = null
>>>
>>>    [junit] environment property - ASJS_HOME = C:\dev\flexjs\royale-asjs
>>>
>>>    [junit] environment property - GOOG_HOME =
>>>C:\dev\flexjsbuilds\nightly/js/lib/google/closure-library
>>>
>>>    [junit] Generating test:
>>>
>>>    [junit] Compiling test:
>>>
>>>    [junit]
>>>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTes
>>>t
>>>s
>>>8263907973881887007.as
>>>
>>>    [junit]
>>>
>>>    [junit] 783 bytes written to
>>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTes
>>>t
>>>s
>>>8263907973881887007.swf in 1.182 seconds
>>>
>>>    [junit] After compile:
>>>
>>>    [junit] Unexpected compilation problems:
>>>
>>>    [junit]
>>>
>>>    [junit] Generating test:
>>>
>>>    [junit] Compiling test:
>>>
>>>    [junit]
>>>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTes
>>>t
>>>s
>>>5673153471287683621.as
>>>
>>>    [junit]
>>>
>>>    [junit] 767 bytes written to
>>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTes
>>>t
>>>s
>>>5673153471287683621.swf in 0.578 seconds
>>>
>>>    [junit] After compile:
>>>
>>>    [junit] Unexpected compilation problems:
>>>
>>>    [junit]
>>>
>>>    [junit] Generating test:
>>>
>>>    [junit] Compiling test:
>>>
>>>    [junit]
>>>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTes
>>>t
>>>s
>>>6206048447772149132.as
>>>
>>>    [junit]
>>>
>>>    [junit] 857 bytes written to
>>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTes
>>>t
>>>s
>>>6206048447772149132.swf in 0.582 seconds
>>>
>>>    [junit] After compile:
>>>
>>>    [junit] Unexpected compilation problems:
>>>
>>>    [junit]
>>>
>>>    [junit] Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time
>>>elapsed: 2.922 sec
>>>
>>>    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>>>
>>>
>>>
>>>BUILD FAILED
>>>
>>>C:\dev\flexjs\royale-asjs\build.xml:1752: The following error occurred
>>>while executing this line:
>>>
>>>C:\dev\flexjs\royale-asjs\build.xml:1823: The following error occurred
>>>while executing this line:
>>>
>>>C:\dev\flexjs\royale-compiler\build.xml:80: The following error occurred
>>>while executing this line:
>>>
>>>C:\dev\flexjs\royale-compiler\compiler\build.xml:711: The following
>>>error
>>>occurred while executing this line:
>>>
>>>C:\dev\flexjs\royale-compiler\compiler\src\test\build.xml:307: Tests
>>>failed
>>>
>>>
>>>
>>>Total time: 8 minutes 20 seconds
>>>
>


RE: ant all failing (was Compiling Royale Libraries with Flash Builder (SWF))

Posted by Yishay Weiss <yi...@hotmail.com>.
Following your mail I went over royale-asjs/README again and discovered I didn’t have FLASHPLAYER_DEBUGGER env var set. Now that it’s set the build is finally successful.

So my guess is that the problem was that I had PLAYERGLOBAL_HOME set but not FLASHPLAYER_DEBUGGER. If PLAYERGLOBAL_HOME is not set it does not try to build swf output and the build passes. Is that right?

Thanks for looking into it.

From: Alex Harui<ma...@adobe.com.INVALID>
Sent: Tuesday, January 9 N, 2018 9:42 AM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: Re: ant all failing (was Compiling Royale Libraries with Flash Builder (SWF))

Please try to provide relevant information so we don't have trade more
emails getting it.  The test failure details should be in
compiler\target\junit-results in an xml file that has ASExpressionTests in
the name.

And we don't know what your environment variables are set to.

Also, we don't know if you are starting from a fresh clone or this is a
re-build.

Thanks,
-Alex

On 1/8/18, 11:13 PM, "Yishay Weiss" <yi...@hotmail.com> wrote:

>Getting this console output.
>
>>tests:
>>
>>    [mkdir] Created dir:
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-reports
>>
>>    [mkdir] Created dir:
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp
>>
>>    [junit] Running as.ASExpressionTests
>>
>>    [junit] looking for C:\dev\flexjs\royale-compiler\env.properties
>>
>>    [junit] environment property - FLEX_HOME = C:\dev\flexjs\flex-sdk
>>
>>    [junit] environment property - PLAYERGLOBAL_HOME = C:\dev\flashplayer
>>
>>    [junit] environment property - PLAYERGLOBAL_VERSION = 11.1
>>
>>    [junit] environment property - TLF_HOME = null
>>
>>    [junit] environment property - AIR_HOME = C:\dev\flexjsbuilds\nightly
>>
>>    [junit] environment property - FLASHPLAYER_DEBUGGER = null
>>
>>    [junit] environment property - ASJS_HOME = C:\dev\flexjs\royale-asjs
>>
>>    [junit] environment property - GOOG_HOME =
>>C:\dev\flexjsbuilds\nightly/js/lib/google/closure-library
>>
>>    [junit] Generating test:
>>
>>    [junit] Compiling test:
>>
>>    [junit]
>>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>8263907973881887007.as
>>
>>    [junit]
>>
>>    [junit] 783 bytes written to
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>8263907973881887007.swf in 1.182 seconds
>>
>>    [junit] After compile:
>>
>>    [junit] Unexpected compilation problems:
>>
>>    [junit]
>>
>>    [junit] Generating test:
>>
>>    [junit] Compiling test:
>>
>>    [junit]
>>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>5673153471287683621.as
>>
>>    [junit]
>>
>>    [junit] 767 bytes written to
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>5673153471287683621.swf in 0.578 seconds
>>
>>    [junit] After compile:
>>
>>    [junit] Unexpected compilation problems:
>>
>>    [junit]
>>
>>    [junit] Generating test:
>>
>>    [junit] Compiling test:
>>
>>    [junit]
>>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>6206048447772149132.as
>>
>>    [junit]
>>
>>    [junit] 857 bytes written to
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>6206048447772149132.swf in 0.582 seconds
>>
>>    [junit] After compile:
>>
>>    [junit] Unexpected compilation problems:
>>
>>    [junit]
>>
>>    [junit] Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time
>>elapsed: 2.922 sec
>>
>>    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>>
>>
>>
>>BUILD FAILED
>>
>>C:\dev\flexjs\royale-asjs\build.xml:1752: The following error occurred
>>while executing this line:
>>
>>C:\dev\flexjs\royale-asjs\build.xml:1823: The following error occurred
>>while executing this line:
>>
>>C:\dev\flexjs\royale-compiler\build.xml:80: The following error occurred
>>while executing this line:
>>
>>C:\dev\flexjs\royale-compiler\compiler\build.xml:711: The following error
>>occurred while executing this line:
>>
>>C:\dev\flexjs\royale-compiler\compiler\src\test\build.xml:307: Tests
>>failed
>>
>>
>>
>>Total time: 8 minutes 20 seconds
>>


Re: ant all failing (was Compiling Royale Libraries with Flash Builder (SWF))

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Please try to provide relevant information so we don't have trade more
emails getting it.  The test failure details should be in
compiler\target\junit-results in an xml file that has ASExpressionTests in
the name.

And we don't know what your environment variables are set to.

Also, we don't know if you are starting from a fresh clone or this is a
re-build.

Thanks,
-Alex

On 1/8/18, 11:13 PM, "Yishay Weiss" <yi...@hotmail.com> wrote:

>Getting this console output.
>
>>tests:
>>
>>    [mkdir] Created dir:
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-reports
>>
>>    [mkdir] Created dir:
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp
>>
>>    [junit] Running as.ASExpressionTests
>>
>>    [junit] looking for C:\dev\flexjs\royale-compiler\env.properties
>>
>>    [junit] environment property - FLEX_HOME = C:\dev\flexjs\flex-sdk
>>
>>    [junit] environment property - PLAYERGLOBAL_HOME = C:\dev\flashplayer
>>
>>    [junit] environment property - PLAYERGLOBAL_VERSION = 11.1
>>
>>    [junit] environment property - TLF_HOME = null
>>
>>    [junit] environment property - AIR_HOME = C:\dev\flexjsbuilds\nightly
>>
>>    [junit] environment property - FLASHPLAYER_DEBUGGER = null
>>
>>    [junit] environment property - ASJS_HOME = C:\dev\flexjs\royale-asjs
>>
>>    [junit] environment property - GOOG_HOME =
>>C:\dev\flexjsbuilds\nightly/js/lib/google/closure-library
>>
>>    [junit] Generating test:
>>
>>    [junit] Compiling test:
>>
>>    [junit]
>>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>8263907973881887007.as
>>
>>    [junit]
>>
>>    [junit] 783 bytes written to
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>8263907973881887007.swf in 1.182 seconds
>>
>>    [junit] After compile:
>>
>>    [junit] Unexpected compilation problems:
>>
>>    [junit]
>>
>>    [junit] Generating test:
>>
>>    [junit] Compiling test:
>>
>>    [junit]
>>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>5673153471287683621.as
>>
>>    [junit]
>>
>>    [junit] 767 bytes written to
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>5673153471287683621.swf in 0.578 seconds
>>
>>    [junit] After compile:
>>
>>    [junit] Unexpected compilation problems:
>>
>>    [junit]
>>
>>    [junit] Generating test:
>>
>>    [junit] Compiling test:
>>
>>    [junit]
>>-external-library-path=C:\dev\flashplayer\11.1\playerglobal.swc
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>6206048447772149132.as
>>
>>    [junit]
>>
>>    [junit] 857 bytes written to
>>C:\dev\flexjs\royale-compiler\compiler\target\junit-temp\ASExpressionTest
>>s
>>6206048447772149132.swf in 0.582 seconds
>>
>>    [junit] After compile:
>>
>>    [junit] Unexpected compilation problems:
>>
>>    [junit]
>>
>>    [junit] Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time
>>elapsed: 2.922 sec
>>
>>    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>>
>>
>>
>>BUILD FAILED
>>
>>C:\dev\flexjs\royale-asjs\build.xml:1752: The following error occurred
>>while executing this line:
>>
>>C:\dev\flexjs\royale-asjs\build.xml:1823: The following error occurred
>>while executing this line:
>>
>>C:\dev\flexjs\royale-compiler\build.xml:80: The following error occurred
>>while executing this line:
>>
>>C:\dev\flexjs\royale-compiler\compiler\build.xml:711: The following error
>>occurred while executing this line:
>>
>>C:\dev\flexjs\royale-compiler\compiler\src\test\build.xml:307: Tests
>>failed
>>
>>
>>
>>Total time: 8 minutes 20 seconds
>>