I have raised issue -> https://github.com/apache/royale-compiler/issues/21

2018-01-25 18:38 GMT+01:00 Alex Harui <[email protected]>:

> Hmm.  Maybe MXMLJSC isn't able to pick up the ErrorFormat and just uses
> %s.  I've never looked into how the language resources work.
>
> HTH,
> -Alex
>
> On 1/25/18, 9:24 AM, "Piotr Zarzycki" <[email protected]> wrote:
>
> >Alex,
> >
> >I looked into that and without debugging there is no option for me figure
> >out what has happened. Both classes are using the same formatter and
> >printer to output errors. WorkspaceProblemFormatter and ProblemPrinter
> >
> >MXMLC is taking ErrorFormat=Error: %s from language resources. During the
> >compilation MXMLJSC is even using methods from MXMLC.
> >
> >
> >
> >2018-01-24 22:49 GMT+01:00 Piotr Zarzycki <[email protected]>:
> >
> >> Ok now I understand! I will look into that :)
> >>
> >> 2018-01-24 21:40 GMT+01:00 Alex Harui <[email protected]>:
> >>
> >>> I'm saying that if you want JSRoyale to have the same output as the SWF
> >>> target, I would look at the compiler source in those files and see if
> >>>they
> >>> are doing something different.  I could go fix it myself, but I am
> >>>trying
> >>> to encourage other committers to get more familiar with the compiler
> >>> source.
> >>>
> >>> HTH,
> >>> -Alex
> >>>
> >>> On 1/24/18, 12:37 PM, "Piotr Zarzycki" <[email protected]>
> >>>wrote:
> >>>
> >>> >Not sure what do you mean ? That's how we use it I think so.
> >>> >
> >>> >2018-01-24 21:28 GMT+01:00 Alex Harui <[email protected]>:
> >>> >
> >>> >> Interesting.  Hadn't noticed that.  I guess you could compare the
> >>> output
> >>> >> logic in the compilers.  MXMLC.java should be used for SWF compiles
> >>>and
> >>> >> MXMLJSC.java for JS compiles.
> >>> >>
> >>> >> -Alex
> >>> >>
> >>> >> On 1/24/18, 11:59 AM, "Piotr Zarzycki" <[email protected]>
> >>> >>wrote:
> >>> >>
> >>> >> >Once Again:
> >>> >> >
> >>> >> >JSRoyale:
> >>> >> >col: 12 This attribute is unexpected. It will be ignored.
> >>> >> >:
> >>> >> >: <js:View percentWidh="100" percentHeight="100">
> >>> >> >
> >>> >> >SWF:
> >>> >> >col: 12 Error: This attribute is unexpected. It will be ignored.
> >>> >> >:
> >>> >> >: <js:View percentWidh="100" percentHeight="100">
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >> >2018-01-24 20:47 GMT+01:00 Alex Harui <[email protected]>:
> >>> >> >
> >>> >> >> Links are still broken.  Paste.a.o might be having problems.  Try
> >>> >>just
> >>> >> >>cut
> >>> >> >> and paste of a section of the main differences.
> >>> >> >>
> >>> >> >> -Alex
> >>> >> >>
> >>> >> >> On 1/24/18, 10:19 AM, "Piotr Zarzycki"
> >>><[email protected]>
> >>> >> >>wrote:
> >>> >> >>
> >>> >> >> >Something happened with Apache paste. Posting once again.
> >>> >> >> >
> >>> >> >> >JSRoyale compilation error [1]
> >>> >> >> >SWF compilation error [2]
> >>> >> >> >
> >>> >> >> >[1]
> >>> >> >> >https://na01.safelinks.protection.outlook.com/?url=
> >>> >> >> https%3A%2F%2Fpaste.apa
> >>> >> >> >che.org%2FJdNf&data=02%7C01%7Caharui%40adobe.com%
> >>> >> >> 7Cafcc22074376430e972508d
> >>> >> >> >5635711da%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >>> >> >> 7C636524147998979848&
> >>> >> >> >sdata=11pnBHmUDQhSfiCfYIsbBw9G1n8vPfwEoAP09onRP14%3D&reserved=0
> >>> >> >> >[2]
> >>> >> >> >https://na01.safelinks.protection.outlook.com/?url=
> >>> >> >> https%3A%2F%2Fpaste.apa
> >>> >> >> >che.org%2FQgUo&data=02%7C01%7Caharui%40adobe.com%
> >>> >> >> 7Cafcc22074376430e972508d
> >>> >> >> >5635711da%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >>> >> >> 7C636524147998979848&
> >>> >> >> >sdata=EcK0PgVPJWOa9YxQcvP6LbIbFZ32hNK6pjgsN695lxE%3D&reserved=0
> >>> >> >> >
> >>> >> >> >
> >>> >> >> >
> >>> >> >> >2018-01-24 18:22 GMT+01:00 Alex Harui
> >>><[email protected]>:
> >>> >> >> >
> >>> >> >> >> The links do not work for me.
> >>> >> >> >>
> >>> >> >> >> -Alex
> >>> >> >> >>
> >>> >> >> >> On 1/24/18, 4:19 AM, "Piotr Zarzycki"
> >>><[email protected]
> >>> >
> >>> >> >> wrote:
> >>> >> >> >>
> >>> >> >> >> >Carlos,
> >>> >> >> >> >
> >>> >> >> >> >I know what causes the error :) I just wanted to know why the
> >>> >> >>message
> >>> >> >> >> >provided by compiler is different :)
> >>> >> >> >> >
> >>> >> >> >> >Piotr
> >>> >> >> >> >
> >>> >> >> >> >2018-01-24 13:18 GMT+01:00 Carlos Rovira
> >>> >><[email protected]>:
> >>> >> >> >> >
> >>> >> >> >> >> there's a need for a final "h" here percentWidt
> >>> >> >> >> >>
> >>> >> >> >> >> so it seems something is wrong in the generation right?
> >>> >> >> >> >>
> >>> >> >> >> >>
> >>> >> >> >> >> 2018-01-24 13:08 GMT+01:00 Piotr Zarzycki
> >>> >> >> >><[email protected]>:
> >>> >> >> >> >>
> >>> >> >> >> >> > Hi,
> >>> >> >> >> >> >
> >>> >> >> >> >> > I have found that during SWF only compilation and JS only
> >>> >> >>although
> >>> >> >> >>I'm
> >>> >> >> >> >> > getting the same errors they are reported a bit
> >>>differently.
> >>> >> >> >> >> >
> >>> >> >> >> >> > In build: compiler.targets=JSRoyale I got [1]
> >>> >> >> >> >> > In build: compiler.targets=SWF I got [2]
> >>> >> >> >> >> >
> >>> >> >> >> >> > There is no word "Error" in case of JSRoyale - Is this a
> >>>bug
> >>> >>?
> >>> >> >> >> >> >
> >>> >> >> >> >> > [1]
> >>> >> >> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >>> >> >> >> https%3A%2F%2Fpaste.ap
> >>> >> >> >> >>ache.org%2FH7m7&data=02%7C01%7Caharui%40adobe.com%
> >>> >> >> >> 7C86539a854146402e21510
> >>> >> >> >> >>8d56324c4af%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >>> >> >> >> 7C6365239319247711
> >>> >> >> >>
> >>> >>>>78&sdata=I0RlFQKtU8QJ48nFi3Zv6e9gmrVHfTqUiCD0rHxOfYs%3D&reserved=0
> >>> >> >> >> >> > [2]
> >>> >> >> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >>> >> >> >> https%3A%2F%2Fpaste.ap
> >>> >> >> >> >>ache.org%2FtvL9&data=02%7C01%7Caharui%40adobe.com%
> >>> >> >> >> 7C86539a854146402e21510
> >>> >> >> >> >>8d56324c4af%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >>> >> >> >> 7C6365239319247711
> >>> >> >> >>
> >>> >>>>78&sdata=3SB0VZjSQ3cq15PMeNK9hDtVEf2IQ2W76uM0jVyyiXo%3D&reserved=0
> >>> >> >> >> >> >
> >>> >> >> >> >> > Thanks,
> >>> >> >> >> >> > --
> >>> >> >> >> >> >
> >>> >> >> >> >> > Piotr Zarzycki
> >>> >> >> >> >> >
> >>> >> >> >> >> > Patreon:
> >>> >> >> >> >>*https://na01.safelinks.protection.outlook.com/?url=
> >>> >> >> >> https%3A%2F%2Fwww.pat
> >>> >> >> >> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> >>> >> >> >> %7C86539a854146
> >>> >> >> >> >>402e215108d56324c4af%7Cfa7b1b5a7b34438794aed2c178de
> >>> >> >> >> cee1%7C0%7C0%7C6365239
> >>> >> >> >> >>31924771178&sdata=fMwSLPw1i2ucqETktb4PJRSg%
> >>> >> >> >> 2FFtnQRjQQbBBulFkWpg%3D&reserv
> >>> >> >> >> >>ed=0
> >>> >> >> >> >> >
> >>> >> >> >> >><https://na01.safelinks.protection.outlook.com/?url=
> >>> >> >> >> https%3A%2F%2Fwww.pat
> >>> >> >> >> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> >>> >> >> >> %7C86539a854146
> >>> >> >> >> >>402e215108d56324c4af%7Cfa7b1b5a7b34438794aed2c178de
> >>> >> >> >> cee1%7C0%7C0%7C6365239
> >>> >> >> >> >>31924771178&sdata=fMwSLPw1i2ucqETktb4PJRSg%
> >>> >> >> >> 2FFtnQRjQQbBBulFkWpg%3D&reserv
> >>> >> >> >> >>ed=0>*
> >>> >> >> >> >> >
> >>> >> >> >> >>
> >>> >> >> >> >>
> >>> >> >> >> >>
> >>> >> >> >> >> --
> >>> >> >> >> >> Carlos Rovira
> >>> >> >> >> >>
> >>> >> >> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >>> >> >> >> http%3A%2F%2Fabout.me%
> >>> >> >> >> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >>> >> >> >> 7C86539a854146402e215108
> >>> >> >> >> >>d56324c4af%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >>> >> >> >> 7C63652393192477117
> >>> >> >> >>
> >>> >>>>8&sdata=poE7DnL3nCR3TiIdTKcZq3XiXERRt8230P6BLzjq0pc%3D&reserved=0
> >>> >> >> >> >>
> >>> >> >> >> >
> >>> >> >> >> >
> >>> >> >> >> >
> >>> >> >> >> >--
> >>> >> >> >> >
> >>> >> >> >> >Piotr Zarzycki
> >>> >> >> >> >
> >>> >> >> >> >Patreon:
> >>> >> >> >> >*https://na01.safelinks.protection.outlook.com/?url=
> >>> >> >> >> https%3A%2F%2Fwww.patr
> >>> >> >> >> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >>> >> >> >> 7C86539a85414640
> >>> >> >> >> >2e215108d56324c4af%7Cfa7b1b5a7b34438794aed2c178de
> >>> >> >> >> cee1%7C0%7C0%7C6365239319
> >>> >> >> >> >24771178&sdata=fMwSLPw1i2ucqETktb4PJRSg%2FFtnQRjQQbBBulFkWp
> >>> g%3D&
> >>> >> >> >> reserved=0
> >>> >> >> >> ><https://na01.safelinks.protection.outlook.com/?url=
> >>> >> >> >> https%3A%2F%2Fwww.patr
> >>> >> >> >> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >>> >> >> >> 7C86539a85414640
> >>> >> >> >> >2e215108d56324c4af%7Cfa7b1b5a7b34438794aed2c178de
> >>> >> >> >> cee1%7C0%7C0%7C6365239319
> >>> >> >> >> >24771178&sdata=fMwSLPw1i2ucqETktb4PJRSg%2FFtnQRjQQbBBulFkWp
> >>> g%3D&
> >>> >> >> >> reserved=0
> >>> >> >> >> >>*
> >>> >> >> >>
> >>> >> >> >>
> >>> >> >> >
> >>> >> >> >
> >>> >> >> >--
> >>> >> >> >
> >>> >> >> >Piotr Zarzycki
> >>> >> >> >
> >>> >> >> >Patreon:
> >>> >> >> >*https://na01.safelinks.protection.outlook.com/?url=
> >>> >> >> https%3A%2F%2Fwww.patr
> >>> >> >> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >>> >> >> 7Cafcc2207437643
> >>> >> >> >0e972508d5635711da%7Cfa7b1b5a7b34438794aed2c178de
> >>> >> >> cee1%7C0%7C0%7C6365241479
> >>> >> >> >98979848&sdata=0BDb%2FFUwg%2FIBZE24ilHXu845iMa%
> >>> >> >> 2Fmu9iDF9P7NK3sYc%3D&reserv
> >>> >> >> >ed=0
> >>> >> >> ><https://na01.safelinks.protection.outlook.com/?url=
> >>> >> >> https%3A%2F%2Fwww.patr
> >>> >> >> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >>> >> >> 7Cafcc2207437643
> >>> >> >> >0e972508d5635711da%7Cfa7b1b5a7b34438794aed2c178de
> >>> >> >> cee1%7C0%7C0%7C6365241479
> >>> >> >> >98979848&sdata=0BDb%2FFUwg%2FIBZE24ilHXu845iMa%
> >>> >> >> 2Fmu9iDF9P7NK3sYc%3D&reserv
> >>> >> >> >ed=0>*
> >>> >> >>
> >>> >> >>
> >>> >> >
> >>> >> >
> >>> >> >--
> >>> >> >
> >>> >> >Piotr Zarzycki
> >>> >> >
> >>> >> >Patreon:
> >>> >> >*https://na01.safelinks.protection.outlook.com/?url=
> >>> >> https%3A%2F%2Fwww.patr
> >>> >> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >>> >> 7Cf9ce62f67abd4e
> >>> >> >56304408d563650e0e%7Cfa7b1b5a7b34438794aed2c178de
> >>> >> cee1%7C0%7C0%7C6365242080
> >>> >> >50899771&sdata=jQn5ESWbpyqVD%2FzUrDgz%2BLiakH6nHusSV1L0slA8XAo%3D&
> >>> >> reserved
> >>> >> >=0
> >>> >> ><https://na01.safelinks.protection.outlook.com/?url=
> >>> >> https%3A%2F%2Fwww.patr
> >>> >> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >>> >> 7Cf9ce62f67abd4e
> >>> >> >56304408d563650e0e%7Cfa7b1b5a7b34438794aed2c178de
> >>> >> cee1%7C0%7C0%7C6365242080
> >>> >> >50899771&sdata=jQn5ESWbpyqVD%2FzUrDgz%2BLiakH6nHusSV1L0slA8XAo%3D&
> >>> >> reserved
> >>> >> >=0>*
> >>> >>
> >>> >>
> >>> >
> >>> >
> >>> >--
> >>> >
> >>> >Piotr Zarzycki
> >>> >
> >>> >Patreon:
> >>> >*https://na01.safelinks.protection.outlook.com/?url=https%
> >>> 3A%2F%2Fwww.patr
> >>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7
> >>> C070a6ad3a98841
> >>> >413a7b08d5636a5e5d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%
> >>> 7C0%7C6365242308
> >>> >58327364&sdata=4qxljVdaqOmyE8nITJ6UJ%2FhVdUPs%2BwkShDP0zq0%
> >>> 2FuNU%3D&reserv
> >>> >ed=0
> >>> ><https://na01.safelinks.protection.outlook.com/?url=https%
> >>> 3A%2F%2Fwww.patr
> >>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7
> >>> C070a6ad3a98841
> >>> >413a7b08d5636a5e5d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%
> >>> 7C0%7C6365242308
> >>> >58327364&sdata=4qxljVdaqOmyE8nITJ6UJ%2FhVdUPs%2BwkShDP0zq0%
> >>> 2FuNU%3D&reserv
> >>> >ed=0>*
> >>>
> >>>
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >> Patreon:
> >>*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pat
> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7C09264452e2ab
> >>436cdb2608d56418924c%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365249
> >>79061106599&sdata=zt7QApJRCZp8t82OaJStjIMJ3pOgu4
> tG%2B4z3%2FMBMoH0%3D&rese
> >>rved=0
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pat
> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7C09264452e2ab
> >>436cdb2608d56418924c%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365249
> >>79061106599&sdata=zt7QApJRCZp8t82OaJStjIMJ3pOgu4
> tG%2B4z3%2FMBMoH0%3D&rese
> >>rved=0>*
> >>
> >
> >
> >
> >--
> >
> >Piotr Zarzycki
> >
> >Patreon:
> >*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.patr
> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> 7C09264452e2ab43
> >6cdb2608d56418924c%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365249790
> >61106599&sdata=zt7QApJRCZp8t82OaJStjIMJ3pOgu4
> tG%2B4z3%2FMBMoH0%3D&reserved
> >=0
> ><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.patr
> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> 7C09264452e2ab43
> >6cdb2608d56418924c%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365249790
> >61106599&sdata=zt7QApJRCZp8t82OaJStjIMJ3pOgu4
> tG%2B4z3%2FMBMoH0%3D&reserved
> >=0>*
>
>


-- 

Piotr Zarzycki

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

Reply via email to