Build failed in Jenkins: royale-asjs_MXTests #496

2019-02-12 Thread apacheroyaleci
See 


Changes:

[carlosrovira] Make Jewel ComboBox popup list open in tablet the same as in 
dektop, so

--
[...truncated 2.02 MB...]
[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 

[mxmlc] using source file: 


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

2019-02-12 Thread apacheroyaleci
See 




Build failed in Jenkins: royale-asjs #1950

2019-02-12 Thread apacheroyaleci
See 


Changes:

[carlosrovira] Make Jewel ComboBox popup list open in tablet the same as in 
dektop, so

--
[...truncated 1.45 MB...]
 [java] 
-js-load-config+=c:\jenkins\workspace\royale-asjs\frameworks\projects\Effects/../../js/projects/EffectsJS/src/main/config/compile-js-config.xml
 [java] target:SWF
 [java] target:JSRoyale
 [java] COMPC
 [java] Loading configuration: 
c:\jenkins\workspace\royale-asjs\frameworks\projects\Effects\src\main\config\compile-swf-config.xml
 [java] 
 [java] 45003 bytes written to 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Effects\target\Effects.swc 
in 2.804 seconds
 [java] COMPCJSCRoyale
 [java] Copy library.swf
 [java] Compiling file: org.apache.royale.utils.MockContentView
 [java] Writing file: js\out\org\apache\royale\utils\MockContentView.js
 [java] Compiling file: org.apache.royale.effects.IEffect
 [java] Writing file: js\out\org\apache\royale\effects\IEffect.js
 [java] Compiling file: org.apache.royale.effects.ICompoundEffect
 [java] Writing file: js\out\org\apache\royale\effects\ICompoundEffect.js
 [java] Compiling file: org.apache.royale.effects.CompoundEffect
 [java] Writing file: js\out\org\apache\royale\effects\CompoundEffect.js
 [java] Compiling file: org.apache.royale.effects.Parallel
 [java] Writing file: js\out\org\apache\royale\effects\Parallel.js
 [java] Compiling file: org.apache.royale.utils.LayoutTweener
 [java] Writing file: js\out\org\apache\royale\utils\LayoutTweener.js
 [java] Compiling file: org.apache.royale.utils.MockLayoutParent
 [java] Writing file: js\out\org\apache\royale\utils\MockLayoutParent.js
 [java] Compiling file: org.apache.royale.effects.Effect
 [java] Writing file: js\out\org\apache\royale\effects\Effect.js
 [java] Compiling file: org.apache.royale.effects.beads.ParallelReverseBead
 [java] Writing file: 
js\out\org\apache\royale\effects\beads\ParallelReverseBead.js
 [java] Compiling file: EffectsClasses
 [java] Writing file: js\out\EffectsClasses.js
 [java] Compiling file: org.apache.royale.effects.Tween
 [java] Writing file: js\out\org\apache\royale\effects\Tween.js
 [java] Compiling file: org.apache.royale.effects.Move
 [java] Writing file: js\out\org\apache\royale\effects\Move.js
 [java] Compiling file: org.apache.royale.effects.Wipe
 [java] Writing file: js\out\org\apache\royale\effects\Wipe.js
 [java] Compiling file: org.apache.royale.utils.MockLayoutHost
 [java] Writing file: js\out\org\apache\royale\utils\MockLayoutHost.js
 [java] Compiling file: org.apache.royale.utils.IEffectsGenerator
 [java] Writing file: js\out\org\apache\royale\utils\IEffectsGenerator.js
 [java] Compiling file: org.apache.royale.utils.ResizeGenerator
 [java] Writing file: js\out\org\apache\royale\utils\ResizeGenerator.js
 [java] Compiling file: org.apache.royale.states.Transition
 [java] Writing file: js\out\org\apache\royale\states\Transition.js
 [java] Compiling file: 
org.apache.royale.effects.beads.EasyAccordionCollapseBead
 [java] Writing file: 
js\out\org\apache\royale\effects\beads\EasyAccordionCollapseBead.js
 [java] Compiling file: org.apache.royale.utils.MockParent
 [java] Writing file: js\out\org\apache\royale\utils\MockParent.js
 [java] Compiling file: org.apache.royale.core.StatesWithTransitionsImpl
 [java] Found ignorable: org.apache.royale.core.IStatesObject
 [java] Writing file: 
js\out\org\apache\royale\core\StatesWithTransitionsImpl.js
 [java] Compiling file: org.apache.royale.effects.beads.ParallelPlayBead
 [java] Writing file: 
js\out\org\apache\royale\effects\beads\ParallelPlayBead.js
 [java] Compiling file: org.apache.royale.effects.Fade
 [java] Writing file: js\out\org\apache\royale\effects\Fade.js
 [java] Compiling file: org.apache.royale.effects.beads.SequencePlayBead
 [java] Writing file: 
js\out\org\apache\royale\effects\beads\SequencePlayBead.js
 [java] Compiling file: org.apache.royale.utils.MoveGenerator
 [java] Writing file: js\out\org\apache\royale\utils\MoveGenerator.js
 [java] Compiling file: org.apache.royale.effects.Sequence
 [java] Writing file: js\out\org\apache\royale\effects\Sequence.js
 [java] Compiling file: org.apache.royale.utils.AbsoluteLayoutTweener
 [java] Writing file: 
js\out\org\apache\royale\utils\AbsoluteLayoutTweener.js
 [java] Compiling file: org.apache.royale.effects.PlatformWiper
 [java] Writing file: js\out\org\apache\royale\effects\PlatformWiper.js
 [java] Compiling file: org.apache.royale.utils.MockLayoutChild
 [java] Writing file: js\out\org\apache\royale\utils\MockLayoutChild.js
 [java] Compiling file: org.apache.royale.effects.Resize
 [java] Writing file: js\out\org\apache

Jenkins build is back to normal : royale-asjs_jsonly #2452

2019-02-12 Thread apacheroyaleci
See 




Re: How to identify object instances (StableObjectId)?

2019-02-12 Thread Alex Harui
For PAYG reasons, identifiers are not added to every object "just-in-case".  If 
you need them, add them.

I'd be interested in understanding the scenario where you create multiple 
instances with the exact same set of properties.  I would think it would be 
better to share one instance in that case.

It should be simple to add uid's where you need them unless I'm missing 
something:

Import org.apache.royale.utils.UIDUtil;
...
   Private var _uid:String;
   Public function MyConstructor(){
  _uid = UIDUtil(this);
   }

HTH,
-Alex

On 2/12/19, 2:34 AM, "Olaf Krueger"  wrote:

Thanks, Yishay... it really seems that StableObjectId is coming from Chrome.

> You can use an object’s dimensions, className, etc. to make sure it’s the
> one you need. 
> I do this all the time to break on specific values. 

Just to make sure that I got it right:
What if we create a couple of instances of the same class, all objects are
in the same initial state, all objects are total equal e.g.:

var instance1:MySuperComponent = new MySuperComponent();
var instance2:MySuperComponent = new MySuperComponent();
var instance3:MySuperComponent = new MySuperComponent();

In Flex, the object id can be used to distinguish between those objects out
of the box.
Is my understanding right that in Royale, we have to modify or add an object
property (e.g UUID) of/to each particular object in order to be able to
distinguish between all instances.

Thanks,
Olaf





--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Ce1eae98d87e3478b753308d690d59d34%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636855644507811920&sdata=5dFh2otgxkQXCoEN6ycomKZYSZorwCEhZyuDKfFQcAQ%3D&reserved=0




Re: How to identify object instances (StableObjectId)?

2019-02-12 Thread Olaf Krueger
Interesting, thanks for sharing!

Olaf



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


Re: How to identify object instances (StableObjectId)?

2019-02-12 Thread Piotr Zarzycki
Hi Olaf,

This is how it looks like in intellij [1] - Each object has such unique
number. If it's the same instance of object you will have the same number
in other place of applications.

[1] https://imgur.com/jG9MM2f

Thanks,
Piotr

wt., 12 lut 2019 o 09:59 Olaf Krueger  napisał(a):

> Hi,
>
> just for the case of completeness, the StableObjectId looks like this in
> VSCode [1].
>
> > ... you can identify an object by the properties it has and its parent
>
> IIUIC, this is valid for objects which do not differ.
> But if we have (for whatever reason) identical object instances it's hard
> to
> identify an object without having a unique object ID.
> However, UIDUtil idea is definitely a way to go if this [[StableObjectId]]
> doesn't work.
>
> @Piotr
> I am interested in how it looks like in Intelij, could you share a
> screenshot?
>
> Thanks for the help!
>
> Olaf
>
> [1]  https://snag.gy/YlMPW1.jpg
>
>
>
> --
> Sent from: http://apache-royale-development.20373.n8.nabble.com/
>


-- 

Piotr Zarzycki

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


RE: How to identify object instances (StableObjectId)?

2019-02-12 Thread Yishay Weiss
That’s my understanding too.




From: Olaf Krueger 
Sent: Tuesday, February 12, 2019 12:34:00 PM
To: dev@royale.apache.org
Subject: Re: How to identify object instances (StableObjectId)?

Thanks, Yishay... it really seems that StableObjectId is coming from Chrome.

> You can use an object’s dimensions, className, etc. to make sure it’s the
> one you need.
> I do this all the time to break on specific values.

Just to make sure that I got it right:
What if we create a couple of instances of the same class, all objects are
in the same initial state, all objects are total equal e.g.:

var instance1:MySuperComponent = new MySuperComponent();
var instance2:MySuperComponent = new MySuperComponent();
var instance3:MySuperComponent = new MySuperComponent();

In Flex, the object id can be used to distinguish between those objects out
of the box.
Is my understanding right that in Royale, we have to modify or add an object
property (e.g UUID) of/to each particular object in order to be able to
distinguish between all instances.

Thanks,
Olaf





--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


Re: How to identify object instances (StableObjectId)?

2019-02-12 Thread Olaf Krueger
Thanks, Yishay... it really seems that StableObjectId is coming from Chrome.

> You can use an object’s dimensions, className, etc. to make sure it’s the
> one you need. 
> I do this all the time to break on specific values. 

Just to make sure that I got it right:
What if we create a couple of instances of the same class, all objects are
in the same initial state, all objects are total equal e.g.:

var instance1:MySuperComponent = new MySuperComponent();
var instance2:MySuperComponent = new MySuperComponent();
var instance3:MySuperComponent = new MySuperComponent();

In Flex, the object id can be used to distinguish between those objects out
of the box.
Is my understanding right that in Royale, we have to modify or add an object
property (e.g UUID) of/to each particular object in order to be able to
distinguish between all instances.

Thanks,
Olaf





--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


Re: How to identify object instances (StableObjectId)?

2019-02-12 Thread Harbs
+1.

I do this all the time to break on specific values.

> On Feb 12, 2019, at 11:40 AM, Yishay Weiss  wrote:
> 
> For what it’s worth, I find using conditional breakpoints will get me around 
> the need to record instance names most of the time. You can use an object’s 
> dimensions, className, etc. to make sure it’s the one you need.
> 
> 
> 
> 
> From: Olaf Krueger 
> Sent: Monday, February 11, 2019 4:13:49 PM
> To: dev@royale.apache.org
> Subject: How to identify object instances (StableObjectId)?
> 
> Hi
> IIRIC, in Flex/AS3 each object is identified by a unique id, something like
> MyClass@aa77fdre7ee.
> 
> I need to identify a certain object instance while debugging a Royale app
> but didn't find this kind of identifier.
> 
> Instead, I found this:
> 
> [[StableObjectId]]:35
> 
> Is this the pendant to the object id which I described above?
> IOW:
> When I want to make sure that I am working with the right instance of an
> object, is this StableObjectId a proper way to trace this?
> 
> Thanks,
> Olaf
> 
> 
> 
> --
> Sent from: http://apache-royale-development.20373.n8.nabble.com/



RE: How to identify object instances (StableObjectId)?

2019-02-12 Thread Yishay Weiss
For what it’s worth, I find using conditional breakpoints will get me around 
the need to record instance names most of the time. You can use an object’s 
dimensions, className, etc. to make sure it’s the one you need.




From: Olaf Krueger 
Sent: Monday, February 11, 2019 4:13:49 PM
To: dev@royale.apache.org
Subject: How to identify object instances (StableObjectId)?

Hi
IIRIC, in Flex/AS3 each object is identified by a unique id, something like
MyClass@aa77fdre7ee.

I need to identify a certain object instance while debugging a Royale app
but didn't find this kind of identifier.

Instead, I found this:

[[StableObjectId]]:35

Is this the pendant to the object id which I described above?
IOW:
When I want to make sure that I am working with the right instance of an
object, is this StableObjectId a proper way to trace this?

Thanks,
Olaf



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


RE: How to identify object instances (StableObjectId)?

2019-02-12 Thread Yishay Weiss
Not sure exactly where it’s manufactured but it looks [1] like StableObjectID 
id a property created by Chrome. I guess, use at your own risk.



[1] 
https://github.com/ChromeDevTools/devtools-frontend/commit/fa54b2abcc2055e965ce972e9d42ac31a8a7caa3




From: Olaf Krueger 
Sent: Tuesday, February 12, 2019 10:52:36 AM
To: dev@royale.apache.org
Subject: Re: How to identify object instances (StableObjectId)?

Hi,

just for the case of completeness, the StableObjectId looks like this in
VSCode [1].

> ... you can identify an object by the properties it has and its parent

IIUIC, this is valid for objects which do not differ.
But if we have (for whatever reason) identical object instances it's hard to
identify an object without having a unique object ID.
However, UIDUtil idea is definitely a way to go if this [[StableObjectId]]
doesn't work.

@Piotr
I am interested in how it looks like in Intelij, could you share a
screenshot?

Thanks for the help!

Olaf

[1]  https://snag.gy/YlMPW1.jpg



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


Re: How to identify object instances (StableObjectId)?

2019-02-12 Thread Olaf Krueger
Hi,

just for the case of completeness, the StableObjectId looks like this in
VSCode [1].

> ... you can identify an object by the properties it has and its parent

IIUIC, this is valid for objects which do not differ.
But if we have (for whatever reason) identical object instances it's hard to
identify an object without having a unique object ID.
However, UIDUtil idea is definitely a way to go if this [[StableObjectId]]
doesn't work.

@Piotr
I am interested in how it looks like in Intelij, could you share a
screenshot?

Thanks for the help!

Olaf

[1]  https://snag.gy/YlMPW1.jpg



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/