Yishay, I'm not clear what you are trying to do. How did you get compiler JUNIT tests to run from Flash Builder?
-Alex On 1/8/18, 1:18 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote: >It wasn’t set. Now that I’ve set it I’m getting this: > > > >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 > > > > > > > >________________________________ >From: Alex Harui <aha...@adobe.com.INVALID> >Sent: Monday, January 8, 2018 7:39:15 AM >To: dev@royale.apache.org >Subject: Re: Compiling Royale Libraries with Flash Builder (SWF) > >What is PLAYERGLOBAL_HOME set to? > >-Alex > >On 1/7/18, 7:03 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote: > >>I think that might have been it but I’m now struggling to get a Royale >>build working. >> >> >> >>When trying to build Basic I’m getting >> >> >> >>C:\dev\flexjs\royale-asjs\frameworks\royale-config.xml(74): col: 0 unable >>to open 'C:\dev\flexjs\royale-asjs\frameworks\\11.1\playerglobal.swc'. >> >> >> >>Any pointers would be appreciated… >> >> >> >>________________________________ >>From: Alex Harui <aha...@adobe.com.INVALID> >>Sent: Tuesday, January 2, 2018 7:05:48 PM >>To: dev@royale.apache.org >>Subject: Re: Compiling Royale Libraries with Flash Builder (SWF) >> >>In Project/Properties/Flex Build Path dialog, see which SWCs are being >>used. If your Royale SDK is/was a JS-Only one, you may be using the JS >>SWCs during SWF compilation. >> >>HTH, >>-Alex >> >>On 1/2/18, 12:42 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote: >> >>>I’m getting messages such as >>>1044: interface method applyImageData in interface IImage not >>>implemented >>>by class BinaryImage >>> >>>When I look at IImage I see >>> COMPILE::JS >>> function applyImageData(binaryDataAsString:String):void; >>>So it looks like the FB compiler ignores the fact that It’s a JS only >>>method and expected swf implementers to implement it as well. >>> >>> >> >