You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Harbs <ha...@in-tools.com> on 2018/02/12 11:16:01 UTC

Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

The externs for CSSStyleDeclaration has `overflow`, but it’s missing `overflowX` and `overflowY`.

That’s causing these two lines to fail (only in maven for some reason):

(value as UIBase).element.style.overflowY = "auto";
(contentView as UIBase).element.style.overflowY = "auto”;

I could change these lines to:
(value as UIBase).element.style[“overflowY”] = "auto";
(contentView as UIBase).element.style[“overflowY”] = "auto”;

Although, I think patching the extern file is probably a better solution.

I’m not clear on how to patch it though. Any pointers?

Harbs

> On Feb 12, 2018, at 1:00 PM, Apache Jenkins Server <je...@builds.apache.org> wrote:
> 
> The Apache Jenkins build system has built Royale-asjs (build #485)
> 
> Status: Failure
> 
> Check console output at https://builds.apache.org/job/Royale-asjs/485/ to view the results.


Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

Posted by Piotr Zarzycki <pi...@gmail.com>.
It failed also on ANT [1]. I made for Maven build configuration changes, so
project should be build after each commit etc.

[1]
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-typedefs/139/

2018-02-12 13:04 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> I just fired up typedefs! -> https://builds.apache.org/
> job/Royale-typedefs/28/ - Once it finished I will launch asjs build.
>
> Piotr
>
> 2018-02-12 13:01 GMT+01:00 Harbs <ha...@in-tools.com>:
>
>> How do we ge royale-typedefs to be built on the Jenkins server? I checked
>> and my changes did not seem to queue the job.
>>
>> Harbs
>>
>> > On Feb 12, 2018, at 1:48 PM, Harbs <ha...@in-tools.com> wrote:
>> >
>> > I think I figured it out. Here’s what I did:
>> >
>> > 1. I added the w3c_css.js file to an unrelated git repo and committed
>> it.
>> > 2. I added the properties to the file.
>> > 3. I ran git diff on the repo, which gave the the changes.
>> > 4. I copied the output into js.patch
>> > 5. I changed the path of w3c_css.js in the patch to
>> `js/target/downloads/browser`
>> >
>> > That seemed to do it…
>> >
>> > Harbs
>> >
>> >> On Feb 12, 2018, at 1:17 PM, Harbs <ha...@in-tools.com> wrote:
>> >>
>> >> The relevant extern file appears to be: w3c_css.js
>> >>
>> >> Harbs
>> >>
>> >>> On Feb 12, 2018, at 1:16 PM, Harbs <ha...@in-tools.com> wrote:
>> >>>
>> >>> The externs for CSSStyleDeclaration has `overflow`, but it’s missing
>> `overflowX` and `overflowY`.
>> >>>
>> >>> That’s causing these two lines to fail (only in maven for some
>> reason):
>> >>>
>> >>> (value as UIBase).element.style.overflowY = "auto";
>> >>> (contentView as UIBase).element.style.overflowY = "auto”;
>> >>>
>> >>> I could change these lines to:
>> >>> (value as UIBase).element.style[“overflowY”] = "auto";
>> >>> (contentView as UIBase).element.style[“overflowY”] = "auto”;
>> >>>
>> >>> Although, I think patching the extern file is probably a better
>> solution.
>> >>>
>> >>> I’m not clear on how to patch it though. Any pointers?
>> >>>
>> >>> Harbs
>> >>>
>> >>>> On Feb 12, 2018, at 1:00 PM, Apache Jenkins Server <
>> jenkins@builds.apache.org> wrote:
>> >>>>
>> >>>> The Apache Jenkins build system has built Royale-asjs (build #485)
>> >>>>
>> >>>> Status: Failure
>> >>>>
>> >>>> Check console output at https://builds.apache.org/job/
>> Royale-asjs/485/ to view the results.
>> >>>
>> >>
>> >
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

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

Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

Posted by Piotr Zarzycki <pi...@gmail.com>.
I just fired up typedefs! ->
https://builds.apache.org/job/Royale-typedefs/28/ - Once it finished I will
launch asjs build.

Piotr

2018-02-12 13:01 GMT+01:00 Harbs <ha...@in-tools.com>:

> How do we ge royale-typedefs to be built on the Jenkins server? I checked
> and my changes did not seem to queue the job.
>
> Harbs
>
> > On Feb 12, 2018, at 1:48 PM, Harbs <ha...@in-tools.com> wrote:
> >
> > I think I figured it out. Here’s what I did:
> >
> > 1. I added the w3c_css.js file to an unrelated git repo and committed it.
> > 2. I added the properties to the file.
> > 3. I ran git diff on the repo, which gave the the changes.
> > 4. I copied the output into js.patch
> > 5. I changed the path of w3c_css.js in the patch to
> `js/target/downloads/browser`
> >
> > That seemed to do it…
> >
> > Harbs
> >
> >> On Feb 12, 2018, at 1:17 PM, Harbs <ha...@in-tools.com> wrote:
> >>
> >> The relevant extern file appears to be: w3c_css.js
> >>
> >> Harbs
> >>
> >>> On Feb 12, 2018, at 1:16 PM, Harbs <ha...@in-tools.com> wrote:
> >>>
> >>> The externs for CSSStyleDeclaration has `overflow`, but it’s missing
> `overflowX` and `overflowY`.
> >>>
> >>> That’s causing these two lines to fail (only in maven for some reason):
> >>>
> >>> (value as UIBase).element.style.overflowY = "auto";
> >>> (contentView as UIBase).element.style.overflowY = "auto”;
> >>>
> >>> I could change these lines to:
> >>> (value as UIBase).element.style[“overflowY”] = "auto";
> >>> (contentView as UIBase).element.style[“overflowY”] = "auto”;
> >>>
> >>> Although, I think patching the extern file is probably a better
> solution.
> >>>
> >>> I’m not clear on how to patch it though. Any pointers?
> >>>
> >>> Harbs
> >>>
> >>>> On Feb 12, 2018, at 1:00 PM, Apache Jenkins Server <
> jenkins@builds.apache.org> wrote:
> >>>>
> >>>> The Apache Jenkins build system has built Royale-asjs (build #485)
> >>>>
> >>>> Status: Failure
> >>>>
> >>>> Check console output at https://builds.apache.org/job/
> Royale-asjs/485/ to view the results.
> >>>
> >>
> >
>
>


-- 

Piotr Zarzycki

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

Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

Posted by Harbs <ha...@in-tools.com>.
How do we ge royale-typedefs to be built on the Jenkins server? I checked and my changes did not seem to queue the job.

Harbs

> On Feb 12, 2018, at 1:48 PM, Harbs <ha...@in-tools.com> wrote:
> 
> I think I figured it out. Here’s what I did:
> 
> 1. I added the w3c_css.js file to an unrelated git repo and committed it.
> 2. I added the properties to the file.
> 3. I ran git diff on the repo, which gave the the changes.
> 4. I copied the output into js.patch
> 5. I changed the path of w3c_css.js in the patch to `js/target/downloads/browser`
> 
> That seemed to do it…
> 
> Harbs
> 
>> On Feb 12, 2018, at 1:17 PM, Harbs <ha...@in-tools.com> wrote:
>> 
>> The relevant extern file appears to be: w3c_css.js
>> 
>> Harbs
>> 
>>> On Feb 12, 2018, at 1:16 PM, Harbs <ha...@in-tools.com> wrote:
>>> 
>>> The externs for CSSStyleDeclaration has `overflow`, but it’s missing `overflowX` and `overflowY`.
>>> 
>>> That’s causing these two lines to fail (only in maven for some reason):
>>> 
>>> (value as UIBase).element.style.overflowY = "auto";
>>> (contentView as UIBase).element.style.overflowY = "auto”;
>>> 
>>> I could change these lines to:
>>> (value as UIBase).element.style[“overflowY”] = "auto";
>>> (contentView as UIBase).element.style[“overflowY”] = "auto”;
>>> 
>>> Although, I think patching the extern file is probably a better solution.
>>> 
>>> I’m not clear on how to patch it though. Any pointers?
>>> 
>>> Harbs
>>> 
>>>> On Feb 12, 2018, at 1:00 PM, Apache Jenkins Server <je...@builds.apache.org> wrote:
>>>> 
>>>> The Apache Jenkins build system has built Royale-asjs (build #485)
>>>> 
>>>> Status: Failure
>>>> 
>>>> Check console output at https://builds.apache.org/job/Royale-asjs/485/ to view the results.
>>> 
>> 
> 


Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

Posted by Harbs <ha...@in-tools.com>.
I think I figured it out. Here’s what I did:

1. I added the w3c_css.js file to an unrelated git repo and committed it.
2. I added the properties to the file.
3. I ran git diff on the repo, which gave the the changes.
4. I copied the output into js.patch
5. I changed the path of w3c_css.js in the patch to `js/target/downloads/browser`

That seemed to do it…

Harbs

> On Feb 12, 2018, at 1:17 PM, Harbs <ha...@in-tools.com> wrote:
> 
> The relevant extern file appears to be: w3c_css.js
> 
> Harbs
> 
>> On Feb 12, 2018, at 1:16 PM, Harbs <ha...@in-tools.com> wrote:
>> 
>> The externs for CSSStyleDeclaration has `overflow`, but it’s missing `overflowX` and `overflowY`.
>> 
>> That’s causing these two lines to fail (only in maven for some reason):
>> 
>> (value as UIBase).element.style.overflowY = "auto";
>> (contentView as UIBase).element.style.overflowY = "auto”;
>> 
>> I could change these lines to:
>> (value as UIBase).element.style[“overflowY”] = "auto";
>> (contentView as UIBase).element.style[“overflowY”] = "auto”;
>> 
>> Although, I think patching the extern file is probably a better solution.
>> 
>> I’m not clear on how to patch it though. Any pointers?
>> 
>> Harbs
>> 
>>> On Feb 12, 2018, at 1:00 PM, Apache Jenkins Server <je...@builds.apache.org> wrote:
>>> 
>>> The Apache Jenkins build system has built Royale-asjs (build #485)
>>> 
>>> Status: Failure
>>> 
>>> Check console output at https://builds.apache.org/job/Royale-asjs/485/ to view the results.
>> 
> 


Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

Posted by Gabe Harbs <ha...@gmail.com>.
I don’t know about scaleX and rotate, but I was able to get translateY() to work by using @namespace "http://www.w3.org/1999/xhtml”;

It’s worth a shot…

Harbs

> On Feb 12, 2018, at 1:54 PM, Piotr Zarzycki <pi...@gmail.com> wrote:
> 
> I had problem lately. I did found workaround. It looks like I will raise
> issue on the compiler in that case.
> 
> Thanks! Piotr
> 
> 2018-02-12 12:51 GMT+01:00 Gabe Harbs <ha...@gmail.com>:
> 
>> I’m pretty sure that those need to be handled in the compiler.
>> 
>> The compiler needs to understand CSS as it parses it.
>> 
>> Harbs
>> 
>>> On Feb 12, 2018, at 1:48 PM, Piotr Zarzycki <pi...@gmail.com>
>> wrote:
>>> 
>>> Harbs,
>>> 
>>> Does that file is also the place where we may add some missing functions
>>> from CSS ? For example scaleY, rotate etc. ?
>>> 
>>> Thanks,
>>> Piotr
>>> 
>>> 2018-02-12 12:17 GMT+01:00 Harbs <ha...@in-tools.com>:
>>> 
>>>> The relevant extern file appears to be: w3c_css.js
>>>> 
>>>> Harbs
>>>> 
>>>>> On Feb 12, 2018, at 1:16 PM, Harbs <ha...@in-tools.com> wrote:
>>>>> 
>>>>> The externs for CSSStyleDeclaration has `overflow`, but it’s missing
>>>> `overflowX` and `overflowY`.
>>>>> 
>>>>> That’s causing these two lines to fail (only in maven for some reason):
>>>>> 
>>>>> (value as UIBase).element.style.overflowY = "auto";
>>>>> (contentView as UIBase).element.style.overflowY = "auto”;
>>>>> 
>>>>> I could change these lines to:
>>>>> (value as UIBase).element.style[“overflowY”] = "auto";
>>>>> (contentView as UIBase).element.style[“overflowY”] = "auto”;
>>>>> 
>>>>> Although, I think patching the extern file is probably a better
>> solution.
>>>>> 
>>>>> I’m not clear on how to patch it though. Any pointers?
>>>>> 
>>>>> Harbs
>>>>> 
>>>>>> On Feb 12, 2018, at 1:00 PM, Apache Jenkins Server <
>>>> jenkins@builds.apache.org> wrote:
>>>>>> 
>>>>>> The Apache Jenkins build system has built Royale-asjs (build #485)
>>>>>> 
>>>>>> Status: Failure
>>>>>> 
>>>>>> Check console output at https://builds.apache.org/job/
>> Royale-asjs/485/
>>>> to view the results.
>>>>> 
>>>> 
>>>> 
>>> 
>>> 
>>> --
>>> 
>>> Piotr Zarzycki
>>> 
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>> 
>> 
> 
> 
> -- 
> 
> Piotr Zarzycki
> 
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*


Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

Posted by Piotr Zarzycki <pi...@gmail.com>.
I had problem lately. I did found workaround. It looks like I will raise
issue on the compiler in that case.

Thanks! Piotr

2018-02-12 12:51 GMT+01:00 Gabe Harbs <ha...@gmail.com>:

> I’m pretty sure that those need to be handled in the compiler.
>
> The compiler needs to understand CSS as it parses it.
>
> Harbs
>
> > On Feb 12, 2018, at 1:48 PM, Piotr Zarzycki <pi...@gmail.com>
> wrote:
> >
> > Harbs,
> >
> > Does that file is also the place where we may add some missing functions
> > from CSS ? For example scaleY, rotate etc. ?
> >
> > Thanks,
> > Piotr
> >
> > 2018-02-12 12:17 GMT+01:00 Harbs <ha...@in-tools.com>:
> >
> >> The relevant extern file appears to be: w3c_css.js
> >>
> >> Harbs
> >>
> >>> On Feb 12, 2018, at 1:16 PM, Harbs <ha...@in-tools.com> wrote:
> >>>
> >>> The externs for CSSStyleDeclaration has `overflow`, but it’s missing
> >> `overflowX` and `overflowY`.
> >>>
> >>> That’s causing these two lines to fail (only in maven for some reason):
> >>>
> >>> (value as UIBase).element.style.overflowY = "auto";
> >>> (contentView as UIBase).element.style.overflowY = "auto”;
> >>>
> >>> I could change these lines to:
> >>> (value as UIBase).element.style[“overflowY”] = "auto";
> >>> (contentView as UIBase).element.style[“overflowY”] = "auto”;
> >>>
> >>> Although, I think patching the extern file is probably a better
> solution.
> >>>
> >>> I’m not clear on how to patch it though. Any pointers?
> >>>
> >>> Harbs
> >>>
> >>>> On Feb 12, 2018, at 1:00 PM, Apache Jenkins Server <
> >> jenkins@builds.apache.org> wrote:
> >>>>
> >>>> The Apache Jenkins build system has built Royale-asjs (build #485)
> >>>>
> >>>> Status: Failure
> >>>>
> >>>> Check console output at https://builds.apache.org/job/
> Royale-asjs/485/
> >> to view the results.
> >>>
> >>
> >>
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
>
>


-- 

Piotr Zarzycki

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

Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

Posted by Gabe Harbs <ha...@gmail.com>.
I’m pretty sure that those need to be handled in the compiler.

The compiler needs to understand CSS as it parses it.

Harbs

> On Feb 12, 2018, at 1:48 PM, Piotr Zarzycki <pi...@gmail.com> wrote:
> 
> Harbs,
> 
> Does that file is also the place where we may add some missing functions
> from CSS ? For example scaleY, rotate etc. ?
> 
> Thanks,
> Piotr
> 
> 2018-02-12 12:17 GMT+01:00 Harbs <ha...@in-tools.com>:
> 
>> The relevant extern file appears to be: w3c_css.js
>> 
>> Harbs
>> 
>>> On Feb 12, 2018, at 1:16 PM, Harbs <ha...@in-tools.com> wrote:
>>> 
>>> The externs for CSSStyleDeclaration has `overflow`, but it’s missing
>> `overflowX` and `overflowY`.
>>> 
>>> That’s causing these two lines to fail (only in maven for some reason):
>>> 
>>> (value as UIBase).element.style.overflowY = "auto";
>>> (contentView as UIBase).element.style.overflowY = "auto”;
>>> 
>>> I could change these lines to:
>>> (value as UIBase).element.style[“overflowY”] = "auto";
>>> (contentView as UIBase).element.style[“overflowY”] = "auto”;
>>> 
>>> Although, I think patching the extern file is probably a better solution.
>>> 
>>> I’m not clear on how to patch it though. Any pointers?
>>> 
>>> Harbs
>>> 
>>>> On Feb 12, 2018, at 1:00 PM, Apache Jenkins Server <
>> jenkins@builds.apache.org> wrote:
>>>> 
>>>> The Apache Jenkins build system has built Royale-asjs (build #485)
>>>> 
>>>> Status: Failure
>>>> 
>>>> Check console output at https://builds.apache.org/job/Royale-asjs/485/
>> to view the results.
>>> 
>> 
>> 
> 
> 
> -- 
> 
> Piotr Zarzycki
> 
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*


Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

Posted by Piotr Zarzycki <pi...@gmail.com>.
Harbs,

Does that file is also the place where we may add some missing functions
from CSS ? For example scaleY, rotate etc. ?

Thanks,
Piotr

2018-02-12 12:17 GMT+01:00 Harbs <ha...@in-tools.com>:

> The relevant extern file appears to be: w3c_css.js
>
> Harbs
>
> > On Feb 12, 2018, at 1:16 PM, Harbs <ha...@in-tools.com> wrote:
> >
> > The externs for CSSStyleDeclaration has `overflow`, but it’s missing
> `overflowX` and `overflowY`.
> >
> > That’s causing these two lines to fail (only in maven for some reason):
> >
> > (value as UIBase).element.style.overflowY = "auto";
> > (contentView as UIBase).element.style.overflowY = "auto”;
> >
> > I could change these lines to:
> > (value as UIBase).element.style[“overflowY”] = "auto";
> > (contentView as UIBase).element.style[“overflowY”] = "auto”;
> >
> > Although, I think patching the extern file is probably a better solution.
> >
> > I’m not clear on how to patch it though. Any pointers?
> >
> > Harbs
> >
> >> On Feb 12, 2018, at 1:00 PM, Apache Jenkins Server <
> jenkins@builds.apache.org> wrote:
> >>
> >> The Apache Jenkins build system has built Royale-asjs (build #485)
> >>
> >> Status: Failure
> >>
> >> Check console output at https://builds.apache.org/job/Royale-asjs/485/
> to view the results.
> >
>
>


-- 

Piotr Zarzycki

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

Re: [MAVEN-BUILD] Royale-asjs - Build # 485 - Failure

Posted by Harbs <ha...@in-tools.com>.
The relevant extern file appears to be: w3c_css.js

Harbs

> On Feb 12, 2018, at 1:16 PM, Harbs <ha...@in-tools.com> wrote:
> 
> The externs for CSSStyleDeclaration has `overflow`, but it’s missing `overflowX` and `overflowY`.
> 
> That’s causing these two lines to fail (only in maven for some reason):
> 
> (value as UIBase).element.style.overflowY = "auto";
> (contentView as UIBase).element.style.overflowY = "auto”;
> 
> I could change these lines to:
> (value as UIBase).element.style[“overflowY”] = "auto";
> (contentView as UIBase).element.style[“overflowY”] = "auto”;
> 
> Although, I think patching the extern file is probably a better solution.
> 
> I’m not clear on how to patch it though. Any pointers?
> 
> Harbs
> 
>> On Feb 12, 2018, at 1:00 PM, Apache Jenkins Server <je...@builds.apache.org> wrote:
>> 
>> The Apache Jenkins build system has built Royale-asjs (build #485)
>> 
>> Status: Failure
>> 
>> Check console output at https://builds.apache.org/job/Royale-asjs/485/ to view the results.
>