Build failed in Jenkins: TourDeFlexMigration #535

2020-01-22 Thread apacheroyaleci
See 


Changes:


--
[...truncated 123.83 KB...]
[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16974 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextAreaExample.swf
 in 6.419 seconds
[mxmlc] Jan 23, 2020 7:21:56 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 23, 2020 7:21:56 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] The project 'TextAreaExample' has been successfully compiled and 
optimized.
[mxmlc] 45.66733 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-load-config=C:\jenkins\workspace\royale-asjs/frameworks/flex-config.xml
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16004 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 11.407 seconds
[mxmlc] Jan 23, 2020 7:23:14 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 23, 2020 7:23:14 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'TextExample' has been successfully compiled and 
optimized.
[mxmlc] 76.8413824 seconds
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 

Build failed in Jenkins: Royale_ASDoc_Example #536

2020-01-22 Thread apacheroyaleci
See 


Changes:


--
[...truncated 41.15 KB...]
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(167):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dasharray",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(170):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-dashoffset");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(173):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dashoffset",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(176):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linecap");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(179):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linecap",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(182):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linejoin");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(185):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linejoin",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(188):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-miterlimit");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(191):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-miterlimit",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(194):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-opacity");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(197):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-opacity",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(200):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-width");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(203):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   

Re: Generating Royale API report failing on Mac

2020-01-22 Thread Piotr Zarzycki
Hi Takeshita,

Sure I know. What I refer I do not understand is the way how it's connected
to the problem. Anyway LFCR - is something which is ok on Windows, but not
ok on Mac?

I will try to download tar.gz on Mac and see if it works.


On Thu, Jan 23, 2020, 7:23 AM Takeshita Shoichiro  wrote:

> Piotr,
>
> zip and tar.gz are file types.  On Mac, it is better to download file with
> tar.gz file type. Zip is for Windows.
>
> 2020年1月23日(木) 15:11 Piotr Zarzycki :
>
> > Hi Alex,
> >
> > Unfortunately I completely don't understand what do you mean. What zip or
> > tar.gz? Scenario is simple:
> >
> > 1) I'm downloading Nightly build
> > 2) Setup it in Moonshine
> > 3) Trying to generate API report using Moonshine
> >
> > Files in SDK are broken. Screenshot which I have shown in previous email
> > was taken on Windows. - In that case I did use to unzip archive Windows
> > build in unzip option.
> >
> > On Mac I'm unzipping also by build in option.
> >
> >
> > On Wed, Jan 22, 2020, 10:42 PM Alex Harui 
> > wrote:
> >
> > > IIRC, there is a step in the build process that is supposed to remove
> > CRLF
> > > from certain files.  Did you use the zip or tar.gz for Mac?  It might
> be
> > > that if you use the zip on a Mac that the files may still have CRLF.
> You
> > > can check the build log and see if the CRLF removal tasks ran or not.
> > >
> > > I rarely use those scripts so they might have been broken for a long
> > time.
> > >
> > > -Alex
> > >
> > > On 1/22/20, 11:56 AM, "Piotr Zarzycki" 
> > wrote:
> > >
> > > Alex, Carlos,
> > >
> > > I have checked mxmlc file in repository and it has LF lines only
> > which
> > > is
> > > ok. However when I have downloaded build version of SDK [1] - that
> > > file and
> > > others has CR LF [2] - which causes all problems on Mac.
> > > Maybe this is problem with our build machine where after checkout
> > > something
> > > is not right. I would suggests what line endings after checkout
> have
> > > that
> > > files on our machine (I can't access it right now).
> > >
> > > [1]
> > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2Fdata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3Dreserved=0
> > > [2]
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BWdata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3Dreserved=0
> > >
> > > Thanks,
> > > Piotr
> > >
> > > śr., 22 sty 2020 o 18:38 Carlos Rovira 
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > this could be something to do with changes done by me? if so I'm
> on
> > > Mac not
> > > > Windows
> > > >
> > > > El mié., 22 ene. 2020 a las 17:11, Alex Harui
> > > ()
> > > > escribió:
> > > >
> > > > >
> > > > >
> > > > > On 1/22/20, 4:57 AM, "Piotr Zarzycki" <
> piotrzarzyck...@gmail.com
> > >
> > > > wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > This is the day of failing.
> > > > >
> > > > > I've definitely had days like this...
> > > > >
> > > > > Another issue which I'm struggling with is
> > > > > failing API report generation with SDK Nightly build [1]
> for
> > a
> > > simple
> > > > > Hello
> > > > > World Flex app.
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
> > > > > /bin/sh^M: bad interpreter: No such file or directory
> > > > >
> > > > > Do you have any idea why it may happen ?
> > > > >
> > > > > That usually means that the mxmlc script has Windows line
> > endings.
> > > > >
> > > > > -Alex
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosroviradata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3Dreserved=0
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzyckidata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3Dreserved=0
> > > <
> > >
> >
> 

Re: Generating Royale API report failing on Mac

2020-01-22 Thread Takeshita Shoichiro
Piotr,

zip and tar.gz are file types.  On Mac, it is better to download file with
tar.gz file type. Zip is for Windows.

2020年1月23日(木) 15:11 Piotr Zarzycki :

> Hi Alex,
>
> Unfortunately I completely don't understand what do you mean. What zip or
> tar.gz? Scenario is simple:
>
> 1) I'm downloading Nightly build
> 2) Setup it in Moonshine
> 3) Trying to generate API report using Moonshine
>
> Files in SDK are broken. Screenshot which I have shown in previous email
> was taken on Windows. - In that case I did use to unzip archive Windows
> build in unzip option.
>
> On Mac I'm unzipping also by build in option.
>
>
> On Wed, Jan 22, 2020, 10:42 PM Alex Harui 
> wrote:
>
> > IIRC, there is a step in the build process that is supposed to remove
> CRLF
> > from certain files.  Did you use the zip or tar.gz for Mac?  It might be
> > that if you use the zip on a Mac that the files may still have CRLF.  You
> > can check the build log and see if the CRLF removal tasks ran or not.
> >
> > I rarely use those scripts so they might have been broken for a long
> time.
> >
> > -Alex
> >
> > On 1/22/20, 11:56 AM, "Piotr Zarzycki" 
> wrote:
> >
> > Alex, Carlos,
> >
> > I have checked mxmlc file in repository and it has LF lines only
> which
> > is
> > ok. However when I have downloaded build version of SDK [1] - that
> > file and
> > others has CR LF [2] - which causes all problems on Mac.
> > Maybe this is problem with our build machine where after checkout
> > something
> > is not right. I would suggests what line endings after checkout have
> > that
> > files on our machine (I can't access it right now).
> >
> > [1]
> >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2Fdata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3Dreserved=0
> > [2]
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BWdata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3Dreserved=0
> >
> > Thanks,
> > Piotr
> >
> > śr., 22 sty 2020 o 18:38 Carlos Rovira 
> > napisał(a):
> >
> > > Hi,
> > >
> > > this could be something to do with changes done by me? if so I'm on
> > Mac not
> > > Windows
> > >
> > > El mié., 22 ene. 2020 a las 17:11, Alex Harui
> > ()
> > > escribió:
> > >
> > > >
> > > >
> > > > On 1/22/20, 4:57 AM, "Piotr Zarzycki"  >
> > > wrote:
> > > >
> > > > Hi,
> > > >
> > > > This is the day of failing.
> > > >
> > > > I've definitely had days like this...
> > > >
> > > > Another issue which I'm struggling with is
> > > > failing API report generation with SDK Nightly build [1] for
> a
> > simple
> > > > Hello
> > > > World Flex app.
> > > >
> > > >
> > > >
> > > >
> > /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
> > > > /bin/sh^M: bad interpreter: No such file or directory
> > > >
> > > > Do you have any idea why it may happen ?
> > > >
> > > > That usually means that the mxmlc script has Windows line
> endings.
> > > >
> > > > -Alex
> > > >
> > > >
> > > >
> > >
> > > --
> > > Carlos Rovira
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosroviradata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3Dreserved=0
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzyckidata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3Dreserved=0
> > <
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzyckidata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3Dreserved=0
> > >*
> >
> >
> >
>
-- 
Shoichiro Takeshita
武下 祥一郎


Re: Generating Royale API report failing on Mac

2020-01-22 Thread Piotr Zarzycki
Hi Alex,

Unfortunately I completely don't understand what do you mean. What zip or
tar.gz? Scenario is simple:

1) I'm downloading Nightly build
2) Setup it in Moonshine
3) Trying to generate API report using Moonshine

Files in SDK are broken. Screenshot which I have shown in previous email
was taken on Windows. - In that case I did use to unzip archive Windows
build in unzip option.

On Mac I'm unzipping also by build in option.


On Wed, Jan 22, 2020, 10:42 PM Alex Harui  wrote:

> IIRC, there is a step in the build process that is supposed to remove CRLF
> from certain files.  Did you use the zip or tar.gz for Mac?  It might be
> that if you use the zip on a Mac that the files may still have CRLF.  You
> can check the build log and see if the CRLF removal tasks ran or not.
>
> I rarely use those scripts so they might have been broken for a long time.
>
> -Alex
>
> On 1/22/20, 11:56 AM, "Piotr Zarzycki"  wrote:
>
> Alex, Carlos,
>
> I have checked mxmlc file in repository and it has LF lines only which
> is
> ok. However when I have downloaded build version of SDK [1] - that
> file and
> others has CR LF [2] - which causes all problems on Mac.
> Maybe this is problem with our build machine where after checkout
> something
> is not right. I would suggests what line endings after checkout have
> that
> files on our machine (I can't access it right now).
>
> [1]
>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2Fdata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3Dreserved=0
> [2]
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BWdata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3Dreserved=0
>
> Thanks,
> Piotr
>
> śr., 22 sty 2020 o 18:38 Carlos Rovira 
> napisał(a):
>
> > Hi,
> >
> > this could be something to do with changes done by me? if so I'm on
> Mac not
> > Windows
> >
> > El mié., 22 ene. 2020 a las 17:11, Alex Harui
> ()
> > escribió:
> >
> > >
> > >
> > > On 1/22/20, 4:57 AM, "Piotr Zarzycki" 
> > wrote:
> > >
> > > Hi,
> > >
> > > This is the day of failing.
> > >
> > > I've definitely had days like this...
> > >
> > > Another issue which I'm struggling with is
> > > failing API report generation with SDK Nightly build [1] for a
> simple
> > > Hello
> > > World Flex app.
> > >
> > >
> > >
> > >
> /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
> > > /bin/sh^M: bad interpreter: No such file or directory
> > >
> > > Do you have any idea why it may happen ?
> > >
> > > That usually means that the mxmlc script has Windows line endings.
> > >
> > > -Alex
> > >
> > >
> > >
> >
> > --
> > Carlos Rovira
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosroviradata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3Dreserved=0
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzyckidata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3Dreserved=0
> <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzyckidata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3Dreserved=0
> >*
>
>
>


Build failed in Jenkins: TourDeFlexMigration #534

2020-01-22 Thread apacheroyaleci
See 


Changes:

[aharui] a few tweaks to allow LineNumberTextDisplay in #598


--
[...truncated 125.17 KB...]
[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16968 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextAreaExample.swf
 in 7.218 seconds
[mxmlc] Jan 23, 2020 4:42:05 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 23, 2020 4:42:05 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] The project 'TextAreaExample' has been successfully compiled and 
optimized.
[mxmlc] 36.1852985 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-load-config=C:\jenkins\workspace\royale-asjs/frameworks/flex-config.xml
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16004 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 5.355 seconds
[mxmlc] Jan 23, 2020 4:42:44 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 23, 2020 4:42:44 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] The project 'TextExample' has been successfully compiled and 
optimized.
[mxmlc] 37.5206183 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] 

Build failed in Jenkins: Royale_ASDoc_Example #535

2020-01-22 Thread apacheroyaleci
See 


Changes:

[aharui] a few tweaks to allow LineNumberTextDisplay in #598


--
[...truncated 42.49 KB...]
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(167):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dasharray",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(170):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-dashoffset");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(173):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dashoffset",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(176):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linecap");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(179):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linecap",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(182):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linejoin");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(185):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linejoin",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(188):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-miterlimit");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(191):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-miterlimit",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(194):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-opacity");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(197):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-opacity",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(200):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-width");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(203):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type 

Build failed in Jenkins: TourDeFlexMigration #533

2020-01-22 Thread apacheroyaleci
See 


Changes:

[aharui] emulate skinClass

[carlosrovira] html-a: default anchor tag should not define href, sometimes we 
need

[carlosrovira] jewel-renderers: remove href from INavigationRenders, since 
navigation

[carlosrovira] tour-de-jewel: added routing, even to collapsible menu in drawer


--
[...truncated 125.18 KB...]
[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16972 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextAreaExample.swf
 in 9.279 seconds
[mxmlc] Jan 23, 2020 1:30:18 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 23, 2020 1:30:18 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'TextAreaExample' has been successfully compiled and 
optimized.
[mxmlc] 50.6426776 seconds
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-load-config=C:\jenkins\workspace\royale-asjs/frameworks/flex-config.xml
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16001 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 5.868 seconds
[mxmlc] Jan 23, 2020 1:31:02 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 23, 2020 1:31:02 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'TextExample' has been successfully compiled and 
optimized.
[mxmlc] 43.0102127 seconds
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

Build failed in Jenkins: Royale_ASDoc_Example #534

2020-01-22 Thread apacheroyaleci
See 


Changes:

[aharui] emulate skinClass

[carlosrovira] html-a: default anchor tag should not define href, sometimes we 
need

[carlosrovira] jewel-renderers: remove href from INavigationRenders, since 
navigation

[carlosrovira] tour-de-jewel: added routing, even to collapsible menu in drawer


--
[...truncated 42.49 KB...]
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(167):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dasharray",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(170):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-dashoffset");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(173):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dashoffset",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(176):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linecap");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(179):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linecap",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(182):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linejoin");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(185):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linejoin",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(188):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-miterlimit");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(191):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-miterlimit",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(194):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-opacity");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(197):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-opacity",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(200):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-width");
 [java]  ^
 [java] 
 [java] 

Jenkins build is back to normal : royale-asjs #611

2020-01-22 Thread apacheroyaleci
See 




Re: Generating Royale API report failing on Mac

2020-01-22 Thread Alex Harui
IIRC, there is a step in the build process that is supposed to remove CRLF from 
certain files.  Did you use the zip or tar.gz for Mac?  It might be that if you 
use the zip on a Mac that the files may still have CRLF.  You can check the 
build log and see if the CRLF removal tasks ran or not.

I rarely use those scripts so they might have been broken for a long time.

-Alex

On 1/22/20, 11:56 AM, "Piotr Zarzycki"  wrote:

Alex, Carlos,

I have checked mxmlc file in repository and it has LF lines only which is
ok. However when I have downloaded build version of SDK [1] - that file and
others has CR LF [2] - which causes all problems on Mac.
Maybe this is problem with our build machine where after checkout something
is not right. I would suggests what line endings after checkout have that
files on our machine (I can't access it right now).

[1]

https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2Fdata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3Dreserved=0
[2] 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BWdata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3Dreserved=0

Thanks,
Piotr

śr., 22 sty 2020 o 18:38 Carlos Rovira  napisał(a):

> Hi,
>
> this could be something to do with changes done by me? if so I'm on Mac 
not
> Windows
>
> El mié., 22 ene. 2020 a las 17:11, Alex Harui ()
> escribió:
>
> >
> >
> > On 1/22/20, 4:57 AM, "Piotr Zarzycki" 
> wrote:
> >
> > Hi,
> >
> > This is the day of failing.
> >
> > I've definitely had days like this...
> >
> > Another issue which I'm struggling with is
> > failing API report generation with SDK Nightly build [1] for a 
simple
> > Hello
> > World Flex app.
> >
> >
> >
> > /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
> > /bin/sh^M: bad interpreter: No such file or directory
> >
> > Do you have any idea why it may happen ?
> >
> > That usually means that the mxmlc script has Windows line endings.
> >
> > -Alex
> >
> >
> >
>
> --
> Carlos Rovira
> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosroviradata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3Dreserved=0
>


-- 

Piotr Zarzycki

Patreon: 
*https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzyckidata=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3Dreserved=0

*




Build failed in Jenkins: royale-asjs #610

2020-01-22 Thread apacheroyaleci
See 


Changes:


--
Started by upstream project "royale-asjs_jsonly" build number 670
originally caused by:
 Started by an SCM change
 Started by upstream project "royale-typedefs" build number 289
 originally caused by:
  Started by upstream project "royale-compiler" build number 180
  originally caused by:
   Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on agent1 in workspace 

No credentials specified
 > C:\Program Files\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10
ERROR: Workspace has a .git repository, but it appears to be corrupt.
hudson.plugins.git.GitException: Error performing git command
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2183)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2142)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2138)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1743)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1755)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.hasGitRepo(CliGitAPIImpl.java:331)
at hudson.plugins.git.GitAPI.hasGitRepo(GitAPI.java:232)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at hudson.Proc$LocalProc.(Proc.java:270)
at hudson.Proc$LocalProc.(Proc.java:219)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:937)
at hudson.Launcher$ProcStarter.start(Launcher.java:455)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2170)
... 21 more
Cloning the remote Git repository
Cloning repository https://github.com/apache/royale-asjs
 > C:\Program Files\Git\cmd\git.exe init 
 >  
 > # timeout=10
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Could not init 

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:918)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:710)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
agent1
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:957)
at 

Jenkins build is back to normal : royale-compiler-integration-tests #457

2020-01-22 Thread apacheroyaleci
See 




Build failed in Jenkins: TourDeFlexMigration #532

2020-01-22 Thread apacheroyaleci
See 


Changes:

[carlosrovira] maven-distribution: remove closure library jars from js/lib 
since we

[carlosrovira] jewel-navigation: remove href since is not used anymore and 
interferes


--
[...truncated 124.50 KB...]
[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16967 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextAreaExample.swf
 in 6.043 seconds
[mxmlc] Jan 22, 2020 8:24:25 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 22, 2020 8:24:26 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] The project 'TextAreaExample' has been successfully compiled and 
optimized.
[mxmlc] 41.0210312 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-load-config=C:\jenkins\workspace\royale-asjs/frameworks/flex-config.xml
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16005 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 8.499 seconds
[mxmlc] Jan 22, 2020 8:25:03 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 22, 2020 8:25:03 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'TextExample' has been successfully compiled and 
optimized.
[mxmlc] 35.9719333 seconds
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] 

Re: Generating Royale API report failing on Mac

2020-01-22 Thread Piotr Zarzycki
Alex, Carlos,

I have checked mxmlc file in repository and it has LF lines only which is
ok. However when I have downloaded build version of SDK [1] - that file and
others has CR LF [2] - which causes all problems on Mac.
Maybe this is problem with our build machine where after checkout something
is not right. I would suggests what line endings after checkout have that
files on our machine (I can't access it right now).

[1]
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
[2] https://ibb.co/Q69p1BW

Thanks,
Piotr

śr., 22 sty 2020 o 18:38 Carlos Rovira  napisał(a):

> Hi,
>
> this could be something to do with changes done by me? if so I'm on Mac not
> Windows
>
> El mié., 22 ene. 2020 a las 17:11, Alex Harui ()
> escribió:
>
> >
> >
> > On 1/22/20, 4:57 AM, "Piotr Zarzycki" 
> wrote:
> >
> > Hi,
> >
> > This is the day of failing.
> >
> > I've definitely had days like this...
> >
> > Another issue which I'm struggling with is
> > failing API report generation with SDK Nightly build [1] for a simple
> > Hello
> > World Flex app.
> >
> >
> >
> > /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
> > /bin/sh^M: bad interpreter: No such file or directory
> >
> > Do you have any idea why it may happen ?
> >
> > That usually means that the mxmlc script has Windows line endings.
> >
> > -Alex
> >
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Build failed in Jenkins: Royale_ASDoc_Example #533

2020-01-22 Thread apacheroyaleci
See 


Changes:

[carlosrovira] maven-distribution: remove closure library jars from js/lib 
since we

[carlosrovira] jewel-navigation: remove href since is not used anymore and 
interferes


--
[...truncated 41.83 KB...]
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(167):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dasharray",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(170):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-dashoffset");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(173):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dashoffset",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(176):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linecap");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(179):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linecap",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(182):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linejoin");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(185):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linejoin",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(188):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-miterlimit");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(191):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-miterlimit",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(194):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-opacity");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(197):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-opacity",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(200):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-width");
 [java]  ^
 [java] 
 [java] 

Re: InvalidPathException: Illegal char (was: Building Royale project with Maven throws NPE)

2020-01-22 Thread Alex Harui
Is the URL for Notifier.as valid?

Do you have an older project around that you can compare the source mapping 
URLs?  Looks like Google is complaining about the source map URL.

-Alex

On 1/22/20, 9:01 AM, "Piotr Zarzycki"  wrote:

It looks like I have two separate issues - apart of behavior when I'm
building application by Maven - I'm getting this using Moonshine.

In the morning this error points to different class. Now when I downloaded
newest Nightly build - it points to some PureMVC class.

: Internal error: java.nio.file.InvalidPathException: Illegal char <:> at
index 4:

file:///D:/Work/projects/Prominic.NET/ProminicNative/repository/puremvc-as3-multicore-framework/src/org/puremvc/as3/multicore/patterns/observer/Notifier.as

sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)sun.nio.fs.AbstractPath.resolveSibling(AbstractPath.java:66)com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:102)com.google.javascript.jscomp.Compiler.getSourceMapping(Compiler.java:2898)com.google.javascript.jscomp.SourceMap.addMapping(SourceMap.java:177)com.google.javascript.jscomp.CodePrinter$MappedCodePrinter.generateSourceMap(CodePrinter.java:141)com.google.javascript.jscomp.CodePrinter.toSource(CodePrinter.java:911)com.google.javascript.jscomp.CodePrinter.access$300(CodePrinter.java:42)com.google.javascript.jscomp.CodePrinter$Builder.build(CodePrinter.java:840)com.google.javascript.jscomp.Compiler.toSource(Compiler.java:2295)com.google.javascript.jscomp.Compiler.lambda$toSource$9(Compiler.java:2256)com.google.javascript.jscomp.Compiler$$Lambda$96.1354F550.call(Unknown

Source)com.google.javascript.jscomp.CompilerExecutor.runInCompilerThread(CompilerExecutor.java:129)com.google.javascript.jscomp.Compiler.runInCompilerThread(Compiler.java:876)com.google.javascript.jscomp.Compiler.toSource(Compiler.java:2218)com.google.javascript.jscomp.Compiler.lambda$toSource$7(Compiler.java:2175)com.google.javascript.jscomp.Compiler$$Lambda$95.11211140.call(Unknown

Source)com.google.javascript.jscomp.CompilerExecutor$2.call(CompilerExecutor.java:102)java.util.concurrent.FutureTask.run(FutureTask.java:266)java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)java.lang.Thread.run(Thread.java:813)


Thanks,
Piotr

śr., 22 sty 2020 o 16:05 Piotr Zarzycki 
napisał(a):

> Build is in progress. Once it's finish I will check ->
> 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbuilds.apache.org%2Fjob%2FRoyale-compiler%2F1257%2Fdata=02%7C01%7Caharui%40adobe.com%7Cc4731bbbf9784db65de808d79f5cba04%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153092918105515sdata=%2BCAga9hDYjBZoU5yhKxxJ8WpYQXGWsTVKNgy49FHMmM%3Dreserved=0
>
> śr., 22 sty 2020 o 15:54 Carlos Rovira 
> napisał(a):
>
>> Hi Piotr,
>> latest commit seems to fix the problem. Let me know if all is now ok
>> sorry for the inconvenience
>> Carlos
>>
>> El mié., 22 ene. 2020 a las 13:51, Carlos Rovira (<
>> carlosrov...@apache.org>)
>> escribió:
>>
>> > Hi Piotr,
>> >
>> > I can see the problem is related to my latest commit in compiler to
>> solve
>> > the GOOG_HOME problem.
>> > going to fix it
>> >
>> > El mié., 22 ene. 2020 a las 13:31, Carlos Rovira (<
>> carlosrov...@apache.org>)
>> > escribió:
>> >
>> >> Hi Piotr,
>> >>
>> >> ok, now I understand... It's clear that I broke something since trying
>> to
>> >> build now with Maven is generating the same issue ;)
>> >> I was focused on making build works for IDEs, that didn't test normal
>> >> maven path yesterday.
>> >> I'll be looking over it to find where is the problem
>> >> Sorry for the confusion! :)
>> >>
>> >> El mié., 22 ene. 2020 a las 13:27, Carlos Rovira (<
>> >> carlosrov...@apache.org>) escribió:
>> >>
>> >>> Hi Piotr,
>> >>>
>> >>> before understand the mistake, I downloaded and tested SDK from
>> Jenkins
>> >>> (build #2552 that was the latest created) and build TDJ with VSCode
>> and all
>> >>> worked ok (the same output as with Maven distribution created 
locally)
>> >>> Don't know if that report can be of help for you.
>> >>>
>> >>>
>> >>>
>> >>> El mié., 22 ene. 2020 a las 13:22, Piotr Zarzycki (<
>> >>> piotrzarzyck...@gmail.com>) escribió:
>> >>>
>>  Exactly we are not discussion any stuff related to distribution :) 
We
>>  are
>>  discussion at some point that maybe for some reason 

Re: Apache PMCs: your chance to support your projects with Outreachy internships

2020-01-22 Thread Harbs
I personally don’t have the bandwidth (although I can answer questions here and 
there).

> On Jan 22, 2020, at 5:34 PM, Andrew Wetmore  wrote:
> 
> Hi:
> 
> Are we organized enough, and do we have enough bandwidth, do get some
> documentation help through this program? Mentoring can take an average of
> five hours a week, although that probably does not all have to be by one
> person. It may be, though, that a person with no AS3/MXML history would
> have no idea how to contribute.
> 
> a
> 
> -- Forwarded message -
> From: Sally Khudairi 
> Date: Tue, Jan 21, 2020 at 2:06 PM
> Subject: Apache PMCs: your chance to support your projects with Outreachy
> internships
> To: ASF Marketing & Publicity 
> 
> 
> Hello Apache PMCs --I hope you're having a great week thus far.
> 
> The ASF (through our Diversity & Inclusion committee) is a mentoring
> organization with Outreachy, a program organized by the Software Freedom
> Conservancy. Outreachy provides paid internships to those who are
> under-represented in technology, including women, individuals from the
> African American, Hispanic/Latinx, and Native American/Alaskan/Hawaiian
> communities, among others.
> 
> This year's Outreachy internships will run May-August 2020. Interns will
> work full-time and remotely with individual mentors from our community (=
> PMC members). Interns can work on a range of projects, such as programming,
> documentation, data science, user experience, marketing, graphic design,
> and more.
> 
> Several internships are available to Apache Projects: all PMCs are welcome
> to apply to propose work projects for Outreachy interns. The program works
> in a similar manner as GSoC, where candidate interns select which
> project/activity they’d like to work on. The more work projects proposed,
> the greater your Project's chance of being selected!
> 
> This is a great chance to give deserving individuals of diverse
> backgrounds, genders, and ages a chance to contribute to Open Source in
> many different ways. Helping others helps Apache Projects and our
> communities.
> 
> NOTE: The deadline to submit work project proposals to is 25 February 2020
> at 4PM UTC. We encourage you to review the Outreachy mentor FAQ as you
> consider this opportunity https://www.outreachy.org/mentor/mentor-faq/
> 
> Those PMCs ready to apply as mentors may do so directly at
> https://www.outreachy.org/communities/cfp/apache/
> 
> For help crafting your project proposal, please contact the Apache
> coordinators --Matt Sicker, Awasum Yannick, and Katia Rojas-- at <
> d...@diversity.apache.org>.
> 
> To learn more about ASF Diversity & Inclusion, visit
> https://diversity.apache.org/
> To learn more about Outreachy, visit https://www.outreachy.org/
> 
> We appreciate your interest and look forward to hearing from you.
> 
> On behalf of ASF Diversity & Inclusion,
> Sally
> 
> - - -
> Vice President Marketing & Publicity
> Vice President Sponsor Relations
> The Apache Software Foundation
> 
> Tel +1 617 921 8656 | s...@apache.org
> 
> 
> -- 
> Andrew Wetmore
> 
> http://cottage14.blogspot.com/



Build failed in Jenkins: royale-compiler-integration-tests #456

2020-01-22 Thread apacheroyaleci
See 


Changes:

[carlosrovira] maven: fix compilation from maven since latest changes break it

[carlosrovira] maven: more closure library places were left in the latest change


--
[...truncated 131.45 KB...]
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:277: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
[junit]   for (let i = isArrayLike ? 0 : 1; i < keys.length; i++) {
[junit]^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:307: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:329: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:351: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const key = goog.object.findKey(obj, f, opt_this);
[junit]   ^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:363: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:376: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const i in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:390: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
[junit]   let rv;
[junit]   ^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:480: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const val = f();
[junit]   ^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:495: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const k in a) {
[junit]^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:500: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const k in b) {
[junit]^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:520: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const res = {};
[junit]   ^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:521: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:545: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const type = goog.typeOf(obj);
[junit]   ^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:550: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit] const clone = type == 'array' ? [] : {};
[junit] ^
[junit] 
[junit] Jan 22, 2020 6:05:16 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:551: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or 

Re: Generating Royale API report failing on Mac

2020-01-22 Thread Carlos Rovira
Hi,

this could be something to do with changes done by me? if so I'm on Mac not
Windows

El mié., 22 ene. 2020 a las 17:11, Alex Harui ()
escribió:

>
>
> On 1/22/20, 4:57 AM, "Piotr Zarzycki"  wrote:
>
> Hi,
>
> This is the day of failing.
>
> I've definitely had days like this...
>
> Another issue which I'm struggling with is
> failing API report generation with SDK Nightly build [1] for a simple
> Hello
> World Flex app.
>
>
>
> /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
> /bin/sh^M: bad interpreter: No such file or directory
>
> Do you have any idea why it may happen ?
>
> That usually means that the mxmlc script has Windows line endings.
>
> -Alex
>
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Maven Distribution SDK fixed and working for IDEs

2020-01-22 Thread Carlos Rovira
Hi Piotr,

it surprise me that due all the changes done in maven builds.a.o was not
failing. I've even didn't repare that will need to be updated.

These profiles does not exist anymore:
generate-swf,generate-swcs-for-swf,main,build-distribution,build-examples

Here's the updated doc for maven simplified [1]

In sort:

1.- Only env var needed in Maven now is FLASHPLAYER_DEBUGGER
2.- Build from an empty repo is now more reliable (something that was a
real headache)
3.- Profiles are reduced to:


   - with-ui-testsuite
   - option-with-swf
   - with-examples
   - with-distribution

Can you upgrade builds.a.o to use this profiles?

[1]
https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven




El mié., 22 ene. 2020 a las 17:40, Piotr Zarzycki (<
piotrzarzyck...@gmail.com>) escribió:

> Carlos,
>
> What has change more in case of Maven build for framework? On builds.a.o we
> have following command which running royale-asjs. It looks like something
> is missing, cause I have removed locally my org.apache.royale folder from
> .m2 and start building PureMVC to swc. [1] - It throws exception now.
>
> Could not resolve dependencies for project
> org.puremvc:puremvc-royale-as3-multicore-framework:swc:0.1.0-SNAPSHOT:
> Failure to find org.apache.royale.framework:Core:swc:swf:0.9.7-SNAPSHOT in
> https://repository.apache.org/content/repositories/snapshots was cached in
> the local repository, resolution will not be reattempted until the update
> interval of apache-snapshots has elapsed or updates are forced
>
> Above means that it probably doesn't exists in Apache Maven central...
>
> Command on builds.a.o:
>
> -U
> clean
> deploy
> -P
>
> generate-swf,generate-swcs-for-swf,main,build-distribution,build-examples,apache-snapshots-enabled
>
> -Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=sometoken
>
> -Dwebdriver.gecko.driver=F:\jenkins\tools\geckodriver\0.23.0\win64\geckodriver.exe
> -Dgenerate.swf.swcs=true
> -Dgenerate.swf
>
> [1] https://github.com/piotrzarzycki21/puremvc-as3-multicore-framework
>
> Thanks,
> Piotr
>
> śr., 22 sty 2020 o 12:29 Piotr Zarzycki 
> napisał(a):
>
> > Ok let's wait to see whether someone actually know what is the version.
> >
> > śr., 22 sty 2020 o 12:27 Carlos Rovira 
> > napisał(a):
> >
> >> Hi Piotr,
> >>
> >> I explained in this thread that I couldn't find in maven the same exact
> >> version that ANT one, I put the closest in date available from maven
> >> I proposed as well if we can upgrade ANT/MAVEN to the same one that
> works.
> >> Other thing is that maybe I fail in the search and the version could
> >> exists, in that case hope other can indicate the maven descriptor to
> >> update
> >> it.
> >>
> >> thanks
> >>
> >>
> >>
> >> El mié., 22 ene. 2020 a las 12:11, Piotr Zarzycki (<
> >> piotrzarzyck...@gmail.com>) escribió:
> >>
> >> > Why you didn't use exactly the same version ? Maybe this is the reason
> >> why
> >> > my application is failing.
> >> >
> >> > I see this in Maven:
> >> > 
> >> > com.google.javascript
> >> > closure-compiler
> >> > v20181210
> >> > 
> >> > 
> >> > org.clojure
> >> > google-closure-library
> >> > 0.0-20190213-2033d5d9
> >> > 
> >> >
> >> > śr., 22 sty 2020 o 10:52 Carlos Rovira 
> >> > napisał(a):
> >> >
> >> > > Hi Alex,
> >> > >
> >> > > I didn't put the latest one. Used the closest one in dates to the
> one
> >> in
> >> > > ANT. Should be that valid? And how can I ensure compatibility? Where
> >> to
> >> > > check that?
> >> > > But what I really want to do is update ANT/MAVEN to the same one
> that
> >> is
> >> > ok
> >> > > for all of us. We need to ensure one that is available for both.
> >> > >
> >> > > thanks
> >> > >
> >> > >
> >> > > El mié., 22 ene. 2020 a las 2:41, Alex Harui
> >> ( >> > >)
> >> > > escribió:
> >> > >
> >> > > > You may not want the latest closure library.  You probably want
> one
> >> > that
> >> > > > is compatible with the closure compiler.
> >> > > >
> >> > > > HTH,
> >> > > > -Alex
> >> > > >
> >> > > > On 1/21/20, 5:20 PM, "Carlos Rovira" 
> >> wrote:
> >> > > >
> >> > > > Hi,
> >> > > >
> >> > > > Josh discover that there was an issue. If we have GOOG_HOME
> env
> >> var
> >> > > the
> >> > > > maven distribution worked right, but if you don't have,
> >> compilation
> >> > > > fails.
> >> > > > I have it in my system while developing this. So I just fixed
> it
> >> > some
> >> > > > minutes ago.
> >> > > >
> >> > > > One thing: There's no maven artifact for the closure-library
> >> > > v20180910
> >> > > > (the
> >> > > > one used by ANT), next one is 0.0-20190213-2033d5d9, so we
> need
> >> to
> >> > > use
> >> > > > that
> >> > > > for maven (or maybe I was too bad trying to find the
> >> corresponding
> >> > > > maven
> >> > > > artifact, so if someone knows, please let me know!).
> >> > > >
> >> > > > So, can we upgrade ANT to v20190213 too? From now on, we
> should
> >> > check
> >> > > > versions exists for ANT 

Build failed in Jenkins: TourDeFlexMigration #531

2020-01-22 Thread apacheroyaleci
See 


Changes:

[carlosrovira] maven: replace closure library in the rest of places


--
[...truncated 125.16 KB...]
[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16973 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextAreaExample.swf
 in 4.335 seconds
[mxmlc] Jan 22, 2020 5:30:15 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 22, 2020 5:30:15 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] The project 'TextAreaExample' has been successfully compiled and 
optimized.
[mxmlc] 34.2091174 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-load-config=C:\jenkins\workspace\royale-asjs/frameworks/flex-config.xml
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16004 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 9.997 seconds
[mxmlc] Jan 22, 2020 5:30:56 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 22, 2020 5:30:56 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] The project 'TextExample' has been successfully compiled and 
optimized.
[mxmlc] 40.6476465 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false

InvalidPathException: Illegal char (was: Building Royale project with Maven throws NPE)

2020-01-22 Thread Piotr Zarzycki
It looks like I have two separate issues - apart of behavior when I'm
building application by Maven - I'm getting this using Moonshine.

In the morning this error points to different class. Now when I downloaded
newest Nightly build - it points to some PureMVC class.

: Internal error: java.nio.file.InvalidPathException: Illegal char <:> at
index 4:
file:///D:/Work/projects/Prominic.NET/ProminicNative/repository/puremvc-as3-multicore-framework/src/org/puremvc/as3/multicore/patterns/observer/Notifier.as
sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)sun.nio.fs.AbstractPath.resolveSibling(AbstractPath.java:66)com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:102)com.google.javascript.jscomp.Compiler.getSourceMapping(Compiler.java:2898)com.google.javascript.jscomp.SourceMap.addMapping(SourceMap.java:177)com.google.javascript.jscomp.CodePrinter$MappedCodePrinter.generateSourceMap(CodePrinter.java:141)com.google.javascript.jscomp.CodePrinter.toSource(CodePrinter.java:911)com.google.javascript.jscomp.CodePrinter.access$300(CodePrinter.java:42)com.google.javascript.jscomp.CodePrinter$Builder.build(CodePrinter.java:840)com.google.javascript.jscomp.Compiler.toSource(Compiler.java:2295)com.google.javascript.jscomp.Compiler.lambda$toSource$9(Compiler.java:2256)com.google.javascript.jscomp.Compiler$$Lambda$96.1354F550.call(Unknown
Source)com.google.javascript.jscomp.CompilerExecutor.runInCompilerThread(CompilerExecutor.java:129)com.google.javascript.jscomp.Compiler.runInCompilerThread(Compiler.java:876)com.google.javascript.jscomp.Compiler.toSource(Compiler.java:2218)com.google.javascript.jscomp.Compiler.lambda$toSource$7(Compiler.java:2175)com.google.javascript.jscomp.Compiler$$Lambda$95.11211140.call(Unknown
Source)com.google.javascript.jscomp.CompilerExecutor$2.call(CompilerExecutor.java:102)java.util.concurrent.FutureTask.run(FutureTask.java:266)java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)java.lang.Thread.run(Thread.java:813)


Thanks,
Piotr

śr., 22 sty 2020 o 16:05 Piotr Zarzycki 
napisał(a):

> Build is in progress. Once it's finish I will check ->
> https://builds.apache.org/job/Royale-compiler/1257/
>
> śr., 22 sty 2020 o 15:54 Carlos Rovira 
> napisał(a):
>
>> Hi Piotr,
>> latest commit seems to fix the problem. Let me know if all is now ok
>> sorry for the inconvenience
>> Carlos
>>
>> El mié., 22 ene. 2020 a las 13:51, Carlos Rovira (<
>> carlosrov...@apache.org>)
>> escribió:
>>
>> > Hi Piotr,
>> >
>> > I can see the problem is related to my latest commit in compiler to
>> solve
>> > the GOOG_HOME problem.
>> > going to fix it
>> >
>> > El mié., 22 ene. 2020 a las 13:31, Carlos Rovira (<
>> carlosrov...@apache.org>)
>> > escribió:
>> >
>> >> Hi Piotr,
>> >>
>> >> ok, now I understand... It's clear that I broke something since trying
>> to
>> >> build now with Maven is generating the same issue ;)
>> >> I was focused on making build works for IDEs, that didn't test normal
>> >> maven path yesterday.
>> >> I'll be looking over it to find where is the problem
>> >> Sorry for the confusion! :)
>> >>
>> >> El mié., 22 ene. 2020 a las 13:27, Carlos Rovira (<
>> >> carlosrov...@apache.org>) escribió:
>> >>
>> >>> Hi Piotr,
>> >>>
>> >>> before understand the mistake, I downloaded and tested SDK from
>> Jenkins
>> >>> (build #2552 that was the latest created) and build TDJ with VSCode
>> and all
>> >>> worked ok (the same output as with Maven distribution created locally)
>> >>> Don't know if that report can be of help for you.
>> >>>
>> >>>
>> >>>
>> >>> El mié., 22 ene. 2020 a las 13:22, Piotr Zarzycki (<
>> >>> piotrzarzyck...@gmail.com>) escribió:
>> >>>
>>  Exactly we are not discussion any stuff related to distribution :) We
>>  are
>>  discussion at some point that maybe for some reason your changes
>>  influence
>>  somehow compiler or anything else which end up with above error.
>> Maybe
>>  that
>>  closure upgrade - I don't know. I look forward to hear more from
>> someone
>>  what could know the reason of my issue.
>> 
>>  śr., 22 sty 2020 o 13:16 Carlos Rovira 
>>  napisał(a):
>> 
>>  > Hi Piotr,
>>  >
>>  > El mié., 22 ene. 2020 a las 13:00, Piotr Zarzycki (<
>>  > piotrzarzyck...@gmail.com>) escribió:
>>  >
>>  > >
>>  > >
>>  > > Nope. Let's pretend that you have clean PC. You have downloaded
>> your
>>  > Royale
>>  > > application which contains pom.xml - You do "mvn clean install" -
>>  All the
>>  > > dependencies will be downloaded from Apache Maven Central
>>  repository -
>> 

Build failed in Jenkins: Royale_ASDoc_Example #532

2020-01-22 Thread apacheroyaleci
See 


Changes:

[carlosrovira] maven: replace closure library in the rest of places


--
[...truncated 42.48 KB...]
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(167):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dasharray",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(170):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-dashoffset");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(173):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dashoffset",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(176):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linecap");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(179):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linecap",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(182):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linejoin");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(185):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linejoin",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(188):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-miterlimit");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(191):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-miterlimit",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(194):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-opacity");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(197):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-opacity",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(200):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-width");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(203):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type 

Re: Maven Distribution SDK fixed and working for IDEs

2020-01-22 Thread Piotr Zarzycki
Carlos,

What has change more in case of Maven build for framework? On builds.a.o we
have following command which running royale-asjs. It looks like something
is missing, cause I have removed locally my org.apache.royale folder from
.m2 and start building PureMVC to swc. [1] - It throws exception now.

Could not resolve dependencies for project
org.puremvc:puremvc-royale-as3-multicore-framework:swc:0.1.0-SNAPSHOT:
Failure to find org.apache.royale.framework:Core:swc:swf:0.9.7-SNAPSHOT in
https://repository.apache.org/content/repositories/snapshots was cached in
the local repository, resolution will not be reattempted until the update
interval of apache-snapshots has elapsed or updates are forced

Above means that it probably doesn't exists in Apache Maven central...

Command on builds.a.o:

-U
clean
deploy
-P
generate-swf,generate-swcs-for-swf,main,build-distribution,build-examples,apache-snapshots-enabled
-Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=sometoken
-Dwebdriver.gecko.driver=F:\jenkins\tools\geckodriver\0.23.0\win64\geckodriver.exe
-Dgenerate.swf.swcs=true
-Dgenerate.swf

[1] https://github.com/piotrzarzycki21/puremvc-as3-multicore-framework

Thanks,
Piotr

śr., 22 sty 2020 o 12:29 Piotr Zarzycki 
napisał(a):

> Ok let's wait to see whether someone actually know what is the version.
>
> śr., 22 sty 2020 o 12:27 Carlos Rovira 
> napisał(a):
>
>> Hi Piotr,
>>
>> I explained in this thread that I couldn't find in maven the same exact
>> version that ANT one, I put the closest in date available from maven
>> I proposed as well if we can upgrade ANT/MAVEN to the same one that works.
>> Other thing is that maybe I fail in the search and the version could
>> exists, in that case hope other can indicate the maven descriptor to
>> update
>> it.
>>
>> thanks
>>
>>
>>
>> El mié., 22 ene. 2020 a las 12:11, Piotr Zarzycki (<
>> piotrzarzyck...@gmail.com>) escribió:
>>
>> > Why you didn't use exactly the same version ? Maybe this is the reason
>> why
>> > my application is failing.
>> >
>> > I see this in Maven:
>> > 
>> > com.google.javascript
>> > closure-compiler
>> > v20181210
>> > 
>> > 
>> > org.clojure
>> > google-closure-library
>> > 0.0-20190213-2033d5d9
>> > 
>> >
>> > śr., 22 sty 2020 o 10:52 Carlos Rovira 
>> > napisał(a):
>> >
>> > > Hi Alex,
>> > >
>> > > I didn't put the latest one. Used the closest one in dates to the one
>> in
>> > > ANT. Should be that valid? And how can I ensure compatibility? Where
>> to
>> > > check that?
>> > > But what I really want to do is update ANT/MAVEN to the same one that
>> is
>> > ok
>> > > for all of us. We need to ensure one that is available for both.
>> > >
>> > > thanks
>> > >
>> > >
>> > > El mié., 22 ene. 2020 a las 2:41, Alex Harui
>> (> > >)
>> > > escribió:
>> > >
>> > > > You may not want the latest closure library.  You probably want one
>> > that
>> > > > is compatible with the closure compiler.
>> > > >
>> > > > HTH,
>> > > > -Alex
>> > > >
>> > > > On 1/21/20, 5:20 PM, "Carlos Rovira" 
>> wrote:
>> > > >
>> > > > Hi,
>> > > >
>> > > > Josh discover that there was an issue. If we have GOOG_HOME env
>> var
>> > > the
>> > > > maven distribution worked right, but if you don't have,
>> compilation
>> > > > fails.
>> > > > I have it in my system while developing this. So I just fixed it
>> > some
>> > > > minutes ago.
>> > > >
>> > > > One thing: There's no maven artifact for the closure-library
>> > > v20180910
>> > > > (the
>> > > > one used by ANT), next one is 0.0-20190213-2033d5d9, so we need
>> to
>> > > use
>> > > > that
>> > > > for maven (or maybe I was too bad trying to find the
>> corresponding
>> > > > maven
>> > > > artifact, so if someone knows, please let me know!).
>> > > >
>> > > > So, can we upgrade ANT to v20190213 too? From now on, we should
>> > check
>> > > > versions exists for ANT and MAVEN artifacts.
>> > > >
>> > > > @Piotr Zarzycki   let me know if you
>> > can
>> > > > get it
>> > > > work with latest changes just done.
>> > > >
>> > > > Thanks
>> > > >
>> > > >
>> > > >
>> > > > El mar., 21 ene. 2020 a las 17:53, Carlos Rovira (<
>> > > > carlosrov...@apache.org>)
>> > > > escribió:
>> > > >
>> > > > > Hi Piotr,
>> > > > >
>> > > > > yes, you're using an old command, maven was extremely
>> simplified
>> > > > thanks to
>> > > > > Chris Dutz contribution 1 or 2 months ago.
>> > > > > 'generate.swf.swcs' does not exists. Check the instructions I
>> put
>> > > or
>> > > > go to
>> > > > > the updated docs here [1]. I updated that page to have all the
>> > > > latest valid
>> > > > > info.
>> > > > >
>> > > > > I'm planing with Chris, to work soon in more improvements:
>> > > > >
>> > > > > 1.- Make Maven distribution for js-only (just removing
>> > > > -option-with-swf
>> > > > > that now is required)
>> > > > > 2.- Try to have just one repo
>> > > > > 3.- Simplify release 

Re: [Discuss] google closure library version for ANT/MAVEN (Re: Maven Distribution SDK fixed and working for IDEs)

2020-01-22 Thread Alex Harui
And, IMO, we don't want to be bound to ClojureScript's release dates if we can 
help it.  Perhaps those who want to see Maven releases from Google will have to 
contribute to Google a patch that builds a Maven artifact or publishes one 
based on a particular release artifact.  It might be worth filing a ticket in 
their bug tracker to see if they are interested in Maven for Closure Library.

Another possibility is that we package Closure Library in one of our Maven 
artifacts based on a tag.  Not sure how hard that would be.

-Alex

On 1/22/20, 7:42 AM, "Josh Tynjala"  wrote:

It's unfortunate that there isn't an official Maven release of Closure
library that's managed by Google, like there is for Closure compiler.

For context, we are currently using an "non-official" Maven release by the
ClojureScript team. (Despite the similar name, ClojureScript has no
relation to Google's Closure. ClojureScript just happens to use the
compiler and library.)


https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsearch.maven.org%2Fartifact%2Forg.clojure%2Fgoogle-closure-librarydata=02%7C01%7Caharui%40adobe.com%7Cab08976fe8ff4b3e1bfb08d79f51b881%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153045645709239sdata=wZVd%2FiE3SC9P5iuTW38TUbfrHg5%2Fm4UkvSg188rp%2B5A%3Dreserved=0

This may be a situation where Maven needs to do things differently than it
normally would, and download Closure library from Github, like Ant is doing.


https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgoogle%2Fclosure-library%2Farchive%2Fv20180910.zipdata=02%7C01%7Caharui%40adobe.com%7Cab08976fe8ff4b3e1bfb08d79f51b881%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153045645719233sdata=%2BNkUZnYTfbWAMSdSd79oF%2FyBfilcFzLdhXEFwL%2FxP0o%3Dreserved=0

--
Josh Tynjala
Bowler Hat LLC 



On Wed, Jan 22, 2020 at 3:52 AM Carlos Rovira 
wrote:

> Hi,
>
> now that maven distribution is working we need help of community here to
> get the proper google closure library version that works properly for
> Apache Royale and is available for both ANT and Maven.
>
> There's no maven artifact for the closure-library v20180910 (the one used
> by ANT actually), next closet one available as a maven artifact is
> 0.0-20190213-2033d5d9
> So is this one ok? if so can we upgrade ANT one to that version?
>
> Maybe we could want to add even a newer one for any reason?
>
> Thanks!
>
> Carlos
>
>
> El mié., 22 ene. 2020 a las 12:26, Carlos Rovira ( >)
> escribió:
>
> > Hi Piotr,
> >
> > I explained in this thread that I couldn't find in maven the same exact
> > version that ANT one, I put the closest in date available from maven
> > I proposed as well if we can upgrade ANT/MAVEN to the same one that
> works.
> > Other thing is that maybe I fail in the search and the version could
> > exists, in that case hope other can indicate the maven descriptor to
> update
> > it.
> >
> > thanks
> >
> >
> >
> --
> Carlos Rovira
> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosroviradata=02%7C01%7Caharui%40adobe.com%7Cab08976fe8ff4b3e1bfb08d79f51b881%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153045645719233sdata=L%2Fnnd1OCW1zl4%2FdxTBT1KFS1gFDZ5jJtZDsxtSEJEHg%3Dreserved=0
>




Re: Generating Royale API report failing on Mac

2020-01-22 Thread Alex Harui


On 1/22/20, 4:57 AM, "Piotr Zarzycki"  wrote:

Hi,

This is the day of failing. 

I've definitely had days like this...

Another issue which I'm struggling with is
failing API report generation with SDK Nightly build [1] for a simple Hello
World Flex app.


/Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
/bin/sh^M: bad interpreter: No such file or directory

Do you have any idea why it may happen ?

That usually means that the mxmlc script has Windows line endings.

-Alex
 



Re: [Discuss] google closure library version for ANT/MAVEN (Re: Maven Distribution SDK fixed and working for IDEs)

2020-01-22 Thread Josh Tynjala
It's unfortunate that there isn't an official Maven release of Closure
library that's managed by Google, like there is for Closure compiler.

For context, we are currently using an "non-official" Maven release by the
ClojureScript team. (Despite the similar name, ClojureScript has no
relation to Google's Closure. ClojureScript just happens to use the
compiler and library.)

https://search.maven.org/artifact/org.clojure/google-closure-library

This may be a situation where Maven needs to do things differently than it
normally would, and download Closure library from Github, like Ant is doing.

https://github.com/google/closure-library/archive/v20180910.zip

--
Josh Tynjala
Bowler Hat LLC 


On Wed, Jan 22, 2020 at 3:52 AM Carlos Rovira 
wrote:

> Hi,
>
> now that maven distribution is working we need help of community here to
> get the proper google closure library version that works properly for
> Apache Royale and is available for both ANT and Maven.
>
> There's no maven artifact for the closure-library v20180910 (the one used
> by ANT actually), next closet one available as a maven artifact is
> 0.0-20190213-2033d5d9
> So is this one ok? if so can we upgrade ANT one to that version?
>
> Maybe we could want to add even a newer one for any reason?
>
> Thanks!
>
> Carlos
>
>
> El mié., 22 ene. 2020 a las 12:26, Carlos Rovira ( >)
> escribió:
>
> > Hi Piotr,
> >
> > I explained in this thread that I couldn't find in maven the same exact
> > version that ANT one, I put the closest in date available from maven
> > I proposed as well if we can upgrade ANT/MAVEN to the same one that
> works.
> > Other thing is that maybe I fail in the search and the version could
> > exists, in that case hope other can indicate the maven descriptor to
> update
> > it.
> >
> > thanks
> >
> >
> >
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


Fwd: Apache PMCs: your chance to support your projects with Outreachy internships

2020-01-22 Thread Andrew Wetmore
Hi:

Are we organized enough, and do we have enough bandwidth, do get some
documentation help through this program? Mentoring can take an average of
five hours a week, although that probably does not all have to be by one
person. It may be, though, that a person with no AS3/MXML history would
have no idea how to contribute.

a

-- Forwarded message -
From: Sally Khudairi 
Date: Tue, Jan 21, 2020 at 2:06 PM
Subject: Apache PMCs: your chance to support your projects with Outreachy
internships
To: ASF Marketing & Publicity 


Hello Apache PMCs --I hope you're having a great week thus far.

The ASF (through our Diversity & Inclusion committee) is a mentoring
organization with Outreachy, a program organized by the Software Freedom
Conservancy. Outreachy provides paid internships to those who are
under-represented in technology, including women, individuals from the
African American, Hispanic/Latinx, and Native American/Alaskan/Hawaiian
communities, among others.

This year's Outreachy internships will run May-August 2020. Interns will
work full-time and remotely with individual mentors from our community (=
PMC members). Interns can work on a range of projects, such as programming,
documentation, data science, user experience, marketing, graphic design,
and more.

Several internships are available to Apache Projects: all PMCs are welcome
to apply to propose work projects for Outreachy interns. The program works
in a similar manner as GSoC, where candidate interns select which
project/activity they’d like to work on. The more work projects proposed,
the greater your Project's chance of being selected!

This is a great chance to give deserving individuals of diverse
backgrounds, genders, and ages a chance to contribute to Open Source in
many different ways. Helping others helps Apache Projects and our
communities.

NOTE: The deadline to submit work project proposals to is 25 February 2020
at 4PM UTC. We encourage you to review the Outreachy mentor FAQ as you
consider this opportunity https://www.outreachy.org/mentor/mentor-faq/

Those PMCs ready to apply as mentors may do so directly at
https://www.outreachy.org/communities/cfp/apache/

For help crafting your project proposal, please contact the Apache
coordinators --Matt Sicker, Awasum Yannick, and Katia Rojas-- at <
d...@diversity.apache.org>.

To learn more about ASF Diversity & Inclusion, visit
https://diversity.apache.org/
To learn more about Outreachy, visit https://www.outreachy.org/

We appreciate your interest and look forward to hearing from you.

On behalf of ASF Diversity & Inclusion,
Sally

- - -
Vice President Marketing & Publicity
Vice President Sponsor Relations
The Apache Software Foundation

Tel +1 617 921 8656 | s...@apache.org


-- 
Andrew Wetmore

http://cottage14.blogspot.com/


Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
Build is in progress. Once it's finish I will check ->
https://builds.apache.org/job/Royale-compiler/1257/

śr., 22 sty 2020 o 15:54 Carlos Rovira  napisał(a):

> Hi Piotr,
> latest commit seems to fix the problem. Let me know if all is now ok
> sorry for the inconvenience
> Carlos
>
> El mié., 22 ene. 2020 a las 13:51, Carlos Rovira ( >)
> escribió:
>
> > Hi Piotr,
> >
> > I can see the problem is related to my latest commit in compiler to solve
> > the GOOG_HOME problem.
> > going to fix it
> >
> > El mié., 22 ene. 2020 a las 13:31, Carlos Rovira (<
> carlosrov...@apache.org>)
> > escribió:
> >
> >> Hi Piotr,
> >>
> >> ok, now I understand... It's clear that I broke something since trying
> to
> >> build now with Maven is generating the same issue ;)
> >> I was focused on making build works for IDEs, that didn't test normal
> >> maven path yesterday.
> >> I'll be looking over it to find where is the problem
> >> Sorry for the confusion! :)
> >>
> >> El mié., 22 ene. 2020 a las 13:27, Carlos Rovira (<
> >> carlosrov...@apache.org>) escribió:
> >>
> >>> Hi Piotr,
> >>>
> >>> before understand the mistake, I downloaded and tested SDK from Jenkins
> >>> (build #2552 that was the latest created) and build TDJ with VSCode
> and all
> >>> worked ok (the same output as with Maven distribution created locally)
> >>> Don't know if that report can be of help for you.
> >>>
> >>>
> >>>
> >>> El mié., 22 ene. 2020 a las 13:22, Piotr Zarzycki (<
> >>> piotrzarzyck...@gmail.com>) escribió:
> >>>
>  Exactly we are not discussion any stuff related to distribution :) We
>  are
>  discussion at some point that maybe for some reason your changes
>  influence
>  somehow compiler or anything else which end up with above error. Maybe
>  that
>  closure upgrade - I don't know. I look forward to hear more from
> someone
>  what could know the reason of my issue.
> 
>  śr., 22 sty 2020 o 13:16 Carlos Rovira 
>  napisał(a):
> 
>  > Hi Piotr,
>  >
>  > El mié., 22 ene. 2020 a las 13:00, Piotr Zarzycki (<
>  > piotrzarzyck...@gmail.com>) escribió:
>  >
>  > >
>  > >
>  > > Nope. Let's pretend that you have clean PC. You have downloaded
> your
>  > Royale
>  > > application which contains pom.xml - You do "mvn clean install" -
>  All the
>  > > dependencies will be downloaded from Apache Maven Central
>  repository -
>  > > which is being updated by every build ->
>  > > https://builds.apache.org/job/Royale-asjs/ - Do you understand
> now
>  what
>  > > I'm
>  > > using now ?
>  > >
>  > >
>  > Ok, but in that case, you are not trying "distribution" so
> really
>  don't
>  > understand.
>  > I though we were discussing the new fixed distribution that creates
> a
>  SDK
>  > in target folder or in the folder you specify (if use
>  > -DdistributionTargetFolder var)
>  > IOW, ant and maven continue to do the same as before, since there's
> no
>  > changes out side of distribution (just class paths set ups for maven
>  > generated artifacts that until now was empty or pointing to not
>  existing
>  > resources)
>  >
>  >
>  > > No I don't have to and I shouldn't have to - I'm using artifacts
>  from
>  > > Apache Maven Central.
>  > >
>  > >
>  > In that case you're not testing distribution. Jenkins builds the
> same
>  as
>  > always. Other case will be if we can change Jenkins to build with
>  > distribution and then provide that SDK to download, that will be the
>  proper
>  > way, and what the rest of projects using maven does in fact.
>  >
>  >
>  >
>  >
>  > > --
>  > > Carlos Rovira
>  > > http://about.me/carlosrovira
>  > >
>  > >
>  > >
>  > >
>  >
> 
> 
>  --
> 
>  Piotr Zarzycki
> 
>  Patreon: *https://www.patreon.com/piotrzarzycki
>  *
> 
> >>>
> >>>
> >>> --
> >>> Carlos Rovira
> >>> http://about.me/carlosrovira
> >>>
> >>>
> >>
> >> --
> >> Carlos Rovira
> >> http://about.me/carlosrovira
> >>
> >>
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Carlos Rovira
Hi Piotr,
latest commit seems to fix the problem. Let me know if all is now ok
sorry for the inconvenience
Carlos

El mié., 22 ene. 2020 a las 13:51, Carlos Rovira ()
escribió:

> Hi Piotr,
>
> I can see the problem is related to my latest commit in compiler to solve
> the GOOG_HOME problem.
> going to fix it
>
> El mié., 22 ene. 2020 a las 13:31, Carlos Rovira ()
> escribió:
>
>> Hi Piotr,
>>
>> ok, now I understand... It's clear that I broke something since trying to
>> build now with Maven is generating the same issue ;)
>> I was focused on making build works for IDEs, that didn't test normal
>> maven path yesterday.
>> I'll be looking over it to find where is the problem
>> Sorry for the confusion! :)
>>
>> El mié., 22 ene. 2020 a las 13:27, Carlos Rovira (<
>> carlosrov...@apache.org>) escribió:
>>
>>> Hi Piotr,
>>>
>>> before understand the mistake, I downloaded and tested SDK from Jenkins
>>> (build #2552 that was the latest created) and build TDJ with VSCode and all
>>> worked ok (the same output as with Maven distribution created locally)
>>> Don't know if that report can be of help for you.
>>>
>>>
>>>
>>> El mié., 22 ene. 2020 a las 13:22, Piotr Zarzycki (<
>>> piotrzarzyck...@gmail.com>) escribió:
>>>
 Exactly we are not discussion any stuff related to distribution :) We
 are
 discussion at some point that maybe for some reason your changes
 influence
 somehow compiler or anything else which end up with above error. Maybe
 that
 closure upgrade - I don't know. I look forward to hear more from someone
 what could know the reason of my issue.

 śr., 22 sty 2020 o 13:16 Carlos Rovira 
 napisał(a):

 > Hi Piotr,
 >
 > El mié., 22 ene. 2020 a las 13:00, Piotr Zarzycki (<
 > piotrzarzyck...@gmail.com>) escribió:
 >
 > >
 > >
 > > Nope. Let's pretend that you have clean PC. You have downloaded your
 > Royale
 > > application which contains pom.xml - You do "mvn clean install" -
 All the
 > > dependencies will be downloaded from Apache Maven Central
 repository -
 > > which is being updated by every build ->
 > > https://builds.apache.org/job/Royale-asjs/ - Do you understand now
 what
 > > I'm
 > > using now ?
 > >
 > >
 > Ok, but in that case, you are not trying "distribution" so really
 don't
 > understand.
 > I though we were discussing the new fixed distribution that creates a
 SDK
 > in target folder or in the folder you specify (if use
 > -DdistributionTargetFolder var)
 > IOW, ant and maven continue to do the same as before, since there's no
 > changes out side of distribution (just class paths set ups for maven
 > generated artifacts that until now was empty or pointing to not
 existing
 > resources)
 >
 >
 > > No I don't have to and I shouldn't have to - I'm using artifacts
 from
 > > Apache Maven Central.
 > >
 > >
 > In that case you're not testing distribution. Jenkins builds the same
 as
 > always. Other case will be if we can change Jenkins to build with
 > distribution and then provide that SDK to download, that will be the
 proper
 > way, and what the rest of projects using maven does in fact.
 >
 >
 >
 >
 > > --
 > > Carlos Rovira
 > > http://about.me/carlosrovira
 > >
 > >
 > >
 > >
 >


 --

 Piotr Zarzycki

 Patreon: *https://www.patreon.com/piotrzarzycki
 *

>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira


Build failed in Jenkins: royale-compiler-integration-tests #455

2020-01-22 Thread apacheroyaleci
See 


Changes:


--
[...truncated 127.53 KB...]
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:204: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:232: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const res = [];
[junit]   ^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:233: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
[junit]   let i = 0;
[junit]   ^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:234: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:248: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const res = [];
[junit]   ^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:249: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
[junit]   let i = 0;
[junit]   ^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:250: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:271: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const isArrayLike = goog.isArrayLike(var_args);
[junit]   ^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:272: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const keys = isArrayLike ?
[junit]   ^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:277: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
[junit]   for (let i = isArrayLike ? 0 : 1; i < keys.length; i++) {
[junit]^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:307: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:329: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:351: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const key = goog.object.findKey(obj, f, opt_this);
[junit]   ^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:363: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 2:32:50 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:376: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const i in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 

Build failed in Jenkins: TourDeFlexMigration #530

2020-01-22 Thread apacheroyaleci
See 


Changes:


--
[...truncated 124.77 KB...]
[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16968 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextAreaExample.swf
 in 7.709 seconds
[mxmlc] Jan 22, 2020 1:58:28 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 22, 2020 1:58:28 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] The project 'TextAreaExample' has been successfully compiled and 
optimized.
[mxmlc] 30.6916932 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-load-config=C:\jenkins\workspace\royale-asjs/frameworks/flex-config.xml
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16005 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 9.575 seconds
[mxmlc] Jan 22, 2020 1:59:11 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 22, 2020 1:59:11 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'TextExample' has been successfully compiled and 
optimized.
[mxmlc] 42.9180987 seconds
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 

Re: Flexlib Emulation

2020-01-22 Thread Takeshita Shoichiro
The video by the Flexlib author.

http://tv.adobe.com/watch/360flex-conference/creating-reusable-components-by-ben-clinkinbeard/


On Wed, Jan 22, 2020 at 4:19 PM Takeshita Shoichiro 
wrote:

> Greg, just for your reference.  Flexlib provides MDI, multiple document
> interface.  This function allows child windows to embed other windows
> inside them as well, creating complex nested hierarchies.  Our application
> uses this function to move/resize child windows in which the image is
> displayed.
>
> 2020年1月22日(水) 13:04 Takeshita Shoichiro :
>
>> Greg, that will be a great help.  Before yourro resuming work, I will
>> create test cases from our application. ^_^
>>
>> 2020年1月22日(水) 12:53 Greg Dove :
>>
>>> I'm not familiar with that lib, but I suspect the swf graphics emulation
>>> I
>>> intend to add will help you with a bunch of those flash.display.*
>>> classes.
>>> I expect that will be on Jan 28th, I am unable to do it before then.
>>>
>>>
>>>
>>> On Wed, 22 Jan 2020, 04:52 Yishay Weiss,  wrote:
>>>
>>> > Thanks, I’ll open an issue on this so we can collaborate.
>>> >
>>> > From: Takeshita Shoichiro
>>> > Sent: Tuesday, January 21, 2020 11:12 AM
>>> > To: dev@royale.apache.org
>>> > Subject: Re: Flexlib Emulation
>>> >
>>> > Yishay,
>>> >
>>> > There are 56 kinds of flash libraries are imported in flexlib.
>>> > I could guess some of them to be replaced by the Royale libs.
>>> > If you have other candidates for emulation, appreciate it.
>>> >
>>> > flexlibRoyale
>>> > =
>>> > flash.display.Bitmap; mx.display.Bitmap;
>>> > flash.display.BitmapData; ?
>>> > flash.display.BlendMode; ?
>>> > flash.display.DisplayObject; mx.core.IUIComponent;
>>> > flash.display.DisplayObjectContainer; ?
>>> > flash.display.FrameLabel; ?
>>> > flash.display.GradientType; ?
>>> > flash.display.Graphics; mx.display.Graphics
>>> > flash.display.GraphicsStroke; ?
>>> > flash.display.InteractiveObject; ?
>>> > flash.display.JointStyle; ?
>>> > flash.display.LineScaleMode; ?
>>> > flash.display.Loader; ?
>>> > flash.display.LoaderInfo; ?
>>> > flash.display.Shape; ?
>>> > flash.display.Sprite; ?
>>> > flash.events.*; org.apache.royale.events.*;
>>> > flash.events.ContextMenuEvent; ?
>>> > flash.events.Event; org.apache.royale.events.Event;
>>> > flash.events.EventDispatcher;
>>> > org.apache.royale.events.EventDispatcher;
>>> > flash.events.EventPhase; ?
>>> > flash.events.FocusEvent; org.apache.royale.events.FocusEvent;
>>> > flash.events.IEventDispatcher;
>>> > org.apache.royale.events.IEventDispatcher;
>>> > flash.events.IOErrorEvent; ?
>>> > flash.events.KeyboardEvent;
>>>  org.apache.royale.events.KeyboardEvent;
>>> > flash.events.MouseEvent; org.apache.royale.events.Mouse.Event;
>>> > flash.events.SecurityErrorEvent; ?
>>> > flash.events.TextEvent; ?
>>> > flash.events.TimerEvent; ?
>>> > flash.filters.DisplacementMapFilter; ?
>>> > flash.filters.DisplacementMapFilterMode; ?
>>> > flash.geom.Matrix; org.apache.royale.geom.Matrix;
>>> > flash.geom.Point; org.apache.royale.geom.Point;
>>> > flash.geom.Rectangle; org.apache.royale.geom.Rectangle;
>>> > flash.net.URLLoader; org.apache.royale.net.URLLoader;
>>> > flash.net.URLLoaderDataFormat; ?
>>> > flash.net.URLRequest; org.apache.royale.net
>>> .URLRequest;
>>> > flash.system.ApplicationDomain; ?
>>> > flash.system.SecurityDomain; ?
>>> > flash.text.TextField; mx.controls.Label;
>>> > flash.text.TextFieldType; ?
>>> > flash.ui.ContextMenu; ?
>>> > flash.ui.ContextMenuItem; ?
>>> > flash.ui.Keyboard; ?
>>> > flash.ui.KeyLocation; ?
>>> > flash.utils.ByteArray; ?
>>> > flash.utils.clearInterval; ?
>>> > flash.utils.describeType; ?
>>> > flash.utils.Dictionary; ?
>>> > flash.utils.Endian; org.apache.royale.utils.Endian;
>>> > flash.utils.getDefinitionByName; ?
>>> > flash.utils.getQualifiedClassName; ?
>>> > flash.utils.getTimer; org.apache.royale.utils.getTimer;
>>> > flash.utils.Timer; org.apache.royale.utils.Timer
>>> > flash.xml.XMLNode; ?
>>> >
>>> > On Tue, Jan 21, 2020 at 3:25 AM Yishay Weiss 
>>> > wrote:
>>> >
>>> > > That would be helpful. Thanks.
>>> > >
>>> > > From: Takeshita Shoichiro
>>> > > Sent: Monday, January 20, 2020 8:20 PM
>>> > > To: dev@royale.apache.org
>>> > > Subject: Re: Flexlib Emulation
>>> > >
>>> > > Yishay, sorry, I did 

Build failed in Jenkins: Royale_ASDoc_Example #531

2020-01-22 Thread apacheroyaleci
See 


Changes:


--
[...truncated 42.06 KB...]
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(167):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dasharray",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(170):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-dashoffset");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(173):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dashoffset",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(176):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linecap");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(179):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linecap",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(182):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linejoin");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(185):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linejoin",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(188):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-miterlimit");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(191):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-miterlimit",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(194):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-opacity");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(197):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-opacity",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(200):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-width");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(203):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   

Generating Royale API report failing on Mac

2020-01-22 Thread Piotr Zarzycki
Hi,

This is the day of failing. Another issue which I'm struggling with is
failing API report generation with SDK Nightly build [1] for a simple Hello
World Flex app.

Note that version 0.9.6 of Royale does work in that scenario.

When I'm running following command in Terminal I get following error:

/Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc
-api-report=bin-debug/royaleapireport.csv
-load-config=/Users/piotr/Downloads/flex_4.16.1_air_30/frameworks/flex-config.xml
/Users/piotr/Downloads/Tests/TestApi_Report_1/src/TestApi_Report_1.mxml
-bash:
/Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
/bin/sh^M: bad interpreter: No such file or directory

Do you have any idea why it may happen ?

[1]
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/665/

Thanks,
-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Carlos Rovira
Hi Piotr,

I can see the problem is related to my latest commit in compiler to solve
the GOOG_HOME problem.
going to fix it

El mié., 22 ene. 2020 a las 13:31, Carlos Rovira ()
escribió:

> Hi Piotr,
>
> ok, now I understand... It's clear that I broke something since trying to
> build now with Maven is generating the same issue ;)
> I was focused on making build works for IDEs, that didn't test normal
> maven path yesterday.
> I'll be looking over it to find where is the problem
> Sorry for the confusion! :)
>
> El mié., 22 ene. 2020 a las 13:27, Carlos Rovira ()
> escribió:
>
>> Hi Piotr,
>>
>> before understand the mistake, I downloaded and tested SDK from Jenkins
>> (build #2552 that was the latest created) and build TDJ with VSCode and all
>> worked ok (the same output as with Maven distribution created locally)
>> Don't know if that report can be of help for you.
>>
>>
>>
>> El mié., 22 ene. 2020 a las 13:22, Piotr Zarzycki (<
>> piotrzarzyck...@gmail.com>) escribió:
>>
>>> Exactly we are not discussion any stuff related to distribution :) We are
>>> discussion at some point that maybe for some reason your changes
>>> influence
>>> somehow compiler or anything else which end up with above error. Maybe
>>> that
>>> closure upgrade - I don't know. I look forward to hear more from someone
>>> what could know the reason of my issue.
>>>
>>> śr., 22 sty 2020 o 13:16 Carlos Rovira 
>>> napisał(a):
>>>
>>> > Hi Piotr,
>>> >
>>> > El mié., 22 ene. 2020 a las 13:00, Piotr Zarzycki (<
>>> > piotrzarzyck...@gmail.com>) escribió:
>>> >
>>> > >
>>> > >
>>> > > Nope. Let's pretend that you have clean PC. You have downloaded your
>>> > Royale
>>> > > application which contains pom.xml - You do "mvn clean install" -
>>> All the
>>> > > dependencies will be downloaded from Apache Maven Central repository
>>> -
>>> > > which is being updated by every build ->
>>> > > https://builds.apache.org/job/Royale-asjs/ - Do you understand now
>>> what
>>> > > I'm
>>> > > using now ?
>>> > >
>>> > >
>>> > Ok, but in that case, you are not trying "distribution" so really
>>> don't
>>> > understand.
>>> > I though we were discussing the new fixed distribution that creates a
>>> SDK
>>> > in target folder or in the folder you specify (if use
>>> > -DdistributionTargetFolder var)
>>> > IOW, ant and maven continue to do the same as before, since there's no
>>> > changes out side of distribution (just class paths set ups for maven
>>> > generated artifacts that until now was empty or pointing to not
>>> existing
>>> > resources)
>>> >
>>> >
>>> > > No I don't have to and I shouldn't have to - I'm using artifacts from
>>> > > Apache Maven Central.
>>> > >
>>> > >
>>> > In that case you're not testing distribution. Jenkins builds the same
>>> as
>>> > always. Other case will be if we can change Jenkins to build with
>>> > distribution and then provide that SDK to download, that will be the
>>> proper
>>> > way, and what the rest of projects using maven does in fact.
>>> >
>>> >
>>> >
>>> >
>>> > > --
>>> > > Carlos Rovira
>>> > > http://about.me/carlosrovira
>>> > >
>>> > >
>>> > >
>>> > >
>>> >
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> *
>>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Carlos Rovira
Hi Piotr,

ok, now I understand... It's clear that I broke something since trying to
build now with Maven is generating the same issue ;)
I was focused on making build works for IDEs, that didn't test normal maven
path yesterday.
I'll be looking over it to find where is the problem
Sorry for the confusion! :)

El mié., 22 ene. 2020 a las 13:27, Carlos Rovira ()
escribió:

> Hi Piotr,
>
> before understand the mistake, I downloaded and tested SDK from Jenkins
> (build #2552 that was the latest created) and build TDJ with VSCode and all
> worked ok (the same output as with Maven distribution created locally)
> Don't know if that report can be of help for you.
>
>
>
> El mié., 22 ene. 2020 a las 13:22, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) escribió:
>
>> Exactly we are not discussion any stuff related to distribution :) We are
>> discussion at some point that maybe for some reason your changes influence
>> somehow compiler or anything else which end up with above error. Maybe
>> that
>> closure upgrade - I don't know. I look forward to hear more from someone
>> what could know the reason of my issue.
>>
>> śr., 22 sty 2020 o 13:16 Carlos Rovira 
>> napisał(a):
>>
>> > Hi Piotr,
>> >
>> > El mié., 22 ene. 2020 a las 13:00, Piotr Zarzycki (<
>> > piotrzarzyck...@gmail.com>) escribió:
>> >
>> > >
>> > >
>> > > Nope. Let's pretend that you have clean PC. You have downloaded your
>> > Royale
>> > > application which contains pom.xml - You do "mvn clean install" - All
>> the
>> > > dependencies will be downloaded from Apache Maven Central repository -
>> > > which is being updated by every build ->
>> > > https://builds.apache.org/job/Royale-asjs/ - Do you understand now
>> what
>> > > I'm
>> > > using now ?
>> > >
>> > >
>> > Ok, but in that case, you are not trying "distribution" so really
>> don't
>> > understand.
>> > I though we were discussing the new fixed distribution that creates a
>> SDK
>> > in target folder or in the folder you specify (if use
>> > -DdistributionTargetFolder var)
>> > IOW, ant and maven continue to do the same as before, since there's no
>> > changes out side of distribution (just class paths set ups for maven
>> > generated artifacts that until now was empty or pointing to not existing
>> > resources)
>> >
>> >
>> > > No I don't have to and I shouldn't have to - I'm using artifacts from
>> > > Apache Maven Central.
>> > >
>> > >
>> > In that case you're not testing distribution. Jenkins builds the same as
>> > always. Other case will be if we can change Jenkins to build with
>> > distribution and then provide that SDK to download, that will be the
>> proper
>> > way, and what the rest of projects using maven does in fact.
>> >
>> >
>> >
>> >
>> > > --
>> > > Carlos Rovira
>> > > http://about.me/carlosrovira
>> > >
>> > >
>> > >
>> > >
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> *
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Carlos Rovira
Hi Piotr,

before understand the mistake, I downloaded and tested SDK from Jenkins
(build #2552 that was the latest created) and build TDJ with VSCode and all
worked ok (the same output as with Maven distribution created locally)
Don't know if that report can be of help for you.



El mié., 22 ene. 2020 a las 13:22, Piotr Zarzycki (<
piotrzarzyck...@gmail.com>) escribió:

> Exactly we are not discussion any stuff related to distribution :) We are
> discussion at some point that maybe for some reason your changes influence
> somehow compiler or anything else which end up with above error. Maybe that
> closure upgrade - I don't know. I look forward to hear more from someone
> what could know the reason of my issue.
>
> śr., 22 sty 2020 o 13:16 Carlos Rovira 
> napisał(a):
>
> > Hi Piotr,
> >
> > El mié., 22 ene. 2020 a las 13:00, Piotr Zarzycki (<
> > piotrzarzyck...@gmail.com>) escribió:
> >
> > >
> > >
> > > Nope. Let's pretend that you have clean PC. You have downloaded your
> > Royale
> > > application which contains pom.xml - You do "mvn clean install" - All
> the
> > > dependencies will be downloaded from Apache Maven Central repository -
> > > which is being updated by every build ->
> > > https://builds.apache.org/job/Royale-asjs/ - Do you understand now
> what
> > > I'm
> > > using now ?
> > >
> > >
> > Ok, but in that case, you are not trying "distribution" so really
> don't
> > understand.
> > I though we were discussing the new fixed distribution that creates a SDK
> > in target folder or in the folder you specify (if use
> > -DdistributionTargetFolder var)
> > IOW, ant and maven continue to do the same as before, since there's no
> > changes out side of distribution (just class paths set ups for maven
> > generated artifacts that until now was empty or pointing to not existing
> > resources)
> >
> >
> > > No I don't have to and I shouldn't have to - I'm using artifacts from
> > > Apache Maven Central.
> > >
> > >
> > In that case you're not testing distribution. Jenkins builds the same as
> > always. Other case will be if we can change Jenkins to build with
> > distribution and then provide that SDK to download, that will be the
> proper
> > way, and what the rest of projects using maven does in fact.
> >
> >
> >
> >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> > >
> > >
> > >
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
Testing distribution is being handled in separate thread - you are mixing
subjects :)

śr., 22 sty 2020 o 13:22 Piotr Zarzycki 
napisał(a):

> Exactly we are not discussion any stuff related to distribution :) We are
> discussion at some point that maybe for some reason your changes influence
> somehow compiler or anything else which end up with above error. Maybe that
> closure upgrade - I don't know. I look forward to hear more from someone
> what could know the reason of my issue.
>
> śr., 22 sty 2020 o 13:16 Carlos Rovira 
> napisał(a):
>
>> Hi Piotr,
>>
>> El mié., 22 ene. 2020 a las 13:00, Piotr Zarzycki (<
>> piotrzarzyck...@gmail.com>) escribió:
>>
>> >
>> >
>> > Nope. Let's pretend that you have clean PC. You have downloaded your
>> Royale
>> > application which contains pom.xml - You do "mvn clean install" - All
>> the
>> > dependencies will be downloaded from Apache Maven Central repository -
>> > which is being updated by every build ->
>> > https://builds.apache.org/job/Royale-asjs/ - Do you understand now what
>> > I'm
>> > using now ?
>> >
>> >
>> Ok, but in that case, you are not trying "distribution" so really
>> don't
>> understand.
>> I though we were discussing the new fixed distribution that creates a SDK
>> in target folder or in the folder you specify (if use
>> -DdistributionTargetFolder var)
>> IOW, ant and maven continue to do the same as before, since there's no
>> changes out side of distribution (just class paths set ups for maven
>> generated artifacts that until now was empty or pointing to not existing
>> resources)
>>
>>
>> > No I don't have to and I shouldn't have to - I'm using artifacts from
>> > Apache Maven Central.
>> >
>> >
>> In that case you're not testing distribution. Jenkins builds the same as
>> always. Other case will be if we can change Jenkins to build with
>> distribution and then provide that SDK to download, that will be the
>> proper
>> way, and what the rest of projects using maven does in fact.
>>
>>
>>
>>
>> > --
>> > Carlos Rovira
>> > http://about.me/carlosrovira
>> >
>> >
>> >
>> >
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
Exactly we are not discussion any stuff related to distribution :) We are
discussion at some point that maybe for some reason your changes influence
somehow compiler or anything else which end up with above error. Maybe that
closure upgrade - I don't know. I look forward to hear more from someone
what could know the reason of my issue.

śr., 22 sty 2020 o 13:16 Carlos Rovira  napisał(a):

> Hi Piotr,
>
> El mié., 22 ene. 2020 a las 13:00, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) escribió:
>
> >
> >
> > Nope. Let's pretend that you have clean PC. You have downloaded your
> Royale
> > application which contains pom.xml - You do "mvn clean install" - All the
> > dependencies will be downloaded from Apache Maven Central repository -
> > which is being updated by every build ->
> > https://builds.apache.org/job/Royale-asjs/ - Do you understand now what
> > I'm
> > using now ?
> >
> >
> Ok, but in that case, you are not trying "distribution" so really don't
> understand.
> I though we were discussing the new fixed distribution that creates a SDK
> in target folder or in the folder you specify (if use
> -DdistributionTargetFolder var)
> IOW, ant and maven continue to do the same as before, since there's no
> changes out side of distribution (just class paths set ups for maven
> generated artifacts that until now was empty or pointing to not existing
> resources)
>
>
> > No I don't have to and I shouldn't have to - I'm using artifacts from
> > Apache Maven Central.
> >
> >
> In that case you're not testing distribution. Jenkins builds the same as
> always. Other case will be if we can change Jenkins to build with
> distribution and then provide that SDK to download, that will be the proper
> way, and what the rest of projects using maven does in fact.
>
>
>
>
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
> >
> >
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Carlos Rovira
Hi Piotr,

El mié., 22 ene. 2020 a las 13:00, Piotr Zarzycki (<
piotrzarzyck...@gmail.com>) escribió:

>
>
> Nope. Let's pretend that you have clean PC. You have downloaded your Royale
> application which contains pom.xml - You do "mvn clean install" - All the
> dependencies will be downloaded from Apache Maven Central repository -
> which is being updated by every build ->
> https://builds.apache.org/job/Royale-asjs/ - Do you understand now what
> I'm
> using now ?
>
>
Ok, but in that case, you are not trying "distribution" so really don't
understand.
I though we were discussing the new fixed distribution that creates a SDK
in target folder or in the folder you specify (if use
-DdistributionTargetFolder var)
IOW, ant and maven continue to do the same as before, since there's no
changes out side of distribution (just class paths set ups for maven
generated artifacts that until now was empty or pointing to not existing
resources)


> No I don't have to and I shouldn't have to - I'm using artifacts from
> Apache Maven Central.
>
>
In that case you're not testing distribution. Jenkins builds the same as
always. Other case will be if we can change Jenkins to build with
distribution and then provide that SDK to download, that will be the proper
way, and what the rest of projects using maven does in fact.




> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>
>


Re: Routing (was Re: Spectrum Components)

2020-01-22 Thread Carlos Rovira
Hi Harbs,

thanks for taking a look, I'll try to apply your suggestions and see if I
can make it work.

If you plan to work in that new Routing implementation, I'll wait for it to
write about it in blog and social media, since better to point people to
the more elaborated one. I as well recommend you to make it end in its own
"Routing.swc" since I think it deserves it.

As Alex dream on possibilities, I want as well to dream and I think
nowadays, a part from pure client navigation, we have server navigation,
and as other royale features people will soon try to do it. In the case of
Routing, people will want to have URLs for concrete items retrieved from
database and we should support it (was what we discussed before that in
that case, we'll be able to not have # in the url but just a friendly
permalink). Hope we can support that, since we'll be great to create, lets
say, a blog app, and as user browse posts and navigate to see a full posst,
he gets as well a friendly URL with no anchors that can be indexable by
google and retrieved (i.e, the same as Wordpress)

Thanks





El mar., 21 ene. 2020 a las 23:57, Alex Harui ()
escribió:

> If we're dreaming of the future possible implementations, one vision is
> that the route paths are computed from the currentStates of Containers.
> That might have the least setup required, it would almost be automatic.
>
> IOW, Containers have both a label and currentState property. A routing
> implementation could scan the DOM for contaners and build the path from
> label/currentState pairs.
>
> Of course, I could be wrong...
>
> -Alex
>
>
> On 1/21/20, 1:33 PM, "Harbs"  wrote:
>
> I’ve also been thinking about the router in general, and I came up
> with an idea on how to do it with beads.
>
> It’ll probably take me a few days until I implement the changes…
>
> In addition to , I think we can also offer
>  which would allow different routers to be attached to
> different places in the application and each level of the hierarchy can
> take care of its own state.
>
> Harbs
>
> > On Jan 21, 2020, at 11:29 PM, Harbs  wrote:
> >
> > FWIW, I’d like to write a version of a router which allows for more
> declarative syntax for routing to components.
> >
> > Something like this:
> > 
> > 
> > 
> >  title=“Layouts”/>
> >  title=“Grids”/>
> >  title=“Button Bar”/>
> > etc...
> > 
> > 
> > 
> >
> >> On Jan 21, 2020, at 11:20 PM, Harbs  harbs.li...@gmail.com>> wrote:
> >>
> >> To see what I mean about href links, check out this page and click
> on a link:
> >> http://spectrum-royale/SpectrumBrowser/bin/js-debug/#!link <
> http://spectrum-royale/SpectrumBrowser/bin/js-debug/#!link>
> >>
> >> Then use the side panel to navigate to the same pages.
> >>
> >>> On Jan 21, 2020, at 11:18 PM, Harbs  > wrote:
> >>>
> >>> The problem is the href in the  element in the nav. The hash is
> being changed to “#" after the router redirects.
> >>>
> >>> You need to handle routing in one of two ways (and not both).
> >>> 1. Use setState()
> >>> 2. Use href links
> >>>
> >>> To do #1, you need to remove the href from the  elements (or
> use something else such as a div or li).
> >>>
> >>> If you use href links, the logic of actually switching the views
> should be handled by the router, so for example in Card, the href should
> be  #card_panel or #!card_panel.
> >>>
> >>> Then setNavSelection will work.
> >>>
> >>> The downside of the second method is that I’m not sure how to set
> the title. Maybe that should be a separate method that can be called.
> >>>
>  On Jan 21, 2020, at 8:48 PM, Carlos Rovira <
> carlosrov...@apache.org > wrote:
> 
>  Hi Harbs,
> 
>  this paste is the MainContent.mxml from TDJ with the changes I
> tried:
> 
> 
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fez6aqdata=02%7C01%7Caharui%40adobe.com%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862520246sdata=j0E5U49VHJMKuW7u1fMxfKJ85tC2LyPr8ZTAR2yz3%2Fo%3Dreserved=0
> <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fez6aqdata=02%7C01%7Caharui%40adobe.com%7C6962e0e5e92a48ed2e2008d79eb97fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152391862530246sdata=o%2BV4TiPe5P73KQZBghLkKH70jQ2SbR0V3i0E5tnSVHA%3Dreserved=0
> >
> 
>  You can override whole file in your local and try to compile to
> see
>  results. I'm sure you'll get the right way to work for your code.
> 
>  Thanks
> 
>  Carlos
> 
> 
> 
>  El mar., 21 ene. 2020 a las 19:31, Harbs ( >) escribió:
> 
> > Oops. I thought this email went out 

Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
Comments inline:

śr., 22 sty 2020 o 12:46 Carlos Rovira  napisał(a):

> Yes, I tried, and worked from js_only links, but as I did, I recall that
> does not have any sense, since is the normal sdk Jenkins is building.
> So reset...since I think we are not understanding to each one :)
>
> Your first email talk about you building your project with maven. I suppose
> that you build distribution SDK right?
>

Nope. Let's pretend that you have clean PC. You have downloaded your Royale
application which contains pom.xml - You do "mvn clean install" - All the
dependencies will be downloaded from Apache Maven Central repository -
which is being updated by every build ->
https://builds.apache.org/job/Royale-asjs/ - Do you understand now what I'm
using now ?



> That didn't work, since the error was the one Josh stated yesterday to me
> privately (about having GOOG_HOME set) and I fixed around 12h by now.
>
> So to fix that...you must build maven distribution with latest fixes and
> feed your IDE with that distribution/SDK and report if you have some
> problems.
>
>
No I don't have to and I shouldn't have to - I'm using artifacts from
Apache Maven Central.


> From that point we can go on
>
> Thanks
>
>
> El mié., 22 ene. 2020 a las 12:37, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) escribió:
>
> > You will try to download from which Jenkins? - Do you refer to ->
> > https://builds.apache.org/job/Royale-asjs/ or >
> >
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
> >  ?
> >
> > śr., 22 sty 2020 o 12:32 Carlos Rovira 
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > one thing I already said is that currently Maven distribution is SWF
> and
> > > JS, (not JS only). I requested Chris that I want to get JS only as
> well,
> > so
> > > I need him to guide me for this change. Anyway, distribution requires
> the
> > > profile "option-with-swf" to work (in other case it fails and inform
> > about
> > > that requirement)
> > >
> > > I'll try to download from Jenkins and see what happens, since I just
> > tested
> > > locally.
> > >
> > > Thanks
> > >
> > >
> > > El mié., 22 ene. 2020 a las 12:13, Piotr Zarzycki (<
> > > piotrzarzyck...@gmail.com>) escribió:
> > >
> > > > It is possible that Moonshine issue build which is based on
> > > >
> > > >
> > >
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
> > > > -
> > > > may be something different than I reported after build by Maven.
> > > >
> > > > śr., 22 sty 2020 o 12:03 Piotr Zarzycki 
> > > > napisał(a):
> > > >
> > > > > Carlos,
> > > > >
> > > > > Just to make sure that you understand. When I'm building my
> > > application I
> > > > > don't relay on local build from sources - I only rely on what
> Jenkins
> > > is
> > > > > building. In case of Maven it would be
> > > > > https://builds.apache.org/job/Royale-asjs/ in case of Moonshine it
> > > would
> > > > > be
> > > > >
> > > >
> > >
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Piotr
> > > > >
> > > > > śr., 22 sty 2020 o 12:00 Piotr Zarzycki  >
> > > > > napisał(a):
> > > > >
> > > > >> In case of Maven I have used this ->
> > > > >> https://builds.apache.org/job/Royale-asjs/2551/ and that
> > > > >> https://builds.apache.org/job/Royale-compiler/1255/ - Those
> builds
> > > > >> should contains your changes.
> > > > >>
> > > > >> śr., 22 sty 2020 o 11:58 Carlos Rovira 
> > > > >> napisał(a):
> > > > >>
> > > > >>> Hi Piotr,
> > > > >>>
> > > > >>> first I need to know about the other email I sent just now, if
> > you're
> > > > >>> using
> > > > >>> latest sources, and depending on that will go over this
> > > > >>>
> > > > >>>
> > > > >>> El mié., 22 ene. 2020 a las 10:40, Piotr Zarzycki (<
> > > > >>> piotrzarzyck...@gmail.com>) escribió:
> > > > >>>
> > > > >>> > Ok doing build trough Moonshine it's actually also failing. I
> did
> > > > build
> > > > >>> > with -debug=false and got following exception:
> > > > >>> >
> > > > >>> > : Internal error: java.nio.file.InvalidPathException: Illegal
> > char
> > > > <:>
> > > > >>> at
> > > > >>> > index 4:
> > > > >>> >
> > > > >>> >
> > > > >>>
> > > >
> > >
> >
> file:///THIS_WAS_FULL_PATH_BUT_I_HAD_TO_DELETE_DUE_TO_confidentiality_src/net/prominic/utils/UtilsCore.as
> > > > >>> >
> > > > >>> >
> > > > >>>
> > > >
> > >
> >
> 

Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Carlos Rovira
Yes, I tried, and worked from js_only links, but as I did, I recall that
does not have any sense, since is the normal sdk Jenkins is building.
So reset...since I think we are not understanding to each one :)

Your first email talk about you building your project with maven. I suppose
that you build distribution SDK right?
That didn't work, since the error was the one Josh stated yesterday to me
privately (about having GOOG_HOME set) and I fixed around 12h by now.

So to fix that...you must build maven distribution with latest fixes and
feed your IDE with that distribution/SDK and report if you have some
problems.

>From that point we can go on

Thanks


El mié., 22 ene. 2020 a las 12:37, Piotr Zarzycki (<
piotrzarzyck...@gmail.com>) escribió:

> You will try to download from which Jenkins? - Do you refer to ->
> https://builds.apache.org/job/Royale-asjs/ or >
>
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
>  ?
>
> śr., 22 sty 2020 o 12:32 Carlos Rovira 
> napisał(a):
>
> > Hi Piotr,
> >
> > one thing I already said is that currently Maven distribution is SWF and
> > JS, (not JS only). I requested Chris that I want to get JS only as well,
> so
> > I need him to guide me for this change. Anyway, distribution requires the
> > profile "option-with-swf" to work (in other case it fails and inform
> about
> > that requirement)
> >
> > I'll try to download from Jenkins and see what happens, since I just
> tested
> > locally.
> >
> > Thanks
> >
> >
> > El mié., 22 ene. 2020 a las 12:13, Piotr Zarzycki (<
> > piotrzarzyck...@gmail.com>) escribió:
> >
> > > It is possible that Moonshine issue build which is based on
> > >
> > >
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
> > > -
> > > may be something different than I reported after build by Maven.
> > >
> > > śr., 22 sty 2020 o 12:03 Piotr Zarzycki 
> > > napisał(a):
> > >
> > > > Carlos,
> > > >
> > > > Just to make sure that you understand. When I'm building my
> > application I
> > > > don't relay on local build from sources - I only rely on what Jenkins
> > is
> > > > building. In case of Maven it would be
> > > > https://builds.apache.org/job/Royale-asjs/ in case of Moonshine it
> > would
> > > > be
> > > >
> > >
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
> > > >
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > > śr., 22 sty 2020 o 12:00 Piotr Zarzycki 
> > > > napisał(a):
> > > >
> > > >> In case of Maven I have used this ->
> > > >> https://builds.apache.org/job/Royale-asjs/2551/ and that
> > > >> https://builds.apache.org/job/Royale-compiler/1255/ - Those builds
> > > >> should contains your changes.
> > > >>
> > > >> śr., 22 sty 2020 o 11:58 Carlos Rovira 
> > > >> napisał(a):
> > > >>
> > > >>> Hi Piotr,
> > > >>>
> > > >>> first I need to know about the other email I sent just now, if
> you're
> > > >>> using
> > > >>> latest sources, and depending on that will go over this
> > > >>>
> > > >>>
> > > >>> El mié., 22 ene. 2020 a las 10:40, Piotr Zarzycki (<
> > > >>> piotrzarzyck...@gmail.com>) escribió:
> > > >>>
> > > >>> > Ok doing build trough Moonshine it's actually also failing. I did
> > > build
> > > >>> > with -debug=false and got following exception:
> > > >>> >
> > > >>> > : Internal error: java.nio.file.InvalidPathException: Illegal
> char
> > > <:>
> > > >>> at
> > > >>> > index 4:
> > > >>> >
> > > >>> >
> > > >>>
> > >
> >
> file:///THIS_WAS_FULL_PATH_BUT_I_HAD_TO_DELETE_DUE_TO_confidentiality_src/net/prominic/utils/UtilsCore.as
> > > >>> >
> > > >>> >
> > > >>>
> > >
> >
> 

Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
You will try to download from which Jenkins? - Do you refer to ->
https://builds.apache.org/job/Royale-asjs/ or >
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
 ?

śr., 22 sty 2020 o 12:32 Carlos Rovira  napisał(a):

> Hi Piotr,
>
> one thing I already said is that currently Maven distribution is SWF and
> JS, (not JS only). I requested Chris that I want to get JS only as well, so
> I need him to guide me for this change. Anyway, distribution requires the
> profile "option-with-swf" to work (in other case it fails and inform about
> that requirement)
>
> I'll try to download from Jenkins and see what happens, since I just tested
> locally.
>
> Thanks
>
>
> El mié., 22 ene. 2020 a las 12:13, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) escribió:
>
> > It is possible that Moonshine issue build which is based on
> >
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
> > -
> > may be something different than I reported after build by Maven.
> >
> > śr., 22 sty 2020 o 12:03 Piotr Zarzycki 
> > napisał(a):
> >
> > > Carlos,
> > >
> > > Just to make sure that you understand. When I'm building my
> application I
> > > don't relay on local build from sources - I only rely on what Jenkins
> is
> > > building. In case of Maven it would be
> > > https://builds.apache.org/job/Royale-asjs/ in case of Moonshine it
> would
> > > be
> > >
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
> > >
> > >
> > > Thanks,
> > > Piotr
> > >
> > > śr., 22 sty 2020 o 12:00 Piotr Zarzycki 
> > > napisał(a):
> > >
> > >> In case of Maven I have used this ->
> > >> https://builds.apache.org/job/Royale-asjs/2551/ and that
> > >> https://builds.apache.org/job/Royale-compiler/1255/ - Those builds
> > >> should contains your changes.
> > >>
> > >> śr., 22 sty 2020 o 11:58 Carlos Rovira 
> > >> napisał(a):
> > >>
> > >>> Hi Piotr,
> > >>>
> > >>> first I need to know about the other email I sent just now, if you're
> > >>> using
> > >>> latest sources, and depending on that will go over this
> > >>>
> > >>>
> > >>> El mié., 22 ene. 2020 a las 10:40, Piotr Zarzycki (<
> > >>> piotrzarzyck...@gmail.com>) escribió:
> > >>>
> > >>> > Ok doing build trough Moonshine it's actually also failing. I did
> > build
> > >>> > with -debug=false and got following exception:
> > >>> >
> > >>> > : Internal error: java.nio.file.InvalidPathException: Illegal char
> > <:>
> > >>> at
> > >>> > index 4:
> > >>> >
> > >>> >
> > >>>
> >
> file:///THIS_WAS_FULL_PATH_BUT_I_HAD_TO_DELETE_DUE_TO_confidentiality_src/net/prominic/utils/UtilsCore.as
> > >>> >
> > >>> >
> > >>>
> >
> sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)sun.nio.fs.AbstractPath.resolveSibling(AbstractPath.java:66)com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:102)com.google.javascript.jscomp.Compiler.getSourceMapping(Compiler.java:2898)com.google.javascript.jscomp.LightweightMessageFormatter.format(LightweightMessageFormatter.java:95)com.google.javascript.jscomp.LightweightMessageFormatter.formatError(LightweightMessageFormatter.java:74)com.google.javascript.jscomp.JSError.format(JSError.java:163)com.google.javascript.jscomp.LoggerErrorManager.println(LoggerErrorManager.java:53)com.google.javascript.jscomp.BasicErrorManager.generateReport(BasicErrorManager.java:39)com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager.generateReport(ThreadSafeDelegatingErrorManager.java:39)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:766)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:262)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:244)
> > >>> >
> > >>> > I'm not really sure if this is the problem with path of the file or
> > >>> > something in the code. :/
> > >>> >
> > >>> > Thanks,
> > >>> > Piotr
> > >>> >
> > >>> > śr., 22 sty 2020 o 10:19 Piotr Zarzycki  >
> > >>> > napisał(a):
> > >>> >
> > >>> > > Hi Guys,
> > >>> > >
> > >>> > > I have just tired build our project with Maven (we are using 

Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
My problem is completely unrelated to distribution - unless your changes
influence other part. - I don't use Maven distribution to build anything.

śr., 22 sty 2020 o 12:32 Carlos Rovira  napisał(a):

> Hi Piotr,
>
> one thing I already said is that currently Maven distribution is SWF and
> JS, (not JS only). I requested Chris that I want to get JS only as well, so
> I need him to guide me for this change. Anyway, distribution requires the
> profile "option-with-swf" to work (in other case it fails and inform about
> that requirement)
>
> I'll try to download from Jenkins and see what happens, since I just tested
> locally.
>
> Thanks
>
>
> El mié., 22 ene. 2020 a las 12:13, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) escribió:
>
> > It is possible that Moonshine issue build which is based on
> >
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
> > -
> > may be something different than I reported after build by Maven.
> >
> > śr., 22 sty 2020 o 12:03 Piotr Zarzycki 
> > napisał(a):
> >
> > > Carlos,
> > >
> > > Just to make sure that you understand. When I'm building my
> application I
> > > don't relay on local build from sources - I only rely on what Jenkins
> is
> > > building. In case of Maven it would be
> > > https://builds.apache.org/job/Royale-asjs/ in case of Moonshine it
> would
> > > be
> > >
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
> > >
> > >
> > > Thanks,
> > > Piotr
> > >
> > > śr., 22 sty 2020 o 12:00 Piotr Zarzycki 
> > > napisał(a):
> > >
> > >> In case of Maven I have used this ->
> > >> https://builds.apache.org/job/Royale-asjs/2551/ and that
> > >> https://builds.apache.org/job/Royale-compiler/1255/ - Those builds
> > >> should contains your changes.
> > >>
> > >> śr., 22 sty 2020 o 11:58 Carlos Rovira 
> > >> napisał(a):
> > >>
> > >>> Hi Piotr,
> > >>>
> > >>> first I need to know about the other email I sent just now, if you're
> > >>> using
> > >>> latest sources, and depending on that will go over this
> > >>>
> > >>>
> > >>> El mié., 22 ene. 2020 a las 10:40, Piotr Zarzycki (<
> > >>> piotrzarzyck...@gmail.com>) escribió:
> > >>>
> > >>> > Ok doing build trough Moonshine it's actually also failing. I did
> > build
> > >>> > with -debug=false and got following exception:
> > >>> >
> > >>> > : Internal error: java.nio.file.InvalidPathException: Illegal char
> > <:>
> > >>> at
> > >>> > index 4:
> > >>> >
> > >>> >
> > >>>
> >
> file:///THIS_WAS_FULL_PATH_BUT_I_HAD_TO_DELETE_DUE_TO_confidentiality_src/net/prominic/utils/UtilsCore.as
> > >>> >
> > >>> >
> > >>>
> >
> sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)sun.nio.fs.AbstractPath.resolveSibling(AbstractPath.java:66)com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:102)com.google.javascript.jscomp.Compiler.getSourceMapping(Compiler.java:2898)com.google.javascript.jscomp.LightweightMessageFormatter.format(LightweightMessageFormatter.java:95)com.google.javascript.jscomp.LightweightMessageFormatter.formatError(LightweightMessageFormatter.java:74)com.google.javascript.jscomp.JSError.format(JSError.java:163)com.google.javascript.jscomp.LoggerErrorManager.println(LoggerErrorManager.java:53)com.google.javascript.jscomp.BasicErrorManager.generateReport(BasicErrorManager.java:39)com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager.generateReport(ThreadSafeDelegatingErrorManager.java:39)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:766)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:262)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:244)
> > >>> >
> > >>> > I'm not really sure if this is the problem with path of the file or
> > >>> > something in the code. :/
> > >>> >
> > >>> > Thanks,
> > >>> > Piotr
> > >>> >
> > >>> > śr., 22 sty 2020 o 10:19 Piotr Zarzycki  >
> > >>> > napisał(a):
> > >>> >
> > >>> > > Hi Guys,
> > >>> > >
> > >>> > > I have just tired build our project with Maven (we are using it
> > when
> > >>> > > wanted to deploy version 

Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Carlos Rovira
Hi Piotr,

one thing I already said is that currently Maven distribution is SWF and
JS, (not JS only). I requested Chris that I want to get JS only as well, so
I need him to guide me for this change. Anyway, distribution requires the
profile "option-with-swf" to work (in other case it fails and inform about
that requirement)

I'll try to download from Jenkins and see what happens, since I just tested
locally.

Thanks


El mié., 22 ene. 2020 a las 12:13, Piotr Zarzycki (<
piotrzarzyck...@gmail.com>) escribió:

> It is possible that Moonshine issue build which is based on
>
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
> -
> may be something different than I reported after build by Maven.
>
> śr., 22 sty 2020 o 12:03 Piotr Zarzycki 
> napisał(a):
>
> > Carlos,
> >
> > Just to make sure that you understand. When I'm building my application I
> > don't relay on local build from sources - I only rely on what Jenkins is
> > building. In case of Maven it would be
> > https://builds.apache.org/job/Royale-asjs/ in case of Moonshine it would
> > be
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
> >
> >
> > Thanks,
> > Piotr
> >
> > śr., 22 sty 2020 o 12:00 Piotr Zarzycki 
> > napisał(a):
> >
> >> In case of Maven I have used this ->
> >> https://builds.apache.org/job/Royale-asjs/2551/ and that
> >> https://builds.apache.org/job/Royale-compiler/1255/ - Those builds
> >> should contains your changes.
> >>
> >> śr., 22 sty 2020 o 11:58 Carlos Rovira 
> >> napisał(a):
> >>
> >>> Hi Piotr,
> >>>
> >>> first I need to know about the other email I sent just now, if you're
> >>> using
> >>> latest sources, and depending on that will go over this
> >>>
> >>>
> >>> El mié., 22 ene. 2020 a las 10:40, Piotr Zarzycki (<
> >>> piotrzarzyck...@gmail.com>) escribió:
> >>>
> >>> > Ok doing build trough Moonshine it's actually also failing. I did
> build
> >>> > with -debug=false and got following exception:
> >>> >
> >>> > : Internal error: java.nio.file.InvalidPathException: Illegal char
> <:>
> >>> at
> >>> > index 4:
> >>> >
> >>> >
> >>>
> file:///THIS_WAS_FULL_PATH_BUT_I_HAD_TO_DELETE_DUE_TO_confidentiality_src/net/prominic/utils/UtilsCore.as
> >>> >
> >>> >
> >>>
> sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)sun.nio.fs.AbstractPath.resolveSibling(AbstractPath.java:66)com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:102)com.google.javascript.jscomp.Compiler.getSourceMapping(Compiler.java:2898)com.google.javascript.jscomp.LightweightMessageFormatter.format(LightweightMessageFormatter.java:95)com.google.javascript.jscomp.LightweightMessageFormatter.formatError(LightweightMessageFormatter.java:74)com.google.javascript.jscomp.JSError.format(JSError.java:163)com.google.javascript.jscomp.LoggerErrorManager.println(LoggerErrorManager.java:53)com.google.javascript.jscomp.BasicErrorManager.generateReport(BasicErrorManager.java:39)com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager.generateReport(ThreadSafeDelegatingErrorManager.java:39)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:766)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:262)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:244)
> >>> >
> >>> > I'm not really sure if this is the problem with path of the file or
> >>> > something in the code. :/
> >>> >
> >>> > Thanks,
> >>> > Piotr
> >>> >
> >>> > śr., 22 sty 2020 o 10:19 Piotr Zarzycki 
> >>> > napisał(a):
> >>> >
> >>> > > Hi Guys,
> >>> > >
> >>> > > I have just tired build our project with Maven (we are using it
> when
> >>> > > wanted to deploy version on the server) and I'm getting following
> >>> > > compilation error:
> >>> > >
> >>> > > got null for string/internal.js
> >>> > >> got null for debug/errorcontext.js
> >>> > >> got null for debug/debug.js
> >>> > >> Internal error: java.lang.NullPointerException
> >>> > >>
> >>> >
> >>>
> 

Re: Maven Distribution SDK fixed and working for IDEs

2020-01-22 Thread Piotr Zarzycki
Ok let's wait to see whether someone actually know what is the version.

śr., 22 sty 2020 o 12:27 Carlos Rovira  napisał(a):

> Hi Piotr,
>
> I explained in this thread that I couldn't find in maven the same exact
> version that ANT one, I put the closest in date available from maven
> I proposed as well if we can upgrade ANT/MAVEN to the same one that works.
> Other thing is that maybe I fail in the search and the version could
> exists, in that case hope other can indicate the maven descriptor to update
> it.
>
> thanks
>
>
>
> El mié., 22 ene. 2020 a las 12:11, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) escribió:
>
> > Why you didn't use exactly the same version ? Maybe this is the reason
> why
> > my application is failing.
> >
> > I see this in Maven:
> > 
> > com.google.javascript
> > closure-compiler
> > v20181210
> > 
> > 
> > org.clojure
> > google-closure-library
> > 0.0-20190213-2033d5d9
> > 
> >
> > śr., 22 sty 2020 o 10:52 Carlos Rovira 
> > napisał(a):
> >
> > > Hi Alex,
> > >
> > > I didn't put the latest one. Used the closest one in dates to the one
> in
> > > ANT. Should be that valid? And how can I ensure compatibility? Where to
> > > check that?
> > > But what I really want to do is update ANT/MAVEN to the same one that
> is
> > ok
> > > for all of us. We need to ensure one that is available for both.
> > >
> > > thanks
> > >
> > >
> > > El mié., 22 ene. 2020 a las 2:41, Alex Harui ( > >)
> > > escribió:
> > >
> > > > You may not want the latest closure library.  You probably want one
> > that
> > > > is compatible with the closure compiler.
> > > >
> > > > HTH,
> > > > -Alex
> > > >
> > > > On 1/21/20, 5:20 PM, "Carlos Rovira" 
> wrote:
> > > >
> > > > Hi,
> > > >
> > > > Josh discover that there was an issue. If we have GOOG_HOME env
> var
> > > the
> > > > maven distribution worked right, but if you don't have,
> compilation
> > > > fails.
> > > > I have it in my system while developing this. So I just fixed it
> > some
> > > > minutes ago.
> > > >
> > > > One thing: There's no maven artifact for the closure-library
> > > v20180910
> > > > (the
> > > > one used by ANT), next one is 0.0-20190213-2033d5d9, so we need
> to
> > > use
> > > > that
> > > > for maven (or maybe I was too bad trying to find the
> corresponding
> > > > maven
> > > > artifact, so if someone knows, please let me know!).
> > > >
> > > > So, can we upgrade ANT to v20190213 too? From now on, we should
> > check
> > > > versions exists for ANT and MAVEN artifacts.
> > > >
> > > > @Piotr Zarzycki   let me know if you
> > can
> > > > get it
> > > > work with latest changes just done.
> > > >
> > > > Thanks
> > > >
> > > >
> > > >
> > > > El mar., 21 ene. 2020 a las 17:53, Carlos Rovira (<
> > > > carlosrov...@apache.org>)
> > > > escribió:
> > > >
> > > > > Hi Piotr,
> > > > >
> > > > > yes, you're using an old command, maven was extremely
> simplified
> > > > thanks to
> > > > > Chris Dutz contribution 1 or 2 months ago.
> > > > > 'generate.swf.swcs' does not exists. Check the instructions I
> put
> > > or
> > > > go to
> > > > > the updated docs here [1]. I updated that page to have all the
> > > > latest valid
> > > > > info.
> > > > >
> > > > > I'm planing with Chris, to work soon in more improvements:
> > > > >
> > > > > 1.- Make Maven distribution for js-only (just removing
> > > > -option-with-swf
> > > > > that now is required)
> > > > > 2.- Try to have just one repo
> > > > > 3.- Simplify release process based on 2 (and yes having ANT
> into
> > > > account)
> > > > >
> > > > > I will want to release every 1 to 2 month.
> > > > >
> > > > > [1]
> > > > >
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FBuild-Apache-Royale-with-Mavendata=02%7C01%7Caharui%40adobe.com%7C41fecf4f430141353a9408d79ed93489%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152528044882676sdata=3WB3dPQgbwSjThq13W8hGfJpYgaiVWxFgYScQknT0Zs%3Dreserved=0
> > > > >
> > > > > El mar., 21 ene. 2020 a las 17:40, Piotr Zarzycki (<
> > > > > piotrzarzyck...@gmail.com>) escribió:
> > > > >
> > > > >> Ok it looks like it my fault. I didn't catch up full
> > instruction.
> > > > Let me
> > > > >> try again.
> > > > >>
> > > > >> wt., 21 sty 2020 o 17:29 Piotr Zarzycki <
> > > piotrzarzyck...@gmail.com>
> > > > >> napisał(a):
> > > > >>
> > > > >> > Hi Carlos,
> > > > >> >
> > > > >> > When I'm running this [1] on my Mac distribution is not
> > > > generated. :/
> > > > >> > Whole SDK is being build successfully, but without
> > distribution.
> > > > I don't
> > > > >> > have any errors.
> > > > >> >
> > > > >> > [1] mvn clean install -DskipTests -Drat.skip=true
> > > > >> -Dgenerate.swf.swcs=true
> > > > >> >
> > > > 

Re: Maven Distribution SDK fixed and working for IDEs

2020-01-22 Thread Carlos Rovira
Hi Piotr,

I explained in this thread that I couldn't find in maven the same exact
version that ANT one, I put the closest in date available from maven
I proposed as well if we can upgrade ANT/MAVEN to the same one that works.
Other thing is that maybe I fail in the search and the version could
exists, in that case hope other can indicate the maven descriptor to update
it.

thanks



El mié., 22 ene. 2020 a las 12:11, Piotr Zarzycki (<
piotrzarzyck...@gmail.com>) escribió:

> Why you didn't use exactly the same version ? Maybe this is the reason why
> my application is failing.
>
> I see this in Maven:
> 
> com.google.javascript
> closure-compiler
> v20181210
> 
> 
> org.clojure
> google-closure-library
> 0.0-20190213-2033d5d9
> 
>
> śr., 22 sty 2020 o 10:52 Carlos Rovira 
> napisał(a):
>
> > Hi Alex,
> >
> > I didn't put the latest one. Used the closest one in dates to the one in
> > ANT. Should be that valid? And how can I ensure compatibility? Where to
> > check that?
> > But what I really want to do is update ANT/MAVEN to the same one that is
> ok
> > for all of us. We need to ensure one that is available for both.
> >
> > thanks
> >
> >
> > El mié., 22 ene. 2020 a las 2:41, Alex Harui ( >)
> > escribió:
> >
> > > You may not want the latest closure library.  You probably want one
> that
> > > is compatible with the closure compiler.
> > >
> > > HTH,
> > > -Alex
> > >
> > > On 1/21/20, 5:20 PM, "Carlos Rovira"  wrote:
> > >
> > > Hi,
> > >
> > > Josh discover that there was an issue. If we have GOOG_HOME env var
> > the
> > > maven distribution worked right, but if you don't have, compilation
> > > fails.
> > > I have it in my system while developing this. So I just fixed it
> some
> > > minutes ago.
> > >
> > > One thing: There's no maven artifact for the closure-library
> > v20180910
> > > (the
> > > one used by ANT), next one is 0.0-20190213-2033d5d9, so we need to
> > use
> > > that
> > > for maven (or maybe I was too bad trying to find the corresponding
> > > maven
> > > artifact, so if someone knows, please let me know!).
> > >
> > > So, can we upgrade ANT to v20190213 too? From now on, we should
> check
> > > versions exists for ANT and MAVEN artifacts.
> > >
> > > @Piotr Zarzycki   let me know if you
> can
> > > get it
> > > work with latest changes just done.
> > >
> > > Thanks
> > >
> > >
> > >
> > > El mar., 21 ene. 2020 a las 17:53, Carlos Rovira (<
> > > carlosrov...@apache.org>)
> > > escribió:
> > >
> > > > Hi Piotr,
> > > >
> > > > yes, you're using an old command, maven was extremely simplified
> > > thanks to
> > > > Chris Dutz contribution 1 or 2 months ago.
> > > > 'generate.swf.swcs' does not exists. Check the instructions I put
> > or
> > > go to
> > > > the updated docs here [1]. I updated that page to have all the
> > > latest valid
> > > > info.
> > > >
> > > > I'm planing with Chris, to work soon in more improvements:
> > > >
> > > > 1.- Make Maven distribution for js-only (just removing
> > > -option-with-swf
> > > > that now is required)
> > > > 2.- Try to have just one repo
> > > > 3.- Simplify release process based on 2 (and yes having ANT into
> > > account)
> > > >
> > > > I will want to release every 1 to 2 month.
> > > >
> > > > [1]
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FBuild-Apache-Royale-with-Mavendata=02%7C01%7Caharui%40adobe.com%7C41fecf4f430141353a9408d79ed93489%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152528044882676sdata=3WB3dPQgbwSjThq13W8hGfJpYgaiVWxFgYScQknT0Zs%3Dreserved=0
> > > >
> > > > El mar., 21 ene. 2020 a las 17:40, Piotr Zarzycki (<
> > > > piotrzarzyck...@gmail.com>) escribió:
> > > >
> > > >> Ok it looks like it my fault. I didn't catch up full
> instruction.
> > > Let me
> > > >> try again.
> > > >>
> > > >> wt., 21 sty 2020 o 17:29 Piotr Zarzycki <
> > piotrzarzyck...@gmail.com>
> > > >> napisał(a):
> > > >>
> > > >> > Hi Carlos,
> > > >> >
> > > >> > When I'm running this [1] on my Mac distribution is not
> > > generated. :/
> > > >> > Whole SDK is being build successfully, but without
> distribution.
> > > I don't
> > > >> > have any errors.
> > > >> >
> > > >> > [1] mvn clean install -DskipTests -Drat.skip=true
> > > >> -Dgenerate.swf.swcs=true
> > > >> >
> > > -DdistributionTargetFolder=/Users/piotr/Downloads/royale/test_release
> > > >> >
> > > >> > Thanks,
> > > >> > Piotr
> > > >> >
> > > >> >
> > > >> > wt., 21 sty 2020 o 12:44 Carlos Rovira <
> carlosrov...@apache.org
> > >
> > > >> > napisał(a):
> > > >> >
> > > >> >> Hi Antonis,
> > > >> >>
> > > >> >> all this does not affect FB, so don't worry about it. But we
> > > hope you
> > > >> try
> > > >> >> to migrate to some 

Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
It is possible that Moonshine issue build which is based on
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
-
may be something different than I reported after build by Maven.

śr., 22 sty 2020 o 12:03 Piotr Zarzycki 
napisał(a):

> Carlos,
>
> Just to make sure that you understand. When I'm building my application I
> don't relay on local build from sources - I only rely on what Jenkins is
> building. In case of Maven it would be
> https://builds.apache.org/job/Royale-asjs/ in case of Moonshine it would
> be
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
>
>
> Thanks,
> Piotr
>
> śr., 22 sty 2020 o 12:00 Piotr Zarzycki 
> napisał(a):
>
>> In case of Maven I have used this ->
>> https://builds.apache.org/job/Royale-asjs/2551/ and that
>> https://builds.apache.org/job/Royale-compiler/1255/ - Those builds
>> should contains your changes.
>>
>> śr., 22 sty 2020 o 11:58 Carlos Rovira 
>> napisał(a):
>>
>>> Hi Piotr,
>>>
>>> first I need to know about the other email I sent just now, if you're
>>> using
>>> latest sources, and depending on that will go over this
>>>
>>>
>>> El mié., 22 ene. 2020 a las 10:40, Piotr Zarzycki (<
>>> piotrzarzyck...@gmail.com>) escribió:
>>>
>>> > Ok doing build trough Moonshine it's actually also failing. I did build
>>> > with -debug=false and got following exception:
>>> >
>>> > : Internal error: java.nio.file.InvalidPathException: Illegal char <:>
>>> at
>>> > index 4:
>>> >
>>> >
>>> file:///THIS_WAS_FULL_PATH_BUT_I_HAD_TO_DELETE_DUE_TO_confidentiality_src/net/prominic/utils/UtilsCore.as
>>> >
>>> >
>>> sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)sun.nio.fs.AbstractPath.resolveSibling(AbstractPath.java:66)com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:102)com.google.javascript.jscomp.Compiler.getSourceMapping(Compiler.java:2898)com.google.javascript.jscomp.LightweightMessageFormatter.format(LightweightMessageFormatter.java:95)com.google.javascript.jscomp.LightweightMessageFormatter.formatError(LightweightMessageFormatter.java:74)com.google.javascript.jscomp.JSError.format(JSError.java:163)com.google.javascript.jscomp.LoggerErrorManager.println(LoggerErrorManager.java:53)com.google.javascript.jscomp.BasicErrorManager.generateReport(BasicErrorManager.java:39)com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager.generateReport(ThreadSafeDelegatingErrorManager.java:39)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:766)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:262)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:244)
>>> >
>>> > I'm not really sure if this is the problem with path of the file or
>>> > something in the code. :/
>>> >
>>> > Thanks,
>>> > Piotr
>>> >
>>> > śr., 22 sty 2020 o 10:19 Piotr Zarzycki 
>>> > napisał(a):
>>> >
>>> > > Hi Guys,
>>> > >
>>> > > I have just tired build our project with Maven (we are using it when
>>> > > wanted to deploy version on the server) and I'm getting following
>>> > > compilation error:
>>> > >
>>> > > got null for string/internal.js
>>> > >> got null for debug/errorcontext.js
>>> > >> got null for debug/debug.js
>>> > >> Internal error: java.lang.NullPointerException
>>> > >>
>>> >
>>> 

Re: Maven Distribution SDK fixed and working for IDEs

2020-01-22 Thread Piotr Zarzycki
Why you didn't use exactly the same version ? Maybe this is the reason why
my application is failing.

I see this in Maven:

com.google.javascript
closure-compiler
v20181210


org.clojure
google-closure-library
0.0-20190213-2033d5d9


śr., 22 sty 2020 o 10:52 Carlos Rovira  napisał(a):

> Hi Alex,
>
> I didn't put the latest one. Used the closest one in dates to the one in
> ANT. Should be that valid? And how can I ensure compatibility? Where to
> check that?
> But what I really want to do is update ANT/MAVEN to the same one that is ok
> for all of us. We need to ensure one that is available for both.
>
> thanks
>
>
> El mié., 22 ene. 2020 a las 2:41, Alex Harui ()
> escribió:
>
> > You may not want the latest closure library.  You probably want one that
> > is compatible with the closure compiler.
> >
> > HTH,
> > -Alex
> >
> > On 1/21/20, 5:20 PM, "Carlos Rovira"  wrote:
> >
> > Hi,
> >
> > Josh discover that there was an issue. If we have GOOG_HOME env var
> the
> > maven distribution worked right, but if you don't have, compilation
> > fails.
> > I have it in my system while developing this. So I just fixed it some
> > minutes ago.
> >
> > One thing: There's no maven artifact for the closure-library
> v20180910
> > (the
> > one used by ANT), next one is 0.0-20190213-2033d5d9, so we need to
> use
> > that
> > for maven (or maybe I was too bad trying to find the corresponding
> > maven
> > artifact, so if someone knows, please let me know!).
> >
> > So, can we upgrade ANT to v20190213 too? From now on, we should check
> > versions exists for ANT and MAVEN artifacts.
> >
> > @Piotr Zarzycki   let me know if you can
> > get it
> > work with latest changes just done.
> >
> > Thanks
> >
> >
> >
> > El mar., 21 ene. 2020 a las 17:53, Carlos Rovira (<
> > carlosrov...@apache.org>)
> > escribió:
> >
> > > Hi Piotr,
> > >
> > > yes, you're using an old command, maven was extremely simplified
> > thanks to
> > > Chris Dutz contribution 1 or 2 months ago.
> > > 'generate.swf.swcs' does not exists. Check the instructions I put
> or
> > go to
> > > the updated docs here [1]. I updated that page to have all the
> > latest valid
> > > info.
> > >
> > > I'm planing with Chris, to work soon in more improvements:
> > >
> > > 1.- Make Maven distribution for js-only (just removing
> > -option-with-swf
> > > that now is required)
> > > 2.- Try to have just one repo
> > > 3.- Simplify release process based on 2 (and yes having ANT into
> > account)
> > >
> > > I will want to release every 1 to 2 month.
> > >
> > > [1]
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FBuild-Apache-Royale-with-Mavendata=02%7C01%7Caharui%40adobe.com%7C41fecf4f430141353a9408d79ed93489%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152528044882676sdata=3WB3dPQgbwSjThq13W8hGfJpYgaiVWxFgYScQknT0Zs%3Dreserved=0
> > >
> > > El mar., 21 ene. 2020 a las 17:40, Piotr Zarzycki (<
> > > piotrzarzyck...@gmail.com>) escribió:
> > >
> > >> Ok it looks like it my fault. I didn't catch up full instruction.
> > Let me
> > >> try again.
> > >>
> > >> wt., 21 sty 2020 o 17:29 Piotr Zarzycki <
> piotrzarzyck...@gmail.com>
> > >> napisał(a):
> > >>
> > >> > Hi Carlos,
> > >> >
> > >> > When I'm running this [1] on my Mac distribution is not
> > generated. :/
> > >> > Whole SDK is being build successfully, but without distribution.
> > I don't
> > >> > have any errors.
> > >> >
> > >> > [1] mvn clean install -DskipTests -Drat.skip=true
> > >> -Dgenerate.swf.swcs=true
> > >> >
> > -DdistributionTargetFolder=/Users/piotr/Downloads/royale/test_release
> > >> >
> > >> > Thanks,
> > >> > Piotr
> > >> >
> > >> >
> > >> > wt., 21 sty 2020 o 12:44 Carlos Rovira  >
> > >> > napisał(a):
> > >> >
> > >> >> Hi Antonis,
> > >> >>
> > >> >> all this does not affect FB, so don't worry about it. But we
> > hope you
> > >> try
> > >> >> to migrate to some newer IDE in the future! ;)
> > >> >>
> > >> >> Carlos
> > >> >>
> > >> >>
> > >> >>
> > >> >> El mar., 21 ene. 2020 a las 12:26, Antonis Kalodimos (<
> > >> >> antonis.kalodi...@gmail.com>) escribió:
> > >> >>
> > >> >> > This sounds good news for someone to be involved with royale.
> > >> >> > Please i someone of you who know the requirements don't break
> > the
> > >> royale
> > >> >> > ability to be used and in the flashbuilder. Even it is old
> is a
> > >> >> standard i
> > >> >> > think for the old users that are searching where to jump for
> > upgrade
> > >> >> their
> > >> >> > apps
> > >> >> >
> > >> >> > Thank you, continue the great job that you are doing.
> > >> >> >
> > >> >> > Στις Τρί, 21 Ιαν 2020 στις 

Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
Carlos,

Just to make sure that you understand. When I'm building my application I
don't relay on local build from sources - I only rely on what Jenkins is
building. In case of Maven it would be
https://builds.apache.org/job/Royale-asjs/ in case of Moonshine it would be
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/


Thanks,
Piotr

śr., 22 sty 2020 o 12:00 Piotr Zarzycki 
napisał(a):

> In case of Maven I have used this ->
> https://builds.apache.org/job/Royale-asjs/2551/ and that
> https://builds.apache.org/job/Royale-compiler/1255/ - Those builds should
> contains your changes.
>
> śr., 22 sty 2020 o 11:58 Carlos Rovira 
> napisał(a):
>
>> Hi Piotr,
>>
>> first I need to know about the other email I sent just now, if you're
>> using
>> latest sources, and depending on that will go over this
>>
>>
>> El mié., 22 ene. 2020 a las 10:40, Piotr Zarzycki (<
>> piotrzarzyck...@gmail.com>) escribió:
>>
>> > Ok doing build trough Moonshine it's actually also failing. I did build
>> > with -debug=false and got following exception:
>> >
>> > : Internal error: java.nio.file.InvalidPathException: Illegal char <:>
>> at
>> > index 4:
>> >
>> >
>> file:///THIS_WAS_FULL_PATH_BUT_I_HAD_TO_DELETE_DUE_TO_confidentiality_src/net/prominic/utils/UtilsCore.as
>> >
>> >
>> sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)sun.nio.fs.AbstractPath.resolveSibling(AbstractPath.java:66)com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:102)com.google.javascript.jscomp.Compiler.getSourceMapping(Compiler.java:2898)com.google.javascript.jscomp.LightweightMessageFormatter.format(LightweightMessageFormatter.java:95)com.google.javascript.jscomp.LightweightMessageFormatter.formatError(LightweightMessageFormatter.java:74)com.google.javascript.jscomp.JSError.format(JSError.java:163)com.google.javascript.jscomp.LoggerErrorManager.println(LoggerErrorManager.java:53)com.google.javascript.jscomp.BasicErrorManager.generateReport(BasicErrorManager.java:39)com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager.generateReport(ThreadSafeDelegatingErrorManager.java:39)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:766)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:262)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:244)
>> >
>> > I'm not really sure if this is the problem with path of the file or
>> > something in the code. :/
>> >
>> > Thanks,
>> > Piotr
>> >
>> > śr., 22 sty 2020 o 10:19 Piotr Zarzycki 
>> > napisał(a):
>> >
>> > > Hi Guys,
>> > >
>> > > I have just tired build our project with Maven (we are using it when
>> > > wanted to deploy version on the server) and I'm getting following
>> > > compilation error:
>> > >
>> > > got null for string/internal.js
>> > >> got null for debug/errorcontext.js
>> > >> got null for debug/debug.js
>> > >> Internal error: java.lang.NullPointerException
>> > >>
>> >
>> 

Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
In case of Maven I have used this ->
https://builds.apache.org/job/Royale-asjs/2551/ and that
https://builds.apache.org/job/Royale-compiler/1255/ - Those builds should
contains your changes.

śr., 22 sty 2020 o 11:58 Carlos Rovira  napisał(a):

> Hi Piotr,
>
> first I need to know about the other email I sent just now, if you're using
> latest sources, and depending on that will go over this
>
>
> El mié., 22 ene. 2020 a las 10:40, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) escribió:
>
> > Ok doing build trough Moonshine it's actually also failing. I did build
> > with -debug=false and got following exception:
> >
> > : Internal error: java.nio.file.InvalidPathException: Illegal char <:> at
> > index 4:
> >
> >
> file:///THIS_WAS_FULL_PATH_BUT_I_HAD_TO_DELETE_DUE_TO_confidentiality_src/net/prominic/utils/UtilsCore.as
> >
> >
> sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)sun.nio.fs.AbstractPath.resolveSibling(AbstractPath.java:66)com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:102)com.google.javascript.jscomp.Compiler.getSourceMapping(Compiler.java:2898)com.google.javascript.jscomp.LightweightMessageFormatter.format(LightweightMessageFormatter.java:95)com.google.javascript.jscomp.LightweightMessageFormatter.formatError(LightweightMessageFormatter.java:74)com.google.javascript.jscomp.JSError.format(JSError.java:163)com.google.javascript.jscomp.LoggerErrorManager.println(LoggerErrorManager.java:53)com.google.javascript.jscomp.BasicErrorManager.generateReport(BasicErrorManager.java:39)com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager.generateReport(ThreadSafeDelegatingErrorManager.java:39)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:766)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:262)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:244)
> >
> > I'm not really sure if this is the problem with path of the file or
> > something in the code. :/
> >
> > Thanks,
> > Piotr
> >
> > śr., 22 sty 2020 o 10:19 Piotr Zarzycki 
> > napisał(a):
> >
> > > Hi Guys,
> > >
> > > I have just tired build our project with Maven (we are using it when
> > > wanted to deploy version on the server) and I'm getting following
> > > compilation error:
> > >
> > > got null for string/internal.js
> > >> got null for debug/errorcontext.js
> > >> got null for debug/debug.js
> > >> Internal error: java.lang.NullPointerException
> > >>
> >
> 

Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Carlos Rovira
Hi Piotr,

first I need to know about the other email I sent just now, if you're using
latest sources, and depending on that will go over this


El mié., 22 ene. 2020 a las 10:40, Piotr Zarzycki (<
piotrzarzyck...@gmail.com>) escribió:

> Ok doing build trough Moonshine it's actually also failing. I did build
> with -debug=false and got following exception:
>
> : Internal error: java.nio.file.InvalidPathException: Illegal char <:> at
> index 4:
>
> file:///THIS_WAS_FULL_PATH_BUT_I_HAD_TO_DELETE_DUE_TO_confidentiality_src/net/prominic/utils/UtilsCore.as
>
> sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)sun.nio.fs.AbstractPath.resolveSibling(AbstractPath.java:66)com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:102)com.google.javascript.jscomp.Compiler.getSourceMapping(Compiler.java:2898)com.google.javascript.jscomp.LightweightMessageFormatter.format(LightweightMessageFormatter.java:95)com.google.javascript.jscomp.LightweightMessageFormatter.formatError(LightweightMessageFormatter.java:74)com.google.javascript.jscomp.JSError.format(JSError.java:163)com.google.javascript.jscomp.LoggerErrorManager.println(LoggerErrorManager.java:53)com.google.javascript.jscomp.BasicErrorManager.generateReport(BasicErrorManager.java:39)com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager.generateReport(ThreadSafeDelegatingErrorManager.java:39)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:766)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:262)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:244)
>
> I'm not really sure if this is the problem with path of the file or
> something in the code. :/
>
> Thanks,
> Piotr
>
> śr., 22 sty 2020 o 10:19 Piotr Zarzycki 
> napisał(a):
>
> > Hi Guys,
> >
> > I have just tired build our project with Maven (we are using it when
> > wanted to deploy version on the server) and I'm getting following
> > compilation error:
> >
> > got null for string/internal.js
> >> got null for debug/errorcontext.js
> >> got null for debug/debug.js
> >> Internal error: java.lang.NullPointerException
> >>
> 

Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Carlos Rovira
Hi Piotr,

this error was the issue yesterday without the GOOG_HOME patch.
did you rebuild today with latest fixes in compiler and framework?


El mié., 22 ene. 2020 a las 10:19, Piotr Zarzycki (<
piotrzarzyck...@gmail.com>) escribió:

> Hi Guys,
>
> I have just tired build our project with Maven (we are using it when wanted
> to deploy version on the server) and I'm getting following compilation
> error:
>
> got null for string/internal.js
> > got null for debug/errorcontext.js
> > got null for debug/debug.js
> > Internal error: java.lang.NullPointerException
> >
> com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.execute(MXMLJSC.java:234)org.apache.royale.maven.BaseMojo.execute(BaseMojo.java:375)org.apache.royale.maven.CompileAppMojo.execute(CompileAppMojo.java:107)org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)org.apache.maven.cli.MavenCli.main(MavenCli.java:192)sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >
> Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>
>
> Anyone know what it could be ? I don't have such errors when I'm building
> stuff using Moonshine. - I have used in that case following version of
> Nightly [1]
>
> [1]
>
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/665/
>
> Thanks,
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
I have used the oldest available build [1] and it's still failing when I'm
building trough Moonshine.

[1]
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/656/

śr., 22 sty 2020 o 10:40 Piotr Zarzycki 
napisał(a):

> Ok doing build trough Moonshine it's actually also failing. I did build
> with -debug=false and got following exception:
>
> : Internal error: java.nio.file.InvalidPathException: Illegal char <:> at
> index 4:
> file:///THIS_WAS_FULL_PATH_BUT_I_HAD_TO_DELETE_DUE_TO_confidentiality_src/net/prominic/utils/UtilsCore.as
> sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)sun.nio.fs.AbstractPath.resolveSibling(AbstractPath.java:66)com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:102)com.google.javascript.jscomp.Compiler.getSourceMapping(Compiler.java:2898)com.google.javascript.jscomp.LightweightMessageFormatter.format(LightweightMessageFormatter.java:95)com.google.javascript.jscomp.LightweightMessageFormatter.formatError(LightweightMessageFormatter.java:74)com.google.javascript.jscomp.JSError.format(JSError.java:163)com.google.javascript.jscomp.LoggerErrorManager.println(LoggerErrorManager.java:53)com.google.javascript.jscomp.BasicErrorManager.generateReport(BasicErrorManager.java:39)com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager.generateReport(ThreadSafeDelegatingErrorManager.java:39)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:766)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:262)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:244)
>
> I'm not really sure if this is the problem with path of the file or
> something in the code. :/
>
> Thanks,
> Piotr
>
> śr., 22 sty 2020 o 10:19 Piotr Zarzycki 
> napisał(a):
>
>> Hi Guys,
>>
>> I have just tired build our project with Maven (we are using it when
>> wanted to deploy version on the server) and I'm getting following
>> compilation error:
>>
>> got null for string/internal.js
>>> got null for debug/errorcontext.js
>>> got null for debug/debug.js
>>> Internal error: java.lang.NullPointerException
>>> 

Build failed in Jenkins: royale-compiler-integration-tests #454

2020-01-22 Thread apacheroyaleci
See 


Changes:


--
[...truncated 130.46 KB...]
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:277: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
[junit]   for (let i = isArrayLike ? 0 : 1; i < keys.length; i++) {
[junit]^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:307: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:329: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:351: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const key = goog.object.findKey(obj, f, opt_this);
[junit]   ^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:363: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:376: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const i in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:390: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
[junit]   let rv;
[junit]   ^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:480: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const val = f();
[junit]   ^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:495: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const k in a) {
[junit]^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:500: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const k in b) {
[junit]^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:520: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const res = {};
[junit]   ^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:521: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:545: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const type = goog.typeOf(obj);
[junit]   ^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:550: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit] const clone = type == 'array' ? [] : {};
[junit] ^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:551: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit] for (const key in obj) {
[junit]  ^
[junit] 
[junit] Jan 22, 2020 10:03:59 AM 

Re: Maven Distribution SDK fixed and working for IDEs

2020-01-22 Thread Carlos Rovira
Hi Alex,

I didn't put the latest one. Used the closest one in dates to the one in
ANT. Should be that valid? And how can I ensure compatibility? Where to
check that?
But what I really want to do is update ANT/MAVEN to the same one that is ok
for all of us. We need to ensure one that is available for both.

thanks


El mié., 22 ene. 2020 a las 2:41, Alex Harui ()
escribió:

> You may not want the latest closure library.  You probably want one that
> is compatible with the closure compiler.
>
> HTH,
> -Alex
>
> On 1/21/20, 5:20 PM, "Carlos Rovira"  wrote:
>
> Hi,
>
> Josh discover that there was an issue. If we have GOOG_HOME env var the
> maven distribution worked right, but if you don't have, compilation
> fails.
> I have it in my system while developing this. So I just fixed it some
> minutes ago.
>
> One thing: There's no maven artifact for the closure-library v20180910
> (the
> one used by ANT), next one is 0.0-20190213-2033d5d9, so we need to use
> that
> for maven (or maybe I was too bad trying to find the corresponding
> maven
> artifact, so if someone knows, please let me know!).
>
> So, can we upgrade ANT to v20190213 too? From now on, we should check
> versions exists for ANT and MAVEN artifacts.
>
> @Piotr Zarzycki   let me know if you can
> get it
> work with latest changes just done.
>
> Thanks
>
>
>
> El mar., 21 ene. 2020 a las 17:53, Carlos Rovira (<
> carlosrov...@apache.org>)
> escribió:
>
> > Hi Piotr,
> >
> > yes, you're using an old command, maven was extremely simplified
> thanks to
> > Chris Dutz contribution 1 or 2 months ago.
> > 'generate.swf.swcs' does not exists. Check the instructions I put or
> go to
> > the updated docs here [1]. I updated that page to have all the
> latest valid
> > info.
> >
> > I'm planing with Chris, to work soon in more improvements:
> >
> > 1.- Make Maven distribution for js-only (just removing
> -option-with-swf
> > that now is required)
> > 2.- Try to have just one repo
> > 3.- Simplify release process based on 2 (and yes having ANT into
> account)
> >
> > I will want to release every 1 to 2 month.
> >
> > [1]
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FBuild-Apache-Royale-with-Mavendata=02%7C01%7Caharui%40adobe.com%7C41fecf4f430141353a9408d79ed93489%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637152528044882676sdata=3WB3dPQgbwSjThq13W8hGfJpYgaiVWxFgYScQknT0Zs%3Dreserved=0
> >
> > El mar., 21 ene. 2020 a las 17:40, Piotr Zarzycki (<
> > piotrzarzyck...@gmail.com>) escribió:
> >
> >> Ok it looks like it my fault. I didn't catch up full instruction.
> Let me
> >> try again.
> >>
> >> wt., 21 sty 2020 o 17:29 Piotr Zarzycki 
> >> napisał(a):
> >>
> >> > Hi Carlos,
> >> >
> >> > When I'm running this [1] on my Mac distribution is not
> generated. :/
> >> > Whole SDK is being build successfully, but without distribution.
> I don't
> >> > have any errors.
> >> >
> >> > [1] mvn clean install -DskipTests -Drat.skip=true
> >> -Dgenerate.swf.swcs=true
> >> >
> -DdistributionTargetFolder=/Users/piotr/Downloads/royale/test_release
> >> >
> >> > Thanks,
> >> > Piotr
> >> >
> >> >
> >> > wt., 21 sty 2020 o 12:44 Carlos Rovira 
> >> > napisał(a):
> >> >
> >> >> Hi Antonis,
> >> >>
> >> >> all this does not affect FB, so don't worry about it. But we
> hope you
> >> try
> >> >> to migrate to some newer IDE in the future! ;)
> >> >>
> >> >> Carlos
> >> >>
> >> >>
> >> >>
> >> >> El mar., 21 ene. 2020 a las 12:26, Antonis Kalodimos (<
> >> >> antonis.kalodi...@gmail.com>) escribió:
> >> >>
> >> >> > This sounds good news for someone to be involved with royale.
> >> >> > Please i someone of you who know the requirements don't break
> the
> >> royale
> >> >> > ability to be used and in the flashbuilder. Even it is old is a
> >> >> standard i
> >> >> > think for the old users that are searching where to jump for
> upgrade
> >> >> their
> >> >> > apps
> >> >> >
> >> >> > Thank you, continue the great job that you are doing.
> >> >> >
> >> >> > Στις Τρί, 21 Ιαν 2020 στις 1:15 μ.μ., ο/η Piotr Zarzycki <
> >> >> > piotrzarzyck...@gmail.com> έγραψε:
> >> >> >
> >> >> > > Hi Carlos,
> >> >> > >
> >> >> > > Congrats! Could you provide on mailing list command to build
> >> framework
> >> >> > with
> >> >> > > distribution, so users could know how to do that.
> >> >> > >
> >> >> > > Thanks,
> >> >> > > Piotr
> >> >> > >
> >> >> > > wt., 21 sty 2020 o 12:12 Carlos Rovira <
> carlosrov...@apache.org>
> >> >> > > napisał(a):
> >> >> > >
> >> >> > > > Hi,
> >> >> > > >
> >> >> > > > just fixed the 

Re: Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
Ok doing build trough Moonshine it's actually also failing. I did build
with -debug=false and got following exception:

: Internal error: java.nio.file.InvalidPathException: Illegal char <:> at
index 4:
file:///THIS_WAS_FULL_PATH_BUT_I_HAD_TO_DELETE_DUE_TO_confidentiality_src/net/prominic/utils/UtilsCore.as
sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)sun.nio.fs.AbstractPath.resolveSibling(AbstractPath.java:66)com.google.javascript.jscomp.SourceMapResolver.getRelativePath(SourceMapResolver.java:102)com.google.javascript.jscomp.Compiler.getSourceMapping(Compiler.java:2898)com.google.javascript.jscomp.LightweightMessageFormatter.format(LightweightMessageFormatter.java:95)com.google.javascript.jscomp.LightweightMessageFormatter.formatError(LightweightMessageFormatter.java:74)com.google.javascript.jscomp.JSError.format(JSError.java:163)com.google.javascript.jscomp.LoggerErrorManager.println(LoggerErrorManager.java:53)com.google.javascript.jscomp.BasicErrorManager.generateReport(BasicErrorManager.java:39)com.google.javascript.jscomp.ThreadSafeDelegatingErrorManager.generateReport(ThreadSafeDelegatingErrorManager.java:39)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:766)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:262)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:244)

I'm not really sure if this is the problem with path of the file or
something in the code. :/

Thanks,
Piotr

śr., 22 sty 2020 o 10:19 Piotr Zarzycki 
napisał(a):

> Hi Guys,
>
> I have just tired build our project with Maven (we are using it when
> wanted to deploy version on the server) and I'm getting following
> compilation error:
>
> got null for string/internal.js
>> got null for debug/errorcontext.js
>> got null for debug/debug.js
>> Internal error: java.lang.NullPointerException
>> com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.execute(MXMLJSC.java:234)org.apache.royale.maven.BaseMojo.execute(BaseMojo.java:375)org.apache.royale.maven.CompileAppMojo.execute(CompileAppMojo.java:107)org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)org.apache.maven.cli.MavenCli.main(MavenCli.java:192)sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> 

Build failed in Jenkins: TourDeFlexMigration #529

2020-01-22 Thread apacheroyaleci
See 


Changes:


--
[...truncated 124.12 KB...]
[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16967 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextAreaExample.swf
 in 10.073 seconds
[mxmlc] Jan 22, 2020 9:31:01 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] The project 'TextAreaExample' has been successfully compiled and 
optimized.
[mxmlc] 37.240836299 seconds
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 22, 2020 9:31:01 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-load-config=C:\jenkins\workspace\royale-asjs/frameworks/flex-config.xml
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16004 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 6.759 seconds
[mxmlc] Jan 22, 2020 9:31:37 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/mx/controls/mx/core/UIComponent.js:3204:
 WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
[mxmlc]   } else if ((this.mx_core_UIComponent__toolTip == null || 
this.mx_core_UIComponent__toolTip == "") && 
this.mx_core_UIComponent__toolTipBead != null) {
[mxmlc]  
^^^
[mxmlc] 
[mxmlc] Jan 22, 2020 9:31:37 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] WARNING: 0 error(s), 1 warning(s), 97.2% typed
[mxmlc] The project 'TextExample' has been successfully compiled and 
optimized.
[mxmlc] 37.3592985 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] MXMLJSC
[mxmlc] -module-output=/mx/controls/
[mxmlc] 
-load-externs=
[mxmlc] -js-compiler-option=--variable_map_input_file 
../../gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_input_file 
../../gcc_propertymap.txt
[mxmlc] -js-compiler-option+=--externs 

[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 

Building Royale project with Maven throws NPE

2020-01-22 Thread Piotr Zarzycki
Hi Guys,

I have just tired build our project with Maven (we are using it when wanted
to deploy version on the server) and I'm getting following compilation
error:

got null for string/internal.js
> got null for debug/errorcontext.js
> got null for debug/debug.js
> Internal error: java.lang.NullPointerException
> com.google.javascript.jscomp.Compiler.newTracer(Compiler.java:1256)com.google.javascript.jscomp.Compiler.generateReport(Compiler.java:765)com.google.javascript.jscomp.Compiler.compile(Compiler.java:751)org.apache.royale.compiler.utils.JSClosureCompilerWrapper.compile(JSClosureCompilerWrapper.java:164)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:568)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:441)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:265)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:222)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:369)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:304)org.apache.royale.compiler.clients.MXMLJSC.execute(MXMLJSC.java:234)org.apache.royale.maven.BaseMojo.execute(BaseMojo.java:375)org.apache.royale.maven.CompileAppMojo.execute(CompileAppMojo.java:107)org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)org.apache.maven.cli.MavenCli.main(MavenCli.java:192)sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)


Anyone know what it could be ? I don't have such errors when I'm building
stuff using Moonshine. - I have used in that case following version of
Nightly [1]

[1]
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/665/

Thanks,
-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Build failed in Jenkins: Royale_ASDoc_Example #530

2020-01-22 Thread apacheroyaleci
See 


Changes:


--
[...truncated 41.42 KB...]
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(167):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dasharray",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(170):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-dashoffset");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(173):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-dashoffset",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(176):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linecap");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(179):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linecap",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(182):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-linejoin");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(185):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-linejoin",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(188):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-miterlimit");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(191):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-miterlimit",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(194):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-opacity");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(197):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke-opacity",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(200):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-width");
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(203):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   

Build failed in Jenkins: royale-compiler-integration-tests #453

2020-01-22 Thread apacheroyaleci
See 


Changes:


--
[...truncated 131.04 KB...]
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:277: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
[junit]   for (let i = isArrayLike ? 0 : 1; i < keys.length; i++) {
[junit]^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:307: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:329: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:351: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const key = goog.object.findKey(obj, f, opt_this);
[junit]   ^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:363: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:376: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const i in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:390: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
[junit]   let rv;
[junit]   ^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:480: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const val = f();
[junit]   ^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:495: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const k in a) {
[junit]^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:500: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const k in b) {
[junit]^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:520: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const res = {};
[junit]   ^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:521: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:545: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const type = goog.typeOf(obj);
[junit]   ^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:550: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit] const clone = type == 'array' ? [] : {};
[junit] ^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:551: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit] for (const key in obj) {
[junit]  ^
[junit] 
[junit] Jan 22, 2020 8:12:54 AM