Build failed in Jenkins: TourDeFlexMigration #528

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 124.79 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 6.477 seconds
[mxmlc] Jan 22, 2020 7:38:27 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 7:38:27 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] 36.735272599 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] 16004 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 8.717 seconds
[mxmlc] Jan 22, 2020 7:39:07 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 7:39:07 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] 38.8294376 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-21 Thread Takeshita Shoichiro
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 not start yet.  I was working on creating test
>> cases
>> > > for emulation for other areas.  I will find time today.  Will share my
>> > > progress with you for working together.
>> > >
>> > > 2020年1月21日(火) 3:13 Yishay Weiss :
>> > >
>> > > >
>> > > > Hi Taskeshita,
>> > > >
>> > > > How is this progressing? We 

Build failed in Jenkins: Royale_ASDoc_Example #529

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 42.09 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 #452

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 129.75 KB...]
[junit] 
[junit] Jan 22, 2020 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 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 5:55:41 AM 

Build failed in Jenkins: TourDeFlexMigration #527

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 123.46 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 3.152 seconds
[mxmlc] Jan 22, 2020 5:20:49 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 5:20:49 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] 47.7821191 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.362 seconds
[mxmlc] Jan 22, 2020 5:21:33 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 5:21:33 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] 41.4544544 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 #528

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 40.79 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: Flexlib Emulation

2020-01-21 Thread Takeshita Shoichiro
Greg, that will be a great help.  Before your 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 not start yet.  I was working on creating test
> cases
> > > for emulation for other areas.  I will find time today.  Will share my
> > > progress with you for working together.
> > >
> > > 2020年1月21日(火) 3:13 Yishay Weiss :
> > >
> > > >
> > > > Hi Taskeshita,
> > > >
> > > > How is this progressing? We might find this useful very soon. Maybe
> we
> > > can
> > > > work on this together.
> > > >
> > > > Thanks,
> > > > Yisay
> > > >
> > > > From: Takeshita Shoichiro
> > > > Sent: Thursday, January 9, 2020 7:43 PM
> > > > To: dev@royale.apache.org
> > > > Subject: Flexlib Emulation
> > > >
> > > > Hi,
> > > >
> > > > I'll try to develop emulation components for flexlib.
> > > >
> > > > Several 

Re: royale-asjs XMLNamespaceTest testMinimalDefault failing

2020-01-21 Thread Greg Dove
Hi Josh, sounds like you found some other runtime versioning issues for
that - please go ahead and add the variation in for the test or add an
ignore for that test for now if you want. I can also check it with latest
player as well when I'm back next week.

On Wed, 22 Jan 2020, 12:36 Josh Tynjala,  wrote:

> Some more info after additional testing.
>
> - The playerVersion variable is 32, as expected.
> - The value of prefix is an empty string, which seems to be the same as
> when playerVersion is <= 20.
> - If I change the code so that permitEmptyString is true, the test passes.
>
> So, assuming that if something changed in Flash after version 20, it seems
> to have been changed back in a more recent version.
>
> --
> Josh Tynjala
> Bowler Hat LLC 
>
>
> On Tue, Jan 21, 2020 at 3:24 PM Josh Tynjala 
> wrote:
>
> > I'm getting the following failure from RoyaleUnit for the XML project,
> > which means that I cannot build the framework with Ant right now.
> >
> > Error: expected true but was false - unexpected prefix value
> > at
> >
> org.apache.royale.test::Assert$/failWithUserMessage()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:199]
> > at
> >
> org.apache.royale.test::Assert$/failFalse()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:122]
> > at
> >
> org.apache.royale.test::Assert$/assertTrue()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:68]
> > at
> >
> global/org.apache.royale.test.asserts::assertTrue()[/org/apache/royale/0.9.7/org/apache/royale/test/asserts/assertTrue.as:28]
> > at
> >
> flexUnitTests.xml::XMLNamespaceTest/testMinimalDefault()[C:\Users\josht\Development\apache\royale-asjs\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNamespaceTest.as:121]
> > at Function/http://adobe.com/AS3/2006/builtin::apply()
> > at
> >
> org.apache.royale.test.runners::MetadataRunner/continueNext()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:292]
> > at
> >
> org.apache.royale.test.runners::MetadataRunner/continueAll()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:246]
> > at
> >
> org.apache.royale.test.runners::MetadataRunner/run()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:207]
> > at
> >
> org.apache.royale.test.runners::ParentRunner/createNextRunner()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/ParentRunner.as:199]
> > at Function/http://adobe.com/AS3/2006/builtin::apply()
> > at SetIntervalTimer/onTimer()
> > at flash.utils::Timer/_timerDispatch()
> > at flash.utils::Timer/tick()
> >
> > Strangely, this same failure doesn't seem to happening on the CI server.
> >
> > I see that this test expects different behavior depending on which
> version
> > of Flash Player is being used. Maybe it's something related to that. I
> > happen to be using Flash Player 32.0.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC 
> >
>


Re: Flexlib Emulation

2020-01-21 Thread 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 not start yet.  I was working on creating test cases
> > for emulation for other areas.  I will find time today.  Will share my
> > progress with you for working together.
> >
> > 2020年1月21日(火) 3:13 Yishay Weiss :
> >
> > >
> > > Hi Taskeshita,
> > >
> > > How is this progressing? We might find this useful very soon. Maybe we
> > can
> > > work on this together.
> > >
> > > Thanks,
> > > Yisay
> > >
> > > From: Takeshita Shoichiro
> > > Sent: Thursday, January 9, 2020 7:43 PM
> > > To: dev@royale.apache.org
> > > Subject: Flexlib Emulation
> > >
> > > Hi,
> > >
> > > I'll try to develop emulation components for flexlib.
> > >
> > > Several questions in the meantime.
> > >
> > > Flexlib consists of about 500 files, mostly .as, .png, and .gif.
> > >
> > > However, there are also the following .fla and .swf files.
> > >
> > > \flexlib-master\flexlib-master\examples\MDI\src\MacOS9.swf
> > > \flexlib-master\flexlib-master\examples\MDI\src\WindowsXP_default.swf
> > > 

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

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 130.85 KB...]
[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 3:36:12 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 3:36:12 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 3:36:12 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 3:36:12 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 3:36:12 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 3:36:12 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 3:36:12 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 3:36:12 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 3:36:12 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 3:36:12 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 3:36:12 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 3:36:12 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 3:36:12 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 3:36:12 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:570: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const transposed = {};
[junit]   ^
[junit] 
[junit] Jan 22, 2020 3:36:12 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:571: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or 

Build failed in Jenkins: TourDeFlexMigration #526

2020-01-21 Thread apacheroyaleci
See 


Changes:

[carlosrovira] rat-check: do not checkt RAT on generated compilations in bin 
folders

[carlosrovira] [asjs] maven-distribution: if we have GOOG_HOME, new maven 
distribution


--
[...truncated 124.77 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 8.398 seconds
[mxmlc] Jan 22, 2020 3:01:04 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 3:01:04 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] 35.1227801 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] 15991 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 8.627 seconds
[mxmlc] Jan 22, 2020 3:01:46 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 3:01:46 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] 40.9055512 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] 

Build failed in Jenkins: Royale_ASDoc_Example #527

2020-01-21 Thread apacheroyaleci
See 


Changes:

[carlosrovira] rat-check: do not checkt RAT on generated compilations in bin 
folders

[carlosrovira] [asjs] maven-distribution: if we have GOOG_HOME, new maven 
distribution


--
[...truncated 42.10 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: Maven Distribution SDK fixed and working for IDEs

2020-01-21 Thread Alex Harui
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 ()
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 
>> >> > > napisał(a):
>> >> > >
>> >> > > > Hi,
>> >> > > >
>> >> > > > just fixed the maven distribution, and now it creates a valid 
SDK
>> >> that
>> >> > > can
>> >> > > > be used with IDEs. I think this is a long awaited fix.
>> >> > > >
>> >> > > > So with the new maven distribution the generated SDK allows you
>> to
>> >> get
>> >> > > > code intelligence and IDEs can find compilers and use it to get 
a
>> >> valid
>> >> > > > compilation. I tried only VSCode with Josh AS3 extension,
>> hope
>> >> > > others
>> >> > > > using Moonshine can provide feedback.
>> >> > > >
>> >> > > > Additionally you get the normal maven way of build with "mvn
>> >> install"
>> >> > > 

Re: Maven Distribution SDK fixed and working for IDEs

2020-01-21 Thread Carlos Rovira
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 ()
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://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven
>
> 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 
>> >> > > napisał(a):
>> >> > >
>> >> > > > Hi,
>> >> > > >
>> >> > > > just fixed the maven distribution, and now it creates a valid SDK
>> >> that
>> >> > > can
>> >> > > > be used with IDEs. I think this is a long awaited fix.
>> >> > > >
>> >> > > > So with the new maven distribution the generated SDK allows you
>> to
>> >> get
>> >> > > > code intelligence and IDEs can find compilers and use it to get a
>> >> valid
>> >> > > > compilation. I tried only VSCode with Josh AS3 extension,
>> hope
>> >> > > others
>> >> > > > using Moonshine can provide feedback.
>> >> > > >
>> >> > > > Additionally you get the normal maven way of build with "mvn
>> >> install"
>> >> > > that
>> >> > > > will be more near to your deploy needs.
>> >> > > >
>> >> > > > So people using Maven does not need to use ANT anymore to
>> generate a
>> >> > > valid
>> >> > > > SDK, and we get finally to have two independent ways of building
>> >> > > separated
>> >> > > > one from the other.
>> >> > > >
>> >> > > > I'll be doing some refining this days with classpaths since I
>> left
>> >> some
>> >> > > > versions hardcoded that I want to remove to make it valid as we
>> >> change
>> >> > > > versions.
>> >> > > >
>> >> > > > I'll be upgrading maven docs to reflect this change.
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > > --
>> >> > > > Carlos Rovira
>> >> > > > http://about.me/carlosrovira
>> >> > > >
>> >> > > >
>> >> > >
>> >> > > --
>> >> > >
>> >> > > Piotr Zarzycki
>> >> > >
>> >> > > Patreon: *https://www.patreon.com/piotrzarzycki
>> >> > > *
>> >> > >
>> >> >
>> >>
>> >>
>> >> --
>> >> Carlos 

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

2020-01-21 Thread apacheroyaleci
See 


Changes:

[carlosrovira] maven-distribution: if we have GOOG_HOME, new maven distribution 
does


--
[...truncated 131.12 KB...]
[junit] 
[junit] Jan 22, 2020 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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 1:11:51 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] 

Build failed in Jenkins: TourDeFlexMigration #525

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 124.66 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 3.132 seconds
[mxmlc] Jan 22, 2020 12:36:54 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 12:36:54 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] 33.810346 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] 16005 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 10.587 seconds
[mxmlc] Jan 22, 2020 12:37:42 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 12:37:42 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] 46.5068564 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] 

Build failed in Jenkins: Royale_ASDoc_Example #526

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 41.17 KB...]
 [java]  ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(161):
 col: 15 Call to a possibly undefined method setAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   element.setAttribute("stroke",value);
 [java]   ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(164):
 col: 22 Call to a possibly undefined method getAttribute through a reference 
with static type IRoyaleElement.
 [java] 
 [java]   return element.getAttribute("stroke-dasharray");
 [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]   

Re: royale-asjs XMLNamespaceTest testMinimalDefault failing

2020-01-21 Thread Josh Tynjala
Some more info after additional testing.

- The playerVersion variable is 32, as expected.
- The value of prefix is an empty string, which seems to be the same as
when playerVersion is <= 20.
- If I change the code so that permitEmptyString is true, the test passes.

So, assuming that if something changed in Flash after version 20, it seems
to have been changed back in a more recent version.

--
Josh Tynjala
Bowler Hat LLC 


On Tue, Jan 21, 2020 at 3:24 PM Josh Tynjala 
wrote:

> I'm getting the following failure from RoyaleUnit for the XML project,
> which means that I cannot build the framework with Ant right now.
>
> Error: expected true but was false - unexpected prefix value
> at
> org.apache.royale.test::Assert$/failWithUserMessage()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:199]
> at
> org.apache.royale.test::Assert$/failFalse()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:122]
> at
> org.apache.royale.test::Assert$/assertTrue()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:68]
> at
> global/org.apache.royale.test.asserts::assertTrue()[/org/apache/royale/0.9.7/org/apache/royale/test/asserts/assertTrue.as:28]
> at
> flexUnitTests.xml::XMLNamespaceTest/testMinimalDefault()[C:\Users\josht\Development\apache\royale-asjs\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNamespaceTest.as:121]
> at Function/http://adobe.com/AS3/2006/builtin::apply()
> at
> org.apache.royale.test.runners::MetadataRunner/continueNext()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:292]
> at
> org.apache.royale.test.runners::MetadataRunner/continueAll()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:246]
> at
> org.apache.royale.test.runners::MetadataRunner/run()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:207]
> at
> org.apache.royale.test.runners::ParentRunner/createNextRunner()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/ParentRunner.as:199]
> at Function/http://adobe.com/AS3/2006/builtin::apply()
> at SetIntervalTimer/onTimer()
> at flash.utils::Timer/_timerDispatch()
> at flash.utils::Timer/tick()
>
> Strangely, this same failure doesn't seem to happening on the CI server.
>
> I see that this test expects different behavior depending on which version
> of Flash Player is being used. Maybe it's something related to that. I
> happen to be using Flash Player 32.0.
>
> --
> Josh Tynjala
> Bowler Hat LLC 
>


royale-asjs XMLNamespaceTest testMinimalDefault failing

2020-01-21 Thread Josh Tynjala
I'm getting the following failure from RoyaleUnit for the XML project,
which means that I cannot build the framework with Ant right now.

Error: expected true but was false - unexpected prefix value
at
org.apache.royale.test::Assert$/failWithUserMessage()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:199]
at
org.apache.royale.test::Assert$/failFalse()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:122]
at
org.apache.royale.test::Assert$/assertTrue()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:68]
at
global/org.apache.royale.test.asserts::assertTrue()[/org/apache/royale/0.9.7/org/apache/royale/test/asserts/assertTrue.as:28]
at
flexUnitTests.xml::XMLNamespaceTest/testMinimalDefault()[C:\Users\josht\Development\apache\royale-asjs\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNamespaceTest.as:121]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at
org.apache.royale.test.runners::MetadataRunner/continueNext()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:292]
at
org.apache.royale.test.runners::MetadataRunner/continueAll()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:246]
at
org.apache.royale.test.runners::MetadataRunner/run()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:207]
at
org.apache.royale.test.runners::ParentRunner/createNextRunner()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/ParentRunner.as:199]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at SetIntervalTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

Strangely, this same failure doesn't seem to happening on the CI server.

I see that this test expects different behavior depending on which version
of Flash Player is being used. Maybe it's something related to that. I
happen to be using Flash Player 32.0.

--
Josh Tynjala
Bowler Hat LLC 


Re: Routing (was Re: Spectrum Components)

2020-01-21 Thread Alex Harui
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:
> 
> 
> 
> 
> 
> 
> etc...
> 
> 
> 
> 
>> On Jan 21, 2020, at 11:20 PM, Harbs mailto: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 

>> 
>> Then use the side panel to navigate to the same pages.
>> 
>>> On Jan 21, 2020, at 11:18 PM, Harbs mailto:harbs.li...@gmail.com>> 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 mailto: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
 

 
 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 (mailto:harbs.li...@gmail.com>>) escribió:
 
> Oops. I thought this email went out yesterday…
> 
> I have very little time today.
> 
> Can you show me the code you tried?
> 
>> On Jan 20, 2020, at 8:01 PM, Carlos Rovira mailto:carlosrov...@apache.org>>
> wrote:
>> 
>> Hi Harbs,
>> 
>> thanks for adding this. I think it will deserve some blog example, 
since
> is
>> something people requested in social media.
>> Can you please add it to Tour De Jewel? I tried but, I get two 
problems:
>> 1.- back/forth buttons are not working
>> 2.- previous button seems to register more than once the same state.
>> Thanks
>> 
>> Carlos
>> 
>> 
>> El lun., 20 ene. 2020 a las 14:38, Harbs (mailto:harbs.li...@gmail.com>>)
> escribió:
>> 
>>> I don’t remember how deep linking worked, but the concept is 
similar.
>>> Routing is the modern term.
>>> 
>>> FWIW, here’s an article on routing strategies vis a vis url paths:
>>> 

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

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 129.40 KB...]
[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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 21, 2020 10:52:41 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 better: const declaration.
[junit] for (const key in obj) {
[junit]  ^
[junit] 
[junit] Jan 21, 2020 10:52:41 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:570: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const transposed = {};
[junit]   ^
[junit] 
[junit] Jan 21, 2020 10:52:41 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:571: ERROR - This language feature is 
only supported for ECMASCRIPT6 

Build failed in Jenkins: TourDeFlexMigration #524

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 123.27 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 5.298 seconds
[mxmlc] Jan 21, 2020 10:18:48 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 21, 2020 10:18:48 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 'TextAreaExample' has been successfully compiled and 
optimized.
[mxmlc] 39.5419873 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] 15993 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 6.569 seconds
[mxmlc] Jan 21, 2020 10:19:36 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 21, 2020 10:19:36 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] 45.2201357 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] 

Build failed in Jenkins: Royale_ASDoc_Example #525

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 40.54 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: Routing (was Re: Spectrum Components)

2020-01-21 Thread Harbs
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=“Button Bar”/>
> etc...
> 
> 
> 
> 
>> On Jan 21, 2020, at 11:20 PM, Harbs > > 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 
>> 
>> 
>> 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 >>> > wrote:
 
 Hi Harbs,
 
 this paste is the MainContent.mxml from TDJ with the changes I tried:
 
 https://paste.apache.org/ez6aq 
 
 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 yesterday…
> 
> I have very little time today.
> 
> Can you show me the code you tried?
> 
>> On Jan 20, 2020, at 8:01 PM, Carlos Rovira > >
> wrote:
>> 
>> Hi Harbs,
>> 
>> thanks for adding this. I think it will deserve some blog example, since
> is
>> something people requested in social media.
>> Can you please add it to Tour De Jewel? I tried but, I get two problems:
>> 1.- back/forth buttons are not working
>> 2.- previous button seems to register more than once the same state.
>> Thanks
>> 
>> Carlos
>> 
>> 
>> El lun., 20 ene. 2020 a las 14:38, Harbs (> >)
> escribió:
>> 
>>> I don’t remember how deep linking worked, but the concept is similar.
>>> Routing is the modern term.
>>> 
>>> FWIW, here’s an article on routing strategies vis a vis url paths:
>>> https://codecraft.tv/courses/angular/routing/routing-strategies/ 
>>>  <
>>> https://codecraft.tv/courses/angular/routing/routing-strategies/ 
>>> >
>>> 
 On Jan 20, 2020, at 3:33 PM, Andrew Wetmore >>> >
> wrote:
 
 Thanks for this. In what way is this different from deep linking in
> Flex,
 apart from the name?
 
 On Mon, Jan 20, 2020 at 8:30 AM Harbs >>>  >> harbs.li...@gmail.com >> wrote:
 
> Not sure what you’re looking for. I tried to document the class as
> best
>>> as
> I could:
> 
> 
>>> 
> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>  
> 
>>> <
>>> 
> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
 
> <
> 
>>> 
> 

Re: Routing (was Re: Spectrum Components)

2020-01-21 Thread Harbs
FWIW, I’d like to write a version of a router which allows for more declarative 
syntax for routing to components.

Something like this:






etc...




> On Jan 21, 2020, at 11:20 PM, Harbs  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 
> 
> 
> 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 >> > wrote:
>>> 
>>> Hi Harbs,
>>> 
>>> this paste is the MainContent.mxml from TDJ with the changes I tried:
>>> 
>>> https://paste.apache.org/ez6aq 
>>> 
>>> 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 yesterday…
 
 I have very little time today.
 
 Can you show me the code you tried?
 
> On Jan 20, 2020, at 8:01 PM, Carlos Rovira 
 wrote:
> 
> Hi Harbs,
> 
> thanks for adding this. I think it will deserve some blog example, since
 is
> something people requested in social media.
> Can you please add it to Tour De Jewel? I tried but, I get two problems:
> 1.- back/forth buttons are not working
> 2.- previous button seems to register more than once the same state.
> Thanks
> 
> Carlos
> 
> 
> El lun., 20 ene. 2020 a las 14:38, Harbs ()
 escribió:
> 
>> I don’t remember how deep linking worked, but the concept is similar.
>> Routing is the modern term.
>> 
>> FWIW, here’s an article on routing strategies vis a vis url paths:
>> https://codecraft.tv/courses/angular/routing/routing-strategies/ <
>> https://codecraft.tv/courses/angular/routing/routing-strategies/>
>> 
>>> On Jan 20, 2020, at 3:33 PM, Andrew Wetmore 
 wrote:
>>> 
>>> Thanks for this. In what way is this different from deep linking in
 Flex,
>>> apart from the name?
>>> 
>>> On Mon, Jan 20, 2020 at 8:30 AM Harbs > harbs.li...@gmail.com>> wrote:
>>> 
 Not sure what you’re looking for. I tried to document the class as
 best
>> as
 I could:
 
 
>> 
 https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>> <
>> 
 https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>>> 
 <
 
>> 
 https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>> <
>> 
 https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>>> 
> 
 
 * “Routing” uses the browser history APIs to allow forward and back
 navigation.
 * When the hash of a URL is changed, the router dispatches an event
 * The state of the strand component can be automatically synced to the
 Router routeState.state value.
 * The application can call either setState() to add a point to the
>> browser
 history, or:
 * call renderState() to add a point and trigger a state change in the
>> app
 (i.e. diapatch an event fro the browser)
 
 Helpful?
 
 Some JS frameworks let you declaratively declare routes for a router,
>> that
 might be something worth looking into, but I was not sure what that
>> would
 look like in Royale.
 
> On Jan 20, 2020, at 3:22 PM, Andrew Wetmore 
>> wrote:
> 
> @harbs, would you have a chance to blurt out some text about

Re: Routing (was Re: Spectrum Components)

2020-01-21 Thread Harbs
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 


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  wrote:
>> 
>> Hi Harbs,
>> 
>> this paste is the MainContent.mxml from TDJ with the changes I tried:
>> 
>> https://paste.apache.org/ez6aq
>> 
>> 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 yesterday…
>>> 
>>> I have very little time today.
>>> 
>>> Can you show me the code you tried?
>>> 
 On Jan 20, 2020, at 8:01 PM, Carlos Rovira 
>>> wrote:
 
 Hi Harbs,
 
 thanks for adding this. I think it will deserve some blog example, since
>>> is
 something people requested in social media.
 Can you please add it to Tour De Jewel? I tried but, I get two problems:
 1.- back/forth buttons are not working
 2.- previous button seems to register more than once the same state.
 Thanks
 
 Carlos
 
 
 El lun., 20 ene. 2020 a las 14:38, Harbs ()
>>> escribió:
 
> I don’t remember how deep linking worked, but the concept is similar.
> Routing is the modern term.
> 
> FWIW, here’s an article on routing strategies vis a vis url paths:
> https://codecraft.tv/courses/angular/routing/routing-strategies/ <
> https://codecraft.tv/courses/angular/routing/routing-strategies/>
> 
>> On Jan 20, 2020, at 3:33 PM, Andrew Wetmore 
>>> wrote:
>> 
>> Thanks for this. In what way is this different from deep linking in
>>> Flex,
>> apart from the name?
>> 
>> On Mon, Jan 20, 2020 at 8:30 AM Harbs  harbs.li...@gmail.com>> wrote:
>> 
>>> Not sure what you’re looking for. I tried to document the class as
>>> best
> as
>>> I could:
>>> 
>>> 
> 
>>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
> <
> 
>>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>> 
>>> <
>>> 
> 
>>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
> <
> 
>>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>> 
 
>>> 
>>> * “Routing” uses the browser history APIs to allow forward and back
>>> navigation.
>>> * When the hash of a URL is changed, the router dispatches an event
>>> * The state of the strand component can be automatically synced to the
>>> Router routeState.state value.
>>> * The application can call either setState() to add a point to the
> browser
>>> history, or:
>>> * call renderState() to add a point and trigger a state change in the
> app
>>> (i.e. diapatch an event fro the browser)
>>> 
>>> Helpful?
>>> 
>>> Some JS frameworks let you declaratively declare routes for a router,
> that
>>> might be something worth looking into, but I was not sure what that
> would
>>> look like in Royale.
>>> 
 On Jan 20, 2020, at 3:22 PM, Andrew Wetmore 
> wrote:
 
 @harbs, would you have a chance to blurt out some text about
>>> "routing",
>>> and
 especially how and where it differs from "deep linking" in Flex? We
> need
 some documentation about this and I thought I knew where I was going
>>> to
>>> go
 with it until I saw this as an example of routing.
 
 Does not have to be finished textbullet points and pointers would
> be
 fine. I can then rework it for the help docs.
 
 

Re: Routing (was Re: Spectrum Components)

2020-01-21 Thread Harbs
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  wrote:
> 
> Hi Harbs,
> 
> this paste is the MainContent.mxml from TDJ with the changes I tried:
> 
> https://paste.apache.org/ez6aq
> 
> 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 yesterday…
>> 
>> I have very little time today.
>> 
>> Can you show me the code you tried?
>> 
>>> On Jan 20, 2020, at 8:01 PM, Carlos Rovira 
>> wrote:
>>> 
>>> Hi Harbs,
>>> 
>>> thanks for adding this. I think it will deserve some blog example, since
>> is
>>> something people requested in social media.
>>> Can you please add it to Tour De Jewel? I tried but, I get two problems:
>>> 1.- back/forth buttons are not working
>>> 2.- previous button seems to register more than once the same state.
>>> Thanks
>>> 
>>> Carlos
>>> 
>>> 
>>> El lun., 20 ene. 2020 a las 14:38, Harbs ()
>> escribió:
>>> 
 I don’t remember how deep linking worked, but the concept is similar.
 Routing is the modern term.
 
 FWIW, here’s an article on routing strategies vis a vis url paths:
 https://codecraft.tv/courses/angular/routing/routing-strategies/ <
 https://codecraft.tv/courses/angular/routing/routing-strategies/>
 
> On Jan 20, 2020, at 3:33 PM, Andrew Wetmore 
>> wrote:
> 
> Thanks for this. In what way is this different from deep linking in
>> Flex,
> apart from the name?
> 
> On Mon, Jan 20, 2020 at 8:30 AM Harbs >>> harbs.li...@gmail.com>> wrote:
> 
>> Not sure what you’re looking for. I tried to document the class as
>> best
 as
>> I could:
>> 
>> 
 
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
 <
 
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
> 
>> <
>> 
 
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
 <
 
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
> 
>>> 
>> 
>> * “Routing” uses the browser history APIs to allow forward and back
>> navigation.
>> * When the hash of a URL is changed, the router dispatches an event
>> * The state of the strand component can be automatically synced to the
>> Router routeState.state value.
>> * The application can call either setState() to add a point to the
 browser
>> history, or:
>> * call renderState() to add a point and trigger a state change in the
 app
>> (i.e. diapatch an event fro the browser)
>> 
>> Helpful?
>> 
>> Some JS frameworks let you declaratively declare routes for a router,
 that
>> might be something worth looking into, but I was not sure what that
 would
>> look like in Royale.
>> 
>>> On Jan 20, 2020, at 3:22 PM, Andrew Wetmore 
 wrote:
>>> 
>>> @harbs, would you have a chance to blurt out some text about
>> "routing",
>> and
>>> especially how and where it differs from "deep linking" in Flex? We
 need
>>> some documentation about this and I thought I knew where I was going
>> to
>> go
>>> with it until I saw this as an example of routing.
>>> 
>>> Does not have to be finished textbullet points and pointers would
 be
>>> fine. I can then rework it for the help docs.
>>> 
>>> Thanks!
>>> 
>>> On Mon, Jan 20, 2020 at 8:09 AM Harbs  wrote:
>>> 
 It’s declared here:
 
 
>> 
 
>> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/MainView.mxml#L213
 
 And used here:
 
 
>> 
 
>> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/MainView.mxml#L131
 
 here:
 
 

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

2020-01-21 Thread apacheroyaleci
See 


Changes:

[joshtynjala] MXMLTagData: fix null reference exception when MXML is malformed


--
[...truncated 130.56 KB...]
[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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 21, 2020 8:29:20 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 better: const declaration.
[junit] for (const key in obj) {
[junit]  ^
[junit] 
[junit] Jan 21, 2020 8:29:20 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:570: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const transposed = {};
[junit]   ^
[junit] 
[junit] Jan 21, 2020 8:29:20 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: 

Build failed in Jenkins: TourDeFlexMigration #523

2020-01-21 Thread apacheroyaleci
See 


Changes:

[aharui] get Scroller to behave properly.  Its children are specified in a

[aharui] get RichEditableText to display text

[aharui] text display and editing in RichEditableText


--
[...truncated 124.45 KB...]
[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16969 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextAreaExample.swf
 in 4.605 seconds
[mxmlc] Jan 21, 2020 7:55: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 21, 2020 7:55:56 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] 39.8613887 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 4.504 seconds
[mxmlc] Jan 21, 2020 7:56:27 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 21, 2020 7:56:27 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] 29.2817607 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] 

Build failed in Jenkins: Royale_ASDoc_Example #524

2020-01-21 Thread apacheroyaleci
See 


Changes:

[aharui] get Scroller to behave properly.  Its children are specified in a

[aharui] get RichEditableText to display text

[aharui] text display and editing in RichEditableText


--
[...truncated 41.78 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: Routing (was Re: Spectrum Components)

2020-01-21 Thread Carlos Rovira
Hi Harbs,

this paste is the MainContent.mxml from TDJ with the changes I tried:

https://paste.apache.org/ez6aq

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 yesterday…
>
> I have very little time today.
>
> Can you show me the code you tried?
>
> > On Jan 20, 2020, at 8:01 PM, Carlos Rovira 
> wrote:
> >
> > Hi Harbs,
> >
> > thanks for adding this. I think it will deserve some blog example, since
> is
> > something people requested in social media.
> > Can you please add it to Tour De Jewel? I tried but, I get two problems:
> > 1.- back/forth buttons are not working
> > 2.- previous button seems to register more than once the same state.
> > Thanks
> >
> > Carlos
> >
> >
> > El lun., 20 ene. 2020 a las 14:38, Harbs ()
> escribió:
> >
> >> I don’t remember how deep linking worked, but the concept is similar.
> >> Routing is the modern term.
> >>
> >> FWIW, here’s an article on routing strategies vis a vis url paths:
> >> https://codecraft.tv/courses/angular/routing/routing-strategies/ <
> >> https://codecraft.tv/courses/angular/routing/routing-strategies/>
> >>
> >>> On Jan 20, 2020, at 3:33 PM, Andrew Wetmore 
> wrote:
> >>>
> >>> Thanks for this. In what way is this different from deep linking in
> Flex,
> >>> apart from the name?
> >>>
> >>> On Mon, Jan 20, 2020 at 8:30 AM Harbs  >> harbs.li...@gmail.com>> wrote:
> >>>
>  Not sure what you’re looking for. I tried to document the class as
> best
> >> as
>  I could:
> 
> 
> >>
> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
> >> <
> >>
> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
> >>>
>  <
> 
> >>
> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
> >> <
> >>
> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
> >>>
> >
> 
>  * “Routing” uses the browser history APIs to allow forward and back
>  navigation.
>  * When the hash of a URL is changed, the router dispatches an event
>  * The state of the strand component can be automatically synced to the
>  Router routeState.state value.
>  * The application can call either setState() to add a point to the
> >> browser
>  history, or:
>  * call renderState() to add a point and trigger a state change in the
> >> app
>  (i.e. diapatch an event fro the browser)
> 
>  Helpful?
> 
>  Some JS frameworks let you declaratively declare routes for a router,
> >> that
>  might be something worth looking into, but I was not sure what that
> >> would
>  look like in Royale.
> 
> > On Jan 20, 2020, at 3:22 PM, Andrew Wetmore 
> >> wrote:
> >
> > @harbs, would you have a chance to blurt out some text about
> "routing",
>  and
> > especially how and where it differs from "deep linking" in Flex? We
> >> need
> > some documentation about this and I thought I knew where I was going
> to
>  go
> > with it until I saw this as an example of routing.
> >
> > Does not have to be finished textbullet points and pointers would
> >> be
> > fine. I can then rework it for the help docs.
> >
> > Thanks!
> >
> > On Mon, Jan 20, 2020 at 8:09 AM Harbs  wrote:
> >
> >> It’s declared here:
> >>
> >>
> 
> >>
> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/MainView.mxml#L213
> >>
> >> And used here:
> >>
> >>
> 
> >>
> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/MainView.mxml#L131
> >>
> >> here:
> >>
> >>
> 
> >>
> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/MainView.mxml#L167
> >>
> >> and here:
> >>
> >>
> 
> >>
> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/models/Theme.as#L20
> >>
> >>> On Jan 20, 2020, at 3:03 PM, Harbs  wrote:
> >>>
> >>> I created a Router bead which I’m now using in the demo app.
> >>>
> >>> Here’s two very different states:
> >>>
> >>>
> https://unhurdle.github.io/spectrum-royale/#!combobox?colorstop=dark
> >>> https://unhurdle.github.io/spectrum-royale/#!asset_list
> >>>
> >>> Router supports”state”, paths and parameters.
> >>>
> >>> The demo app is using state and parameters.
> >>>
> >>> Harbs
> >>>
>  On Jan 20, 2020, at 

Re: Routing (was Re: Spectrum Components)

2020-01-21 Thread Harbs
Oops. I thought this email went out yesterday…

I have very little time today.

Can you show me the code you tried?

> On Jan 20, 2020, at 8:01 PM, Carlos Rovira  wrote:
> 
> Hi Harbs,
> 
> thanks for adding this. I think it will deserve some blog example, since is
> something people requested in social media.
> Can you please add it to Tour De Jewel? I tried but, I get two problems:
> 1.- back/forth buttons are not working
> 2.- previous button seems to register more than once the same state.
> Thanks
> 
> Carlos
> 
> 
> El lun., 20 ene. 2020 a las 14:38, Harbs () escribió:
> 
>> I don’t remember how deep linking worked, but the concept is similar.
>> Routing is the modern term.
>> 
>> FWIW, here’s an article on routing strategies vis a vis url paths:
>> https://codecraft.tv/courses/angular/routing/routing-strategies/ <
>> https://codecraft.tv/courses/angular/routing/routing-strategies/>
>> 
>>> On Jan 20, 2020, at 3:33 PM, Andrew Wetmore  wrote:
>>> 
>>> Thanks for this. In what way is this different from deep linking in Flex,
>>> apart from the name?
>>> 
>>> On Mon, Jan 20, 2020 at 8:30 AM Harbs > harbs.li...@gmail.com>> wrote:
>>> 
 Not sure what you’re looking for. I tried to document the class as best
>> as
 I could:
 
 
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>> <
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>>> 
 <
 
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>> <
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>>> 
> 
 
 * “Routing” uses the browser history APIs to allow forward and back
 navigation.
 * When the hash of a URL is changed, the router dispatches an event
 * The state of the strand component can be automatically synced to the
 Router routeState.state value.
 * The application can call either setState() to add a point to the
>> browser
 history, or:
 * call renderState() to add a point and trigger a state change in the
>> app
 (i.e. diapatch an event fro the browser)
 
 Helpful?
 
 Some JS frameworks let you declaratively declare routes for a router,
>> that
 might be something worth looking into, but I was not sure what that
>> would
 look like in Royale.
 
> On Jan 20, 2020, at 3:22 PM, Andrew Wetmore 
>> wrote:
> 
> @harbs, would you have a chance to blurt out some text about "routing",
 and
> especially how and where it differs from "deep linking" in Flex? We
>> need
> some documentation about this and I thought I knew where I was going to
 go
> with it until I saw this as an example of routing.
> 
> Does not have to be finished textbullet points and pointers would
>> be
> fine. I can then rework it for the help docs.
> 
> Thanks!
> 
> On Mon, Jan 20, 2020 at 8:09 AM Harbs  wrote:
> 
>> It’s declared here:
>> 
>> 
 
>> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/MainView.mxml#L213
>> 
>> And used here:
>> 
>> 
 
>> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/MainView.mxml#L131
>> 
>> here:
>> 
>> 
 
>> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/MainView.mxml#L167
>> 
>> and here:
>> 
>> 
 
>> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/models/Theme.as#L20
>> 
>>> On Jan 20, 2020, at 3:03 PM, Harbs  wrote:
>>> 
>>> I created a Router bead which I’m now using in the demo app.
>>> 
>>> Here’s two very different states:
>>> 
>>> https://unhurdle.github.io/spectrum-royale/#!combobox?colorstop=dark
>>> https://unhurdle.github.io/spectrum-royale/#!asset_list
>>> 
>>> Router supports”state”, paths and parameters.
>>> 
>>> The demo app is using state and parameters.
>>> 
>>> Harbs
>>> 
 On Jan 20, 2020, at 10:54 AM, Carlos Rovira <
>> carlosrov...@apache.org>
>> wrote:
 
 Hi Harbs,
 
 about routing, I expect urls will be more like permalinks without
>> the
>> need
 of !# chars. Is this possible?
 
 This:
 https://unhurdle.github.io/spectrum-royale/bar_loader
 
 instead of this:
 https://unhurdle.github.io/spectrum-royale/#!bar_loader
 
 And have it as a library "Routing" that we could use.
 As any other framework out there, is something that they 

Re: Routing (was Re: Spectrum Components)

2020-01-21 Thread Carlos Rovira
Hi Harbs,

do you have time to add Router to TDJ?
Thanks

El lun., 20 ene. 2020 a las 19:01, Carlos Rovira ()
escribió:

> Hi Harbs,
>
> thanks for adding this. I think it will deserve some blog example, since
> is something people requested in social media.
> Can you please add it to Tour De Jewel? I tried but, I get two problems:
> 1.- back/forth buttons are not working
> 2.- previous button seems to register more than once the same state.
> Thanks
>
> Carlos
>
>
> El lun., 20 ene. 2020 a las 14:38, Harbs ()
> escribió:
>
>> I don’t remember how deep linking worked, but the concept is similar.
>> Routing is the modern term.
>>
>> FWIW, here’s an article on routing strategies vis a vis url paths:
>> https://codecraft.tv/courses/angular/routing/routing-strategies/ <
>> https://codecraft.tv/courses/angular/routing/routing-strategies/>
>>
>> > On Jan 20, 2020, at 3:33 PM, Andrew Wetmore 
>> wrote:
>> >
>> > Thanks for this. In what way is this different from deep linking in
>> Flex,
>> > apart from the name?
>> >
>> > On Mon, Jan 20, 2020 at 8:30 AM Harbs > harbs.li...@gmail.com>> wrote:
>> >
>> >> Not sure what you’re looking for. I tried to document the class as
>> best as
>> >> I could:
>> >>
>> >>
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>> <
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>> >
>> >> <
>> >>
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>> <
>> https://github.com/apache/royale-asjs/blob/6cbc5559bcc99bf2ceb3e033747ca3680b3b0d91/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
>> >
>> >>>
>> >>
>> >> * “Routing” uses the browser history APIs to allow forward and back
>> >> navigation.
>> >> * When the hash of a URL is changed, the router dispatches an event
>> >> * The state of the strand component can be automatically synced to the
>> >> Router routeState.state value.
>> >> * The application can call either setState() to add a point to the
>> browser
>> >> history, or:
>> >> * call renderState() to add a point and trigger a state change in the
>> app
>> >> (i.e. diapatch an event fro the browser)
>> >>
>> >> Helpful?
>> >>
>> >> Some JS frameworks let you declaratively declare routes for a router,
>> that
>> >> might be something worth looking into, but I was not sure what that
>> would
>> >> look like in Royale.
>> >>
>> >>> On Jan 20, 2020, at 3:22 PM, Andrew Wetmore 
>> wrote:
>> >>>
>> >>> @harbs, would you have a chance to blurt out some text about
>> "routing",
>> >> and
>> >>> especially how and where it differs from "deep linking" in Flex? We
>> need
>> >>> some documentation about this and I thought I knew where I was going
>> to
>> >> go
>> >>> with it until I saw this as an example of routing.
>> >>>
>> >>> Does not have to be finished textbullet points and pointers would
>> be
>> >>> fine. I can then rework it for the help docs.
>> >>>
>> >>> Thanks!
>> >>>
>> >>> On Mon, Jan 20, 2020 at 8:09 AM Harbs  wrote:
>> >>>
>>  It’s declared here:
>> 
>> 
>> >>
>> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/MainView.mxml#L213
>> 
>>  And used here:
>> 
>> 
>> >>
>> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/MainView.mxml#L131
>> 
>>  here:
>> 
>> 
>> >>
>> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/MainView.mxml#L167
>> 
>>  and here:
>> 
>> 
>> >>
>> https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/models/Theme.as#L20
>> 
>> > On Jan 20, 2020, at 3:03 PM, Harbs  wrote:
>> >
>> > I created a Router bead which I’m now using in the demo app.
>> >
>> > Here’s two very different states:
>> >
>> >
>> https://unhurdle.github.io/spectrum-royale/#!combobox?colorstop=dark
>> > https://unhurdle.github.io/spectrum-royale/#!asset_list
>> >
>> > Router supports”state”, paths and parameters.
>> >
>> > The demo app is using state and parameters.
>> >
>> > Harbs
>> >
>> >> On Jan 20, 2020, at 10:54 AM, Carlos Rovira <
>> carlosrov...@apache.org>
>>  wrote:
>> >>
>> >> Hi Harbs,
>> >>
>> >> about routing, I expect urls will be more like permalinks without
>> the
>>  need
>> >> of !# chars. Is this possible?
>> >>
>> >> This:
>> >> https://unhurdle.github.io/spectrum-royale/bar_loader
>> >>
>> >> instead of this:
>> >> https://unhurdle.github.io/spectrum-royale/#!bar_loader
>> >>
>> >> And have it as a library "Routing" that we could use.
>> >> As any other framework out there, is something 

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

2020-01-21 Thread apacheroyaleci
See 


Changes:

[joshtynjala] MethodBodySemanticChecker: detects when attempting to call a


--
[...truncated 130.67 KB...]
[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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 21, 2020 6:05:51 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 better: const declaration.
[junit] for (const key in obj) {
[junit]  ^
[junit] 
[junit] Jan 21, 2020 6:05:51 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:570: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const transposed = {};
[junit]   ^
[junit] 
[junit] Jan 21, 2020 6:05:51 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: 

Build failed in Jenkins: TourDeFlexMigration #522

2020-01-21 Thread apacheroyaleci
See 


Changes:

[carlosrovira] tour-de-jewel: add all assets to the build when compiling with 
VSCode


--
[...truncated 124.49 KB...]
[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16933 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextAreaExample.swf
 in 8.840 seconds
[mxmlc] Jan 21, 2020 5:31:05 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:3202:
 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 21, 2020 5:31:05 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.1142918 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] 15981 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 5.620 seconds
[mxmlc] Jan 21, 2020 5:31:44 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:3202:
 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 21, 2020 5:31:44 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] 37.7087705 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] 

Build failed in Jenkins: Royale_ASDoc_Example #523

2020-01-21 Thread apacheroyaleci
See 


Changes:

[carlosrovira] tour-de-jewel: add all assets to the build when compiling with 
VSCode


--
[...truncated 41.82 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 

Re: Maven Distribution SDK fixed and working for IDEs

2020-01-21 Thread Carlos Rovira
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://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

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 
> >> > > napisał(a):
> >> > >
> >> > > > Hi,
> >> > > >
> >> > > > just fixed the maven distribution, and now it creates a valid SDK
> >> that
> >> > > can
> >> > > > be used with IDEs. I think this is a long awaited fix.
> >> > > >
> >> > > > So with the new maven distribution the generated SDK allows you to
> >> get
> >> > > > code intelligence and IDEs can find compilers and use it to get a
> >> valid
> >> > > > compilation. I tried only VSCode with Josh AS3 extension,
> hope
> >> > > others
> >> > > > using Moonshine can provide feedback.
> >> > > >
> >> > > > Additionally you get the normal maven way of build with "mvn
> >> install"
> >> > > that
> >> > > > will be more near to your deploy needs.
> >> > > >
> >> > > > So people using Maven does not need to use ANT anymore to
> generate a
> >> > > valid
> >> > > > SDK, and we get finally to have two independent ways of building
> >> > > separated
> >> > > > one from the other.
> >> > > >
> >> > > > I'll be doing some refining this days with classpaths since I left
> >> some
> >> > > > versions hardcoded that I want to remove to make it valid as we
> >> change
> >> > > > versions.
> >> > > >
> >> > > > I'll be upgrading maven docs to reflect this change.
> >> > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > Carlos Rovira
> >> > > > http://about.me/carlosrovira
> >> > > >
> >> > > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> > > Patreon: *https://www.patreon.com/piotrzarzycki
> >> > > *
> >> > >
> >> >
> >>
> >>
> >> --
> >> Carlos Rovira
> >> http://about.me/carlosrovira
> >>
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > *
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


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


Re: Maven Distribution SDK fixed and working for IDEs

2020-01-21 Thread Piotr Zarzycki
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 
>> > > napisał(a):
>> > >
>> > > > Hi,
>> > > >
>> > > > just fixed the maven distribution, and now it creates a valid SDK
>> that
>> > > can
>> > > > be used with IDEs. I think this is a long awaited fix.
>> > > >
>> > > > So with the new maven distribution the generated SDK allows you to
>> get
>> > > > code intelligence and IDEs can find compilers and use it to get a
>> valid
>> > > > compilation. I tried only VSCode with Josh AS3 extension, hope
>> > > others
>> > > > using Moonshine can provide feedback.
>> > > >
>> > > > Additionally you get the normal maven way of build with "mvn
>> install"
>> > > that
>> > > > will be more near to your deploy needs.
>> > > >
>> > > > So people using Maven does not need to use ANT anymore to generate a
>> > > valid
>> > > > SDK, and we get finally to have two independent ways of building
>> > > separated
>> > > > one from the other.
>> > > >
>> > > > I'll be doing some refining this days with classpaths since I left
>> some
>> > > > versions hardcoded that I want to remove to make it valid as we
>> change
>> > > > versions.
>> > > >
>> > > > I'll be upgrading maven docs to reflect this change.
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > Carlos Rovira
>> > > > http://about.me/carlosrovira
>> > > >
>> > > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> > > Patreon: *https://www.patreon.com/piotrzarzycki
>> > > *
>> > >
>> >
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


-- 

Piotr Zarzycki

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


Re: Maven Distribution SDK fixed and working for IDEs

2020-01-21 Thread Piotr Zarzycki
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 
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > just fixed the maven distribution, and now it creates a valid SDK
> that
> > > can
> > > > be used with IDEs. I think this is a long awaited fix.
> > > >
> > > > So with the new maven distribution the generated SDK allows you to
> get
> > > > code intelligence and IDEs can find compilers and use it to get a
> valid
> > > > compilation. I tried only VSCode with Josh AS3 extension, hope
> > > others
> > > > using Moonshine can provide feedback.
> > > >
> > > > Additionally you get the normal maven way of build with "mvn install"
> > > that
> > > > will be more near to your deploy needs.
> > > >
> > > > So people using Maven does not need to use ANT anymore to generate a
> > > valid
> > > > SDK, and we get finally to have two independent ways of building
> > > separated
> > > > one from the other.
> > > >
> > > > I'll be doing some refining this days with classpaths since I left
> some
> > > > versions hardcoded that I want to remove to make it valid as we
> change
> > > > versions.
> > > >
> > > > I'll be upgrading maven docs to reflect this change.
> > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > *
> > >
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

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


Re: [VSCode] Tour De Jewel assets are not copied

2020-01-21 Thread Carlos Rovira
Thanks Josh! That worked! :)

El mar., 21 ene. 2020 a las 16:39, Josh Tynjala ()
escribió:

> In asconfig.json, set copySourcePathAssets to true. Then, add
> resources/assets to the source-path compiler option.
>
> --
> Josh Tynjala
> Bowler Hat LLC 
>
>
> On Tue, Jan 21, 2020 at 6:24 AM Carlos Rovira 
> wrote:
>
> > Hi Josh,
> >
> > TDJ has in asconfigc.json configured "copySourcePathAssets": true
> >
> > I was expecting all files in "resources/assets" was copied to js-debug
> and
> > js-release, but I don't get anything but two files that comes from
> > JewelTheme library.
> >
> > In maven I need to add some maven code to copy it.
> > In VSCode I don't know how that is handled but I suppose we need
> something
> > to do that copy of files automatically.
> >
> > What can I do to solve this for compiling TDJ with VSCode?
> >
> > Thanks
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>


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


RE: Flexlib Emulation

2020-01-21 Thread Yishay Weiss
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 not start yet.  I was working on creating test cases
> for emulation for other areas.  I will find time today.  Will share my
> progress with you for working together.
>
> 2020年1月21日(火) 3:13 Yishay Weiss :
>
> >
> > Hi Taskeshita,
> >
> > How is this progressing? We might find this useful very soon. Maybe we
> can
> > work on this together.
> >
> > Thanks,
> > Yisay
> >
> > From: Takeshita Shoichiro
> > Sent: Thursday, January 9, 2020 7:43 PM
> > To: dev@royale.apache.org
> > Subject: Flexlib Emulation
> >
> > Hi,
> >
> > I'll try to develop emulation components for flexlib.
> >
> > Several questions in the meantime.
> >
> > Flexlib consists of about 500 files, mostly .as, .png, and .gif.
> >
> > However, there are also the following .fla and .swf files.
> >
> > \flexlib-master\flexlib-master\examples\MDI\src\MacOS9.swf
> > \flexlib-master\flexlib-master\examples\MDI\src\WindowsXP_default.swf
> > \flexlib-master\flexlib-master\examples\MDI\src\assets\swf\Blue.swf
> >
> \flexlib-master\flexlib-master\examples\MDI\src\assets\swf\BrushedMetal.swf
> >
> >
> \flexlib-master\flexlib-master\examples\MDI\src\assets\swf\WindowsAssets.swf
> >
> >
> \flexlib-master\flexlib-master\examples\TreeGrid\src\assets\defaultTreeAssets.fla
> >
> >
> \flexlib-master\flexlib-master\examples\TreeGrid\src\assets\defaultTreeAssets.swf
> >
> \flexlib-master\flexlib-master\examples\TreeGrid\src\assets\treeAssets.fla
> >
> 

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

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 129.60 KB...]
[junit] 
[junit] Jan 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 21, 2020 3:50:07 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 better: const declaration.
[junit] for (const key in obj) {
[junit]  ^
[junit] 
[junit] Jan 21, 2020 3:50:07 PM 

Re: [VSCode] Tour De Jewel assets are not copied

2020-01-21 Thread Josh Tynjala
In asconfig.json, set copySourcePathAssets to true. Then, add
resources/assets to the source-path compiler option.

--
Josh Tynjala
Bowler Hat LLC 


On Tue, Jan 21, 2020 at 6:24 AM Carlos Rovira 
wrote:

> Hi Josh,
>
> TDJ has in asconfigc.json configured "copySourcePathAssets": true
>
> I was expecting all files in "resources/assets" was copied to js-debug and
> js-release, but I don't get anything but two files that comes from
> JewelTheme library.
>
> In maven I need to add some maven code to copy it.
> In VSCode I don't know how that is handled but I suppose we need something
> to do that copy of files automatically.
>
> What can I do to solve this for compiling TDJ with VSCode?
>
> Thanks
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


Build failed in Jenkins: TourDeFlexMigration #521

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 123.23 KB...]
[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16932 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextAreaExample.swf
 in 4.341 seconds
[mxmlc] Jan 21, 2020 3:16:51 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:3202:
 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 21, 2020 3:16:51 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] 35.2528206 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] 15980 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 6.124 seconds
[mxmlc] Jan 21, 2020 3:17:29 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:3202:
 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 21, 2020 3:17:29 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] 38.2896487 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 #522

2020-01-21 Thread apacheroyaleci
See 


Changes:


--
[...truncated 40.56 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]   

[VSCode] Tour De Jewel assets are not copied

2020-01-21 Thread Carlos Rovira
Hi Josh,

TDJ has in asconfigc.json configured "copySourcePathAssets": true

I was expecting all files in "resources/assets" was copied to js-debug and
js-release, but I don't get anything but two files that comes from
JewelTheme library.

In maven I need to add some maven code to copy it.
In VSCode I don't know how that is handled but I suppose we need something
to do that copy of files automatically.

What can I do to solve this for compiling TDJ with VSCode?

Thanks

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


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

2020-01-21 Thread apacheroyaleci
See 


Changes:

[carlosrovira] maven-distribution: fix classpath on jars to make maven 
distribution


--
[...truncated 129.60 KB...]
[junit] 
[junit] Jan 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 21, 2020 1:27:45 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 better: const declaration.
[junit] for (const key in obj) {
[junit]  

Build failed in Jenkins: TourDeFlexMigration #520

2020-01-21 Thread apacheroyaleci
See 


Changes:

[carlosrovira] maven-distribution: fix classpaths on dummy jars. This should be

[carlosrovira] maven-distribution: make dummy jars be renamed to "mxmlc.jar" and

[carlosrovira] maven-distribution: restore clean distribution folder (don't 
find a


--
[...truncated 123.34 KB...]
[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 16933 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextAreaExample.swf
 in 8.158 seconds
[mxmlc] Jan 21, 2020 12:51:46 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:3202:
 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 21, 2020 12:51:46 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 'TextAreaExample' has been successfully compiled and 
optimized.
[mxmlc] 36.41388 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] 15980 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\mx\controls\TextExample.swf
 in 8.747 seconds
[mxmlc] Jan 21, 2020 12:52:32 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:3202:
 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 21, 2020 12:52:32 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] 45.6890558 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 

   

Build failed in Jenkins: Royale_ASDoc_Example #521

2020-01-21 Thread apacheroyaleci
See 


Changes:

[carlosrovira] maven-distribution: fix classpaths on dummy jars. This should be

[carlosrovira] maven-distribution: make dummy jars be renamed to "mxmlc.jar" and

[carlosrovira] maven-distribution: restore clean distribution folder (don't 
find a


--
[...truncated 40.56 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: Maven Distribution SDK fixed and working for IDEs

2020-01-21 Thread Carlos Rovira
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 
> > napisał(a):
> >
> > > Hi,
> > >
> > > just fixed the maven distribution, and now it creates a valid SDK that
> > can
> > > be used with IDEs. I think this is a long awaited fix.
> > >
> > > So with the new maven distribution the generated SDK allows you to get
> > > code intelligence and IDEs can find compilers and use it to get a valid
> > > compilation. I tried only VSCode with Josh AS3 extension, hope
> > others
> > > using Moonshine can provide feedback.
> > >
> > > Additionally you get the normal maven way of build with "mvn install"
> > that
> > > will be more near to your deploy needs.
> > >
> > > So people using Maven does not need to use ANT anymore to generate a
> > valid
> > > SDK, and we get finally to have two independent ways of building
> > separated
> > > one from the other.
> > >
> > > I'll be doing some refining this days with classpaths since I left some
> > > versions hardcoded that I want to remove to make it valid as we change
> > > versions.
> > >
> > > I'll be upgrading maven docs to reflect this change.
> > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> > >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > *
> >
>


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


Re: Maven Distribution SDK fixed and working for IDEs

2020-01-21 Thread Carlos Rovira
Hi Piotr, good idea :)

This is what we have in the wiki. Notice that you can use maven wrapper
(mvnw) if you does not have maven installed locally (it will handle all
foro you). This will build all with tests, examples and distribution SDK:

#!/bin/bashexport
FLASHPLAYER_DEBUGGER="/Users/christofer.dutz/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
Player.app/Contents/MacOS/Flash Player Debugger"cd royale-compiler
./mvnw installcd ../royale-typedefs
./mvnw installcd ../royale-asjs
./mvnw install -P
with-examples,with-distribution,with-ui-testsuite,option-with-swf
-Dwebdriver.gecko.driver=/Users/christofer.dutz/Downloads/geckodriver


TO BUILD JUST SDK
=

*distribution requires "option-with-swf"* (one thing to improve would be to
remove swf dependency to create a js-only sdk), so the minimum will be:

*mvn clean install -P with-distribution,option-with-swf
-DdistributionTargetFolder=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-sdk*

(notice that here I added a target sdk folder to create SDK in that folder
for convenience).

finally if you have maven updated and just want to create distribution you
can just do:

*cd /distribution*

mvn clean install
-DdistributionTargetFolder=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven

This will just execute the creation of the SDK.

HTH.

Carlos


El mar., 21 ene. 2020 a las 12:15, Piotr Zarzycki (<
piotrzarzyck...@gmail.com>) escribió:

> 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 
> napisał(a):
>
>> Hi,
>>
>> just fixed the maven distribution, and now it creates a valid SDK that
>> can be used with IDEs. I think this is a long awaited fix.
>>
>> So with the new maven distribution the generated SDK allows you to get
>> code intelligence and IDEs can find compilers and use it to get a valid
>> compilation. I tried only VSCode with Josh AS3 extension, hope others
>> using Moonshine can provide feedback.
>>
>> Additionally you get the normal maven way of build with "mvn install"
>> that will be more near to your deploy needs.
>>
>> So people using Maven does not need to use ANT anymore to generate a
>> valid SDK, and we get finally to have two independent ways of building
>> separated one from the other.
>>
>> I'll be doing some refining this days with classpaths since I left some
>> versions hardcoded that I want to remove to make it valid as we change
>> versions.
>>
>> I'll be upgrading maven docs to reflect this change.
>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


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


Re: Maven Distribution SDK fixed and working for IDEs

2020-01-21 Thread Antonis Kalodimos
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 
> napisał(a):
>
> > Hi,
> >
> > just fixed the maven distribution, and now it creates a valid SDK that
> can
> > be used with IDEs. I think this is a long awaited fix.
> >
> > So with the new maven distribution the generated SDK allows you to get
> > code intelligence and IDEs can find compilers and use it to get a valid
> > compilation. I tried only VSCode with Josh AS3 extension, hope
> others
> > using Moonshine can provide feedback.
> >
> > Additionally you get the normal maven way of build with "mvn install"
> that
> > will be more near to your deploy needs.
> >
> > So people using Maven does not need to use ANT anymore to generate a
> valid
> > SDK, and we get finally to have two independent ways of building
> separated
> > one from the other.
> >
> > I'll be doing some refining this days with classpaths since I left some
> > versions hardcoded that I want to remove to make it valid as we change
> > versions.
> >
> > I'll be upgrading maven docs to reflect this change.
> >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


Re: Maven Distribution SDK fixed and working for IDEs

2020-01-21 Thread Piotr Zarzycki
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  napisał(a):

> Hi,
>
> just fixed the maven distribution, and now it creates a valid SDK that can
> be used with IDEs. I think this is a long awaited fix.
>
> So with the new maven distribution the generated SDK allows you to get
> code intelligence and IDEs can find compilers and use it to get a valid
> compilation. I tried only VSCode with Josh AS3 extension, hope others
> using Moonshine can provide feedback.
>
> Additionally you get the normal maven way of build with "mvn install" that
> will be more near to your deploy needs.
>
> So people using Maven does not need to use ANT anymore to generate a valid
> SDK, and we get finally to have two independent ways of building separated
> one from the other.
>
> I'll be doing some refining this days with classpaths since I left some
> versions hardcoded that I want to remove to make it valid as we change
> versions.
>
> I'll be upgrading maven docs to reflect this change.
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 

Piotr Zarzycki

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


Maven Distribution SDK fixed and working for IDEs

2020-01-21 Thread Carlos Rovira
Hi,

just fixed the maven distribution, and now it creates a valid SDK that can
be used with IDEs. I think this is a long awaited fix.

So with the new maven distribution the generated SDK allows you to get code
intelligence and IDEs can find compilers and use it to get a valid
compilation. I tried only VSCode with Josh AS3 extension, hope others
using Moonshine can provide feedback.

Additionally you get the normal maven way of build with "mvn install" that
will be more near to your deploy needs.

So people using Maven does not need to use ANT anymore to generate a valid
SDK, and we get finally to have two independent ways of building separated
one from the other.

I'll be doing some refining this days with classpaths since I left some
versions hardcoded that I want to remove to make it valid as we change
versions.

I'll be upgrading maven docs to reflect this change.



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


Re: Flexlib Emulation

2020-01-21 Thread Takeshita Shoichiro
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 not start yet.  I was working on creating test cases
> for emulation for other areas.  I will find time today.  Will share my
> progress with you for working together.
>
> 2020年1月21日(火) 3:13 Yishay Weiss :
>
> >
> > Hi Taskeshita,
> >
> > How is this progressing? We might find this useful very soon. Maybe we
> can
> > work on this together.
> >
> > Thanks,
> > Yisay
> >
> > From: Takeshita Shoichiro
> > Sent: Thursday, January 9, 2020 7:43 PM
> > To: dev@royale.apache.org
> > Subject: Flexlib Emulation
> >
> > Hi,
> >
> > I'll try to develop emulation components for flexlib.
> >
> > Several questions in the meantime.
> >
> > Flexlib consists of about 500 files, mostly .as, .png, and .gif.
> >
> > However, there are also the following .fla and .swf files.
> >
> > \flexlib-master\flexlib-master\examples\MDI\src\MacOS9.swf
> > \flexlib-master\flexlib-master\examples\MDI\src\WindowsXP_default.swf
> > \flexlib-master\flexlib-master\examples\MDI\src\assets\swf\Blue.swf
> >
> \flexlib-master\flexlib-master\examples\MDI\src\assets\swf\BrushedMetal.swf
> >
> >
> \flexlib-master\flexlib-master\examples\MDI\src\assets\swf\WindowsAssets.swf
> >
> >
> \flexlib-master\flexlib-master\examples\TreeGrid\src\assets\defaultTreeAssets.fla
> >
> >
> \flexlib-master\flexlib-master\examples\TreeGrid\src\assets\defaultTreeAssets.swf
> >
> \flexlib-master\flexlib-master\examples\TreeGrid\src\assets\treeAssets.fla
> >
> \flexlib-master\flexlib-master\examples\TreeGrid\src\assets\treeAssets.swf
> > \flexlib-master\flexlib-master\library\src\flexlib\assets\assets.fla
> > \flexlib-master\flexlib-master\library\src\flexlib\assets\assets.swf
> >
> >
>