You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Piotr Zarzycki <pi...@gmail.com> on 2018/09/11 09:45:52 UTC

Difficulties with using in project JS version of Royale swc

Hi Guys,

I'm having difficulties with using created Royale SWC in some project. I
have two projects. (I've uploaded them on onedrive so you can try it
yourself).

Using SWF version of prepared swc I'm able to build project with
compiler.targets=SWF. Unfortunately using JS version of that SWC I'm not
able to build project with it. [1]

1. Library itself [2] - It contains configurations compile-swf-config.xml
and compile-js-config.xml. Folder "bin" has swc JS and SWF version.

2. Consumer of library [3] - This one is configured with Moonshine and
VSCode.

I'm building JS and SWF version of SWC using following command lines [4]

Does anyone is seeing what could be wrong ? Those command lines [4] are
based on how Royale is building swcs Basic, Jewel etc.

[1] https://paste.apache.org/tvhY
[2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
[3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
[4] https://paste.apache.org/OtDR

Thanks,
-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Carlos Rovira <ca...@apache.org>.
Thanks Alex, very useful, I think I'll must have this in sight when I'll
try to fix maven build distribution, since I think some of the problems are
in config xml and library paths declarations.

El mar., 11 sept. 2018 a las 18:49, Alex Harui (<ah...@adobe.com.invalid>)
escribió:

> It sounds like I have still not clearly explained how
> library-path/swf-library-path/js-library-path work.
>
> Library-path is for SWCs that "might" work for both SWF and JS.  When we
> compile most Royale SWCs, we build the library.swf with COMPILE::SWF=true
> and then compile JS files with COMPILE::SWF=false.  The gamble is that
> folks will not use platform-specific APIs (like Flash classes or the
> Browser's HTMLElement.  The default configuration for Royale is to put the
> SWCs in frameworks/projects on the library-path.
>
> The swf-library-path and js-library-path options are for specifying SWCs
> that have APIs for that specific platform.  BUT (this is the key point), as
> soon as you specify even one SWC with js-library-path, the compiler will no
> longer us just plain -library-path in determining the list of SWCs.  If one
> SWC was specified with -js-library-path, then ALL swcs for the JS compile
> must be specified using js-library-path.
>
> So, if you used -js-library-path to specify your custom SWC, then you
> should get the error about not finding Application since it was specified
> with just plain "library-path" in royale-config.xml.  You might have to
> specify -js-library-path=<royale-asjs folder>/frameworks/js/libs" as well
> to get all of the other Royale SWCs.
>
> Anyone who can explain it better, please do so.
>
> HTH,
> -Alex
>
> On 9/11/18, 9:28 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
>     I just checked and here is the results.
>
>     JS version of library:
>     If I'm using js-external-library-path or js-library-path - SWC is being
>     recognized and I'm able to build using it my project to JS (JSRoyale)
>     If I'm using -library-path or external-library-path - It's failing with
>     errors described in first email.
>
>     SWF version of library:
>     If I'm using -swf-library-path - I'm getting following error [1],
> however
>     if I use -swf-external-library-path - project is able to produce
> correct
>     swf. Maybe we have a bug in case of -swf-library-path.
>     If I'm using -library-path and external-library-path I'm able to
> produce
>     correct swf.
>
>     It looks like I know how to implement all of that in Moonshine now.
> Very
>     useful information. I'm wondering whether we shouldn't think that is
> all
>     bugs in case of -library-path and swf-library-path.
>
>     Many Thanks for help Alex.
>
>     [1]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F13Sq&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=8j7p5BEsuPo0%2BDJswEDKd9sTYqnoTSMJ1Udecu6FSbY%3D&amp;reserved=0
>
>     wt., 11 wrz 2018 o 18:09 Piotr Zarzycki <pi...@gmail.com>
>     napisał(a):
>
>     > Alex,
>     >
>     > It looks like library.swf contains in both cases required
> information and
>     > files. I have in this library two files.
>     >
>     > 1) MyClass -> Contains import of all classes
>     > 2) MyViewClass - contains function in blocs COMPILE::SWF and
> COMPILE::JS
>     >
>     > JS library dump:
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FdLA2&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=4TVP%2BBe2XjGHgTasVjcizK7z3MGC7fBsnUyNYHzi77E%3D&amp;reserved=0
>     > SWF library dump:
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fo1rW&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=lyRLg0ahC%2Fqthf49onOBKZmL6LHgaT0uKnhwV%2Fie%2Bw0%3D&amp;reserved=0
>     >
>     > Next step is to try using -js-library-path etc to check whether it
> makes
>     > any difference.
>     >
>     > Thanks,
>     > Piotr
>     >
>     >
>     > wt., 11 wrz 2018 o 18:00 Piotr Zarzycki <pi...@gmail.com>
>     > napisał(a):
>     >
>     >> Yes I did it. Both looks almost the same.
>     >>
>     >> JS ->
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FXhLi&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=a1qu6RWSm%2BNUOMday9oEoN7SBFBEfv%2FLNdBHUt9TCAM%3D&amp;reserved=0
>     >> SWF ->
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FMwKB&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=BSON%2B6%2Bqip94VGBFht19rWvmndAPqbcXNHbmSNq%2BCG8%3D&amp;reserved=0
>     >>
>     >> I will provide in couple of minutes SWF dump.
>     >>
>     >> Thanks,
>     >> Piotr
>     >>
>     >> wt., 11 wrz 2018 o 17:52 Alex Harui <ah...@adobe.com.invalid>
>     >> napisał(a):
>     >>
>     >>> Royale SWCs should always have a folder of JS files unless they
> are SWF
>     >>> only.
>     >>>
>     >>> Before you dump the library.swf, did you look in the catalog.xml?
> It is
>     >>> easier to see what it thinks is in the SWC.  It could be that the
> manifest
>     >>> or other list of classes is not specified in the JS compile.
>     >>>
>     >>> HTH,
>     >>> -Alex
>     >>>
>     >>> On 9/11/18, 8:49 AM, "piotrz" <pi...@apache.org> wrote:
>     >>>
>     >>>     Hi Alex,
>     >>>
>     >>>     The first part of your answer is behind me. I have checked
> what is
>     >>> inside
>     >>>     both swcs. On the left sight of the screenshot is JS version.
>     >>>
>     >>>     <
>     >>>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fjs_swf.png&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=D5dO%2FOTk1yi%2BiApjj9VJcRwLe%2Bao%2Bmkm34VH9w4egrA%3D&amp;reserved=0
> >
>     >>>
>     >>>
>     >>>     Interesting thing is that in both cases I have folder with JS
> files.
>     >>>
>     >>>     I have definitely my swcs in library-path, because SWF version
> is
>     >>> working
>     >>>     fine.
>     >>>
>     >>>     I will try to examine library.swf and get back to you.
>     >>>
>     >>>     Thanks,
>     >>>     Piotr
>     >>>
>     >>>
>     >>>
>     >>>     --
>     >>>     Sent from:
>     >>>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=zpptYPxUJ9%2FCZOgcNj0Sas2tEDdAHKxZf8WLih061AM%3D&amp;reserved=0
>     >>>
>     >>>
>     >>>
>     >>
>     >> --
>     >>
>     >> Piotr Zarzycki
>     >>
>     >> Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=jhRo4WPayo2TP7D82u9dl3m33YjJJxEKTCqMEWSXtAc%3D&amp;reserved=0
>     >> <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
> >*
>     >>
>     >
>     >
>     > --
>     >
>     > Piotr Zarzycki
>     >
>     > Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
>     > <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
> >*
>     >
>
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
>     <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
> >*
>
>
>

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I just looked in my working copy and the default royale-config.xml looks like it uses -js-library-path.  I don’t remember if the build scripts tweak that or not for a js-only package, so look in the royale-config you have and verify if that's true.  I guess we must have made that change to make it easier for JS-only projects to access browser APIs.  I thought we were still gambling that folks were not using platform-specific APIs, but I guess that's no longer true.

So if your royale-config is using -js-library-path, then yes, you just specify custom SWCs using -js-library-path.

HTH,
-Alex

On 9/11/18, 10:02 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

    Alex,
    
    In the other words I don't have any other option than put my JS only
    library to js-library-path if I ever wanted to build my application to JS
    only. Unless there is really a bug, because why following things are not
    working.
    
    -targets=JSRoyale
    -source-path+=src
    -library-path+=lib/RoyaleLibTestJS.swc
    
    Having above parameters setup like that should we be able to build our
    application or not ? IF YES it should work - We definitely have a Bug here.
    
    Thanks,
    Piotr
    
    wt., 11 wrz 2018 o 18:49 Alex Harui <ah...@adobe.com.invalid> napisał(a):
    
    > It sounds like I have still not clearly explained how
    > library-path/swf-library-path/js-library-path work.
    >
    > Library-path is for SWCs that "might" work for both SWF and JS.  When we
    > compile most Royale SWCs, we build the library.swf with COMPILE::SWF=true
    > and then compile JS files with COMPILE::SWF=false.  The gamble is that
    > folks will not use platform-specific APIs (like Flash classes or the
    > Browser's HTMLElement.  The default configuration for Royale is to put the
    > SWCs in frameworks/projects on the library-path.
    >
    > The swf-library-path and js-library-path options are for specifying SWCs
    > that have APIs for that specific platform.  BUT (this is the key point), as
    > soon as you specify even one SWC with js-library-path, the compiler will no
    > longer us just plain -library-path in determining the list of SWCs.  If one
    > SWC was specified with -js-library-path, then ALL swcs for the JS compile
    > must be specified using js-library-path.
    >
    > So, if you used -js-library-path to specify your custom SWC, then you
    > should get the error about not finding Application since it was specified
    > with just plain "library-path" in royale-config.xml.  You might have to
    > specify -js-library-path=<royale-asjs folder>/frameworks/js/libs" as well
    > to get all of the other Royale SWCs.
    >
    > Anyone who can explain it better, please do so.
    >
    > HTH,
    > -Alex
    >
    > On 9/11/18, 9:28 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
    >
    >     I just checked and here is the results.
    >
    >     JS version of library:
    >     If I'm using js-external-library-path or js-library-path - SWC is being
    >     recognized and I'm able to build using it my project to JS (JSRoyale)
    >     If I'm using -library-path or external-library-path - It's failing with
    >     errors described in first email.
    >
    >     SWF version of library:
    >     If I'm using -swf-library-path - I'm getting following error [1],
    > however
    >     if I use -swf-external-library-path - project is able to produce
    > correct
    >     swf. Maybe we have a bug in case of -swf-library-path.
    >     If I'm using -library-path and external-library-path I'm able to
    > produce
    >     correct swf.
    >
    >     It looks like I know how to implement all of that in Moonshine now.
    > Very
    >     useful information. I'm wondering whether we shouldn't think that is
    > all
    >     bugs in case of -library-path and swf-library-path.
    >
    >     Many Thanks for help Alex.
    >
    >     [1]
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F13Sq&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688617676&amp;sdata=Z3MfV3twGC%2F1BdfRMHBKIL4fcvh3ZSBMg7YRm2htQbw%3D&amp;reserved=0
    >
    >     wt., 11 wrz 2018 o 18:09 Piotr Zarzycki <pi...@gmail.com>
    >     napisał(a):
    >
    >     > Alex,
    >     >
    >     > It looks like library.swf contains in both cases required
    > information and
    >     > files. I have in this library two files.
    >     >
    >     > 1) MyClass -> Contains import of all classes
    >     > 2) MyViewClass - contains function in blocs COMPILE::SWF and
    > COMPILE::JS
    >     >
    >     > JS library dump:
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FdLA2&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688617676&amp;sdata=mAINfsmspL4wKRJx7WctjMMZnvE0RaR%2BB02FhDdO8po%3D&amp;reserved=0
    >     > SWF library dump:
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fo1rW&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688617676&amp;sdata=dIETWTqKTgofF8Na7SdJDgHOq%2B%2B3SyrmyJL4aUJ3N9s%3D&amp;reserved=0
    >     >
    >     > Next step is to try using -js-library-path etc to check whether it
    > makes
    >     > any difference.
    >     >
    >     > Thanks,
    >     > Piotr
    >     >
    >     >
    >     > wt., 11 wrz 2018 o 18:00 Piotr Zarzycki <pi...@gmail.com>
    >     > napisał(a):
    >     >
    >     >> Yes I did it. Both looks almost the same.
    >     >>
    >     >> JS ->
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FXhLi&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688617676&amp;sdata=jNRaFAEAJ%2Br2%2FS%2FaCeEnvytMqXVyueNSsPt%2B38gmBx8%3D&amp;reserved=0
    >     >> SWF ->
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FMwKB&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688617676&amp;sdata=FmHPVQFBwmKIYt3smkKJlMPJpo6B8r4%2FafMibqEUotY%3D&amp;reserved=0
    >     >>
    >     >> I will provide in couple of minutes SWF dump.
    >     >>
    >     >> Thanks,
    >     >> Piotr
    >     >>
    >     >> wt., 11 wrz 2018 o 17:52 Alex Harui <ah...@adobe.com.invalid>
    >     >> napisał(a):
    >     >>
    >     >>> Royale SWCs should always have a folder of JS files unless they
    > are SWF
    >     >>> only.
    >     >>>
    >     >>> Before you dump the library.swf, did you look in the catalog.xml?
    > It is
    >     >>> easier to see what it thinks is in the SWC.  It could be that the
    > manifest
    >     >>> or other list of classes is not specified in the JS compile.
    >     >>>
    >     >>> HTH,
    >     >>> -Alex
    >     >>>
    >     >>> On 9/11/18, 8:49 AM, "piotrz" <pi...@apache.org> wrote:
    >     >>>
    >     >>>     Hi Alex,
    >     >>>
    >     >>>     The first part of your answer is behind me. I have checked
    > what is
    >     >>> inside
    >     >>>     both swcs. On the left sight of the screenshot is JS version.
    >     >>>
    >     >>>     <
    >     >>>
    > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fjs_swf.png&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688617676&amp;sdata=u5i7SWaSbZIgrnBOYcIk7VeNCQ4zLDP4G89Ssiin7qw%3D&amp;reserved=0
    > >
    >     >>>
    >     >>>
    >     >>>     Interesting thing is that in both cases I have folder with JS
    > files.
    >     >>>
    >     >>>     I have definitely my swcs in library-path, because SWF version
    > is
    >     >>> working
    >     >>>     fine.
    >     >>>
    >     >>>     I will try to examine library.swf and get back to you.
    >     >>>
    >     >>>     Thanks,
    >     >>>     Piotr
    >     >>>
    >     >>>
    >     >>>
    >     >>>     --
    >     >>>     Sent from:
    >     >>>
    > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688617676&amp;sdata=EnVRE97DEShVsUeslIaVU37rQ9tzNJs7uSZ1f8vnE70%3D&amp;reserved=0
    >     >>>
    >     >>>
    >     >>>
    >     >>
    >     >> --
    >     >>
    >     >> Piotr Zarzycki
    >     >>
    >     >> Patreon: *
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688617676&amp;sdata=Fq9UTq%2F4sYZ9z9PrHDT%2Ber2F5kjn9S3W2R0mhnlBzxE%3D&amp;reserved=0
    >     >> <
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688627685&amp;sdata=VRrjIQlJFYD8t85KqFOgL5VWV8j7YBxaZM48q76amSo%3D&amp;reserved=0
    > >*
    >     >>
    >     >
    >     >
    >     > --
    >     >
    >     > Piotr Zarzycki
    >     >
    >     > Patreon: *
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688627685&amp;sdata=VRrjIQlJFYD8t85KqFOgL5VWV8j7YBxaZM48q76amSo%3D&amp;reserved=0
    >     > <
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688627685&amp;sdata=VRrjIQlJFYD8t85KqFOgL5VWV8j7YBxaZM48q76amSo%3D&amp;reserved=0
    > >*
    >     >
    >
    >
    >     --
    >
    >     Piotr Zarzycki
    >
    >     Patreon: *
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688627685&amp;sdata=VRrjIQlJFYD8t85KqFOgL5VWV8j7YBxaZM48q76amSo%3D&amp;reserved=0
    >     <
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688627685&amp;sdata=VRrjIQlJFYD8t85KqFOgL5VWV8j7YBxaZM48q76amSo%3D&amp;reserved=0
    > >*
    >
    >
    >
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688627685&amp;sdata=VRrjIQlJFYD8t85KqFOgL5VWV8j7YBxaZM48q76amSo%3D&amp;reserved=0
    <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688627685&amp;sdata=VRrjIQlJFYD8t85KqFOgL5VWV8j7YBxaZM48q76amSo%3D&amp;reserved=0>*
    


Re: Difficulties with using in project JS version of Royale swc

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

In the other words I don't have any other option than put my JS only
library to js-library-path if I ever wanted to build my application to JS
only. Unless there is really a bug, because why following things are not
working.

-targets=JSRoyale
-source-path+=src
-library-path+=lib/RoyaleLibTestJS.swc

Having above parameters setup like that should we be able to build our
application or not ? IF YES it should work - We definitely have a Bug here.

Thanks,
Piotr

wt., 11 wrz 2018 o 18:49 Alex Harui <ah...@adobe.com.invalid> napisał(a):

> It sounds like I have still not clearly explained how
> library-path/swf-library-path/js-library-path work.
>
> Library-path is for SWCs that "might" work for both SWF and JS.  When we
> compile most Royale SWCs, we build the library.swf with COMPILE::SWF=true
> and then compile JS files with COMPILE::SWF=false.  The gamble is that
> folks will not use platform-specific APIs (like Flash classes or the
> Browser's HTMLElement.  The default configuration for Royale is to put the
> SWCs in frameworks/projects on the library-path.
>
> The swf-library-path and js-library-path options are for specifying SWCs
> that have APIs for that specific platform.  BUT (this is the key point), as
> soon as you specify even one SWC with js-library-path, the compiler will no
> longer us just plain -library-path in determining the list of SWCs.  If one
> SWC was specified with -js-library-path, then ALL swcs for the JS compile
> must be specified using js-library-path.
>
> So, if you used -js-library-path to specify your custom SWC, then you
> should get the error about not finding Application since it was specified
> with just plain "library-path" in royale-config.xml.  You might have to
> specify -js-library-path=<royale-asjs folder>/frameworks/js/libs" as well
> to get all of the other Royale SWCs.
>
> Anyone who can explain it better, please do so.
>
> HTH,
> -Alex
>
> On 9/11/18, 9:28 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
>     I just checked and here is the results.
>
>     JS version of library:
>     If I'm using js-external-library-path or js-library-path - SWC is being
>     recognized and I'm able to build using it my project to JS (JSRoyale)
>     If I'm using -library-path or external-library-path - It's failing with
>     errors described in first email.
>
>     SWF version of library:
>     If I'm using -swf-library-path - I'm getting following error [1],
> however
>     if I use -swf-external-library-path - project is able to produce
> correct
>     swf. Maybe we have a bug in case of -swf-library-path.
>     If I'm using -library-path and external-library-path I'm able to
> produce
>     correct swf.
>
>     It looks like I know how to implement all of that in Moonshine now.
> Very
>     useful information. I'm wondering whether we shouldn't think that is
> all
>     bugs in case of -library-path and swf-library-path.
>
>     Many Thanks for help Alex.
>
>     [1]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F13Sq&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=8j7p5BEsuPo0%2BDJswEDKd9sTYqnoTSMJ1Udecu6FSbY%3D&amp;reserved=0
>
>     wt., 11 wrz 2018 o 18:09 Piotr Zarzycki <pi...@gmail.com>
>     napisał(a):
>
>     > Alex,
>     >
>     > It looks like library.swf contains in both cases required
> information and
>     > files. I have in this library two files.
>     >
>     > 1) MyClass -> Contains import of all classes
>     > 2) MyViewClass - contains function in blocs COMPILE::SWF and
> COMPILE::JS
>     >
>     > JS library dump:
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FdLA2&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=4TVP%2BBe2XjGHgTasVjcizK7z3MGC7fBsnUyNYHzi77E%3D&amp;reserved=0
>     > SWF library dump:
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fo1rW&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=lyRLg0ahC%2Fqthf49onOBKZmL6LHgaT0uKnhwV%2Fie%2Bw0%3D&amp;reserved=0
>     >
>     > Next step is to try using -js-library-path etc to check whether it
> makes
>     > any difference.
>     >
>     > Thanks,
>     > Piotr
>     >
>     >
>     > wt., 11 wrz 2018 o 18:00 Piotr Zarzycki <pi...@gmail.com>
>     > napisał(a):
>     >
>     >> Yes I did it. Both looks almost the same.
>     >>
>     >> JS ->
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FXhLi&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=a1qu6RWSm%2BNUOMday9oEoN7SBFBEfv%2FLNdBHUt9TCAM%3D&amp;reserved=0
>     >> SWF ->
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FMwKB&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=BSON%2B6%2Bqip94VGBFht19rWvmndAPqbcXNHbmSNq%2BCG8%3D&amp;reserved=0
>     >>
>     >> I will provide in couple of minutes SWF dump.
>     >>
>     >> Thanks,
>     >> Piotr
>     >>
>     >> wt., 11 wrz 2018 o 17:52 Alex Harui <ah...@adobe.com.invalid>
>     >> napisał(a):
>     >>
>     >>> Royale SWCs should always have a folder of JS files unless they
> are SWF
>     >>> only.
>     >>>
>     >>> Before you dump the library.swf, did you look in the catalog.xml?
> It is
>     >>> easier to see what it thinks is in the SWC.  It could be that the
> manifest
>     >>> or other list of classes is not specified in the JS compile.
>     >>>
>     >>> HTH,
>     >>> -Alex
>     >>>
>     >>> On 9/11/18, 8:49 AM, "piotrz" <pi...@apache.org> wrote:
>     >>>
>     >>>     Hi Alex,
>     >>>
>     >>>     The first part of your answer is behind me. I have checked
> what is
>     >>> inside
>     >>>     both swcs. On the left sight of the screenshot is JS version.
>     >>>
>     >>>     <
>     >>>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fjs_swf.png&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=D5dO%2FOTk1yi%2BiApjj9VJcRwLe%2Bao%2Bmkm34VH9w4egrA%3D&amp;reserved=0
> >
>     >>>
>     >>>
>     >>>     Interesting thing is that in both cases I have folder with JS
> files.
>     >>>
>     >>>     I have definitely my swcs in library-path, because SWF version
> is
>     >>> working
>     >>>     fine.
>     >>>
>     >>>     I will try to examine library.swf and get back to you.
>     >>>
>     >>>     Thanks,
>     >>>     Piotr
>     >>>
>     >>>
>     >>>
>     >>>     --
>     >>>     Sent from:
>     >>>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=zpptYPxUJ9%2FCZOgcNj0Sas2tEDdAHKxZf8WLih061AM%3D&amp;reserved=0
>     >>>
>     >>>
>     >>>
>     >>
>     >> --
>     >>
>     >> Piotr Zarzycki
>     >>
>     >> Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=jhRo4WPayo2TP7D82u9dl3m33YjJJxEKTCqMEWSXtAc%3D&amp;reserved=0
>     >> <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
> >*
>     >>
>     >
>     >
>     > --
>     >
>     > Piotr Zarzycki
>     >
>     > Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
>     > <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
> >*
>     >
>
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
>     <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
> >*
>
>
>

-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Alex Harui <ah...@adobe.com.INVALID>.
It sounds like I have still not clearly explained how library-path/swf-library-path/js-library-path work.

Library-path is for SWCs that "might" work for both SWF and JS.  When we compile most Royale SWCs, we build the library.swf with COMPILE::SWF=true and then compile JS files with COMPILE::SWF=false.  The gamble is that folks will not use platform-specific APIs (like Flash classes or the Browser's HTMLElement.  The default configuration for Royale is to put the SWCs in frameworks/projects on the library-path.

The swf-library-path and js-library-path options are for specifying SWCs that have APIs for that specific platform.  BUT (this is the key point), as soon as you specify even one SWC with js-library-path, the compiler will no longer us just plain -library-path in determining the list of SWCs.  If one SWC was specified with -js-library-path, then ALL swcs for the JS compile must be specified using js-library-path.

So, if you used -js-library-path to specify your custom SWC, then you should get the error about not finding Application since it was specified with just plain "library-path" in royale-config.xml.  You might have to specify -js-library-path=<royale-asjs folder>/frameworks/js/libs" as well to get all of the other Royale SWCs.

Anyone who can explain it better, please do so.

HTH,
-Alex

On 9/11/18, 9:28 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

    I just checked and here is the results.
    
    JS version of library:
    If I'm using js-external-library-path or js-library-path - SWC is being
    recognized and I'm able to build using it my project to JS (JSRoyale)
    If I'm using -library-path or external-library-path - It's failing with
    errors described in first email.
    
    SWF version of library:
    If I'm using -swf-library-path - I'm getting following error [1], however
    if I use -swf-external-library-path - project is able to produce correct
    swf. Maybe we have a bug in case of -swf-library-path.
    If I'm using -library-path and external-library-path I'm able to produce
    correct swf.
    
    It looks like I know how to implement all of that in Moonshine now. Very
    useful information. I'm wondering whether we shouldn't think that is all
    bugs in case of -library-path and swf-library-path.
    
    Many Thanks for help Alex.
    
    [1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F13Sq&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=8j7p5BEsuPo0%2BDJswEDKd9sTYqnoTSMJ1Udecu6FSbY%3D&amp;reserved=0
    
    wt., 11 wrz 2018 o 18:09 Piotr Zarzycki <pi...@gmail.com>
    napisał(a):
    
    > Alex,
    >
    > It looks like library.swf contains in both cases required information and
    > files. I have in this library two files.
    >
    > 1) MyClass -> Contains import of all classes
    > 2) MyViewClass - contains function in blocs COMPILE::SWF and COMPILE::JS
    >
    > JS library dump: https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FdLA2&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=4TVP%2BBe2XjGHgTasVjcizK7z3MGC7fBsnUyNYHzi77E%3D&amp;reserved=0
    > SWF library dump: https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fo1rW&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=lyRLg0ahC%2Fqthf49onOBKZmL6LHgaT0uKnhwV%2Fie%2Bw0%3D&amp;reserved=0
    >
    > Next step is to try using -js-library-path etc to check whether it makes
    > any difference.
    >
    > Thanks,
    > Piotr
    >
    >
    > wt., 11 wrz 2018 o 18:00 Piotr Zarzycki <pi...@gmail.com>
    > napisał(a):
    >
    >> Yes I did it. Both looks almost the same.
    >>
    >> JS -> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FXhLi&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=a1qu6RWSm%2BNUOMday9oEoN7SBFBEfv%2FLNdBHUt9TCAM%3D&amp;reserved=0
    >> SWF -> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FMwKB&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=BSON%2B6%2Bqip94VGBFht19rWvmndAPqbcXNHbmSNq%2BCG8%3D&amp;reserved=0
    >>
    >> I will provide in couple of minutes SWF dump.
    >>
    >> Thanks,
    >> Piotr
    >>
    >> wt., 11 wrz 2018 o 17:52 Alex Harui <ah...@adobe.com.invalid>
    >> napisał(a):
    >>
    >>> Royale SWCs should always have a folder of JS files unless they are SWF
    >>> only.
    >>>
    >>> Before you dump the library.swf, did you look in the catalog.xml?  It is
    >>> easier to see what it thinks is in the SWC.  It could be that the manifest
    >>> or other list of classes is not specified in the JS compile.
    >>>
    >>> HTH,
    >>> -Alex
    >>>
    >>> On 9/11/18, 8:49 AM, "piotrz" <pi...@apache.org> wrote:
    >>>
    >>>     Hi Alex,
    >>>
    >>>     The first part of your answer is behind me. I have checked what is
    >>> inside
    >>>     both swcs. On the left sight of the screenshot is JS version.
    >>>
    >>>     <
    >>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fjs_swf.png&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=D5dO%2FOTk1yi%2BiApjj9VJcRwLe%2Bao%2Bmkm34VH9w4egrA%3D&amp;reserved=0>
    >>>
    >>>
    >>>     Interesting thing is that in both cases I have folder with JS files.
    >>>
    >>>     I have definitely my swcs in library-path, because SWF version is
    >>> working
    >>>     fine.
    >>>
    >>>     I will try to examine library.swf and get back to you.
    >>>
    >>>     Thanks,
    >>>     Piotr
    >>>
    >>>
    >>>
    >>>     --
    >>>     Sent from:
    >>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=zpptYPxUJ9%2FCZOgcNj0Sas2tEDdAHKxZf8WLih061AM%3D&amp;reserved=0
    >>>
    >>>
    >>>
    >>
    >> --
    >>
    >> Piotr Zarzycki
    >>
    >> Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590&amp;sdata=jhRo4WPayo2TP7D82u9dl3m33YjJJxEKTCqMEWSXtAc%3D&amp;reserved=0
    >> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0>*
    >>
    >
    >
    > --
    >
    > Piotr Zarzycki
    >
    > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
    > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0>*
    >
    
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0
    <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337103595&amp;sdata=vVF0GhS%2BX0S%2FK1gbKHSQzQuVD40jugxU3Sh3kRoNTP0%3D&amp;reserved=0>*
    


Re: Difficulties with using in project JS version of Royale swc

Posted by Piotr Zarzycki <pi...@gmail.com>.
I just checked and here is the results.

JS version of library:
If I'm using js-external-library-path or js-library-path - SWC is being
recognized and I'm able to build using it my project to JS (JSRoyale)
If I'm using -library-path or external-library-path - It's failing with
errors described in first email.

SWF version of library:
If I'm using -swf-library-path - I'm getting following error [1], however
if I use -swf-external-library-path - project is able to produce correct
swf. Maybe we have a bug in case of -swf-library-path.
If I'm using -library-path and external-library-path I'm able to produce
correct swf.

It looks like I know how to implement all of that in Moonshine now. Very
useful information. I'm wondering whether we shouldn't think that is all
bugs in case of -library-path and swf-library-path.

Many Thanks for help Alex.

[1] https://paste.apache.org/13Sq

wt., 11 wrz 2018 o 18:09 Piotr Zarzycki <pi...@gmail.com>
napisał(a):

> Alex,
>
> It looks like library.swf contains in both cases required information and
> files. I have in this library two files.
>
> 1) MyClass -> Contains import of all classes
> 2) MyViewClass - contains function in blocs COMPILE::SWF and COMPILE::JS
>
> JS library dump: https://paste.apache.org/dLA2
> SWF library dump: https://paste.apache.org/o1rW
>
> Next step is to try using -js-library-path etc to check whether it makes
> any difference.
>
> Thanks,
> Piotr
>
>
> wt., 11 wrz 2018 o 18:00 Piotr Zarzycki <pi...@gmail.com>
> napisał(a):
>
>> Yes I did it. Both looks almost the same.
>>
>> JS -> https://paste.apache.org/XhLi
>> SWF -> https://paste.apache.org/MwKB
>>
>> I will provide in couple of minutes SWF dump.
>>
>> Thanks,
>> Piotr
>>
>> wt., 11 wrz 2018 o 17:52 Alex Harui <ah...@adobe.com.invalid>
>> napisał(a):
>>
>>> Royale SWCs should always have a folder of JS files unless they are SWF
>>> only.
>>>
>>> Before you dump the library.swf, did you look in the catalog.xml?  It is
>>> easier to see what it thinks is in the SWC.  It could be that the manifest
>>> or other list of classes is not specified in the JS compile.
>>>
>>> HTH,
>>> -Alex
>>>
>>> On 9/11/18, 8:49 AM, "piotrz" <pi...@apache.org> wrote:
>>>
>>>     Hi Alex,
>>>
>>>     The first part of your answer is behind me. I have checked what is
>>> inside
>>>     both swcs. On the left sight of the screenshot is JS version.
>>>
>>>     <
>>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fjs_swf.png&amp;data=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370&amp;sdata=P6cfNMW8dyfFqNHlIrvlpLYbRdDsK5KLzz7QuLADZKQ%3D&amp;reserved=0>
>>>
>>>
>>>     Interesting thing is that in both cases I have folder with JS files.
>>>
>>>     I have definitely my swcs in library-path, because SWF version is
>>> working
>>>     fine.
>>>
>>>     I will try to examine library.swf and get back to you.
>>>
>>>     Thanks,
>>>     Piotr
>>>
>>>
>>>
>>>     --
>>>     Sent from:
>>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370&amp;sdata=mx1qBKZd81wM0BuMJgh7dWAr3dc%2FdGQLuKHphalMqRo%3D&amp;reserved=0
>>>
>>>
>>>
>>
>> --
>>
>> 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>*
>


-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

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

It looks like library.swf contains in both cases required information and
files. I have in this library two files.

1) MyClass -> Contains import of all classes
2) MyViewClass - contains function in blocs COMPILE::SWF and COMPILE::JS

JS library dump: https://paste.apache.org/dLA2
SWF library dump: https://paste.apache.org/o1rW

Next step is to try using -js-library-path etc to check whether it makes
any difference.

Thanks,
Piotr


wt., 11 wrz 2018 o 18:00 Piotr Zarzycki <pi...@gmail.com>
napisał(a):

> Yes I did it. Both looks almost the same.
>
> JS -> https://paste.apache.org/XhLi
> SWF -> https://paste.apache.org/MwKB
>
> I will provide in couple of minutes SWF dump.
>
> Thanks,
> Piotr
>
> wt., 11 wrz 2018 o 17:52 Alex Harui <ah...@adobe.com.invalid> napisał(a):
>
>> Royale SWCs should always have a folder of JS files unless they are SWF
>> only.
>>
>> Before you dump the library.swf, did you look in the catalog.xml?  It is
>> easier to see what it thinks is in the SWC.  It could be that the manifest
>> or other list of classes is not specified in the JS compile.
>>
>> HTH,
>> -Alex
>>
>> On 9/11/18, 8:49 AM, "piotrz" <pi...@apache.org> wrote:
>>
>>     Hi Alex,
>>
>>     The first part of your answer is behind me. I have checked what is
>> inside
>>     both swcs. On the left sight of the screenshot is JS version.
>>
>>     <
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fjs_swf.png&amp;data=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370&amp;sdata=P6cfNMW8dyfFqNHlIrvlpLYbRdDsK5KLzz7QuLADZKQ%3D&amp;reserved=0>
>>
>>
>>     Interesting thing is that in both cases I have folder with JS files.
>>
>>     I have definitely my swcs in library-path, because SWF version is
>> working
>>     fine.
>>
>>     I will try to examine library.swf and get back to you.
>>
>>     Thanks,
>>     Piotr
>>
>>
>>
>>     --
>>     Sent from:
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370&amp;sdata=mx1qBKZd81wM0BuMJgh7dWAr3dc%2FdGQLuKHphalMqRo%3D&amp;reserved=0
>>
>>
>>
>
> --
>
> 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: Difficulties with using in project JS version of Royale swc

Posted by Piotr Zarzycki <pi...@gmail.com>.
Yes I did it. Both looks almost the same.

JS -> https://paste.apache.org/XhLi
SWF -> https://paste.apache.org/MwKB

I will provide in couple of minutes SWF dump.

Thanks,
Piotr

wt., 11 wrz 2018 o 17:52 Alex Harui <ah...@adobe.com.invalid> napisał(a):

> Royale SWCs should always have a folder of JS files unless they are SWF
> only.
>
> Before you dump the library.swf, did you look in the catalog.xml?  It is
> easier to see what it thinks is in the SWC.  It could be that the manifest
> or other list of classes is not specified in the JS compile.
>
> HTH,
> -Alex
>
> On 9/11/18, 8:49 AM, "piotrz" <pi...@apache.org> wrote:
>
>     Hi Alex,
>
>     The first part of your answer is behind me. I have checked what is
> inside
>     both swcs. On the left sight of the screenshot is JS version.
>
>     <
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fjs_swf.png&amp;data=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370&amp;sdata=P6cfNMW8dyfFqNHlIrvlpLYbRdDsK5KLzz7QuLADZKQ%3D&amp;reserved=0>
>
>
>     Interesting thing is that in both cases I have folder with JS files.
>
>     I have definitely my swcs in library-path, because SWF version is
> working
>     fine.
>
>     I will try to examine library.swf and get back to you.
>
>     Thanks,
>     Piotr
>
>
>
>     --
>     Sent from:
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370&amp;sdata=mx1qBKZd81wM0BuMJgh7dWAr3dc%2FdGQLuKHphalMqRo%3D&amp;reserved=0
>
>
>

-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Royale SWCs should always have a folder of JS files unless they are SWF only.

Before you dump the library.swf, did you look in the catalog.xml?  It is easier to see what it thinks is in the SWC.  It could be that the manifest or other list of classes is not specified in the JS compile.

HTH,
-Alex

On 9/11/18, 8:49 AM, "piotrz" <pi...@apache.org> wrote:

    Hi Alex,
    
    The first part of your answer is behind me. I have checked what is inside
    both swcs. On the left sight of the screenshot is JS version. 
    
    <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fjs_swf.png&amp;data=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370&amp;sdata=P6cfNMW8dyfFqNHlIrvlpLYbRdDsK5KLzz7QuLADZKQ%3D&amp;reserved=0> 
    
    Interesting thing is that in both cases I have folder with JS files.
    
    I have definitely my swcs in library-path, because SWF version is working
    fine. 
    
    I will try to examine library.swf and get back to you.
    
    Thanks,
    Piotr
    
    
    
    --
    Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370&amp;sdata=mx1qBKZd81wM0BuMJgh7dWAr3dc%2FdGQLuKHphalMqRo%3D&amp;reserved=0
    


Re: Difficulties with using in project JS version of Royale swc

Posted by piotrz <pi...@apache.org>.
Hi Alex,

The first part of your answer is behind me. I have checked what is inside
both swcs. On the left sight of the screenshot is JS version. 

<http://apache-royale-development.20373.n8.nabble.com/file/t1/js_swf.png> 

Interesting thing is that in both cases I have folder with JS files.

I have definitely my swcs in library-path, because SWF version is working
fine. 

I will try to examine library.swf and get back to you.

Thanks,
Piotr



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

Re: Difficulties with using in project JS version of Royale swc

Posted by Alex Harui <ah...@adobe.com.INVALID>.
If you are having a problem with a SWC, it is best to dump the SWC and examine it.  A SWC is a ZIP file and contains at least a catalog.xml and library.swf and for Royale, usually it also contains JS files.

The catalog.xml file should list all classes found in the SWC.  If it lists a class but you still can't compile your app against it, the next steps are to verify that SWC is in the library-path (or external-library-path), and then to SWFDump the library.swf to see if it is or isn't in the library.swf.  The compiler does not read catalog.xml, it parses library.swf to find out what classes are in the SWF.

In Royale, not only is there a -library-path option, but also a -swf-library-path and -js-library-path option.  If only -library-path is used, both the SWF compile and JS compile will use the SWCs specified via -library-path.  But if even one -js-library-path option is used, then the JS compile will not look at -library-path and only look at -js-library-path so you may have to re-specify SWCs that were on -library-path with -js-library-path.  Same goes for using -swf-library-path, and the same pattern applies for -external-library-path.

HTH,
-Alex

On 9/11/18, 7:34 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

    I just prepared Maven pom file for Library [2]* project provided as an
    example in the first email. -> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FoShL&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=F164h%2FVzFSZ7HkNK9%2FJkvg0AoeKYvfhxJOTmXUtBr4Y%3D&amp;reserved=0
    
    Unfortunately the result is the same - Using SWF version of build SWC I'm
    able to build Royale application without the problem to SWF
    (-compiler.target=SWF).
    Using JS version I'm not able to build application
    (-comipler.target=JSRoyale). -> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FQuTx&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=AuhGyunTcr9gY8pWWeJgVdbY9sU2XlK5bPuKssRx21g%3D&amp;reserved=0
    
    Something is wrong. :(
    
    Piotr
    
    wt., 11 wrz 2018 o 15:38 Piotr Zarzycki <pi...@gmail.com>
    napisał(a):
    
    > Carlos,
    >
    > It is very unlikely that yesterdays changes could make any problem and
    > give that error. I think this is my second approach to have SWC support in
    > Moonshine [1]. In first one I remember similar results. At that time I just
    > didn't report it on dev list, cause I went into different tasks.
    >
    > [1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprominic%2FMoonshine-IDE%2Fissues%2F195&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=lfMS8nLf9qoDCYXYPWoU2HxXzHlfe05kziCHYFGbl58%3D&amp;reserved=0
    >
    > Thanks,
    > Piotr
    >
    > wt., 11 wrz 2018 o 13:37 Carlos Rovira <ca...@apache.org>
    > napisał(a):
    >
    >> Hi, we cna remove from the list point 3, since it was something on my side
    >> as I just reported a minute ago.
    >>
    >>
    >> El mar., 11 sept. 2018 a las 13:30, Carlos Rovira (<
    >> carlosrovira@apache.org>)
    >> escribió:
    >>
    >> > Piotr, I must say that today I have various errors, as I reported:
    >> > 1.- error in CI as we saw reported in email
    >> > 2.- error building with maven in a blog example that before wasn't
    >> > reporting error
    >> > 3.- ANT failing creating SDK.
    >> >
    >> > Now yours:
    >> > 4.- this one
    >> >
    >> > Maybe some changes yesterday in compiler or in typedefs are causing
    >> this.
    >> > Hope Josh or Alex could bring more light on this.
    >> > As well could it be the change introduced by Harbs some days ago? (the
    >> one
    >> > that Alex don't want to release)
    >> >
    >> > Don't know if all if this is related.
    >> >
    >> > Thanks
    >> >
    >> >
    >> >
    >> > El mar., 11 sept. 2018 a las 12:59, Piotr Zarzycki (<
    >> > piotrzarzycki21@gmail.com>) escribió:
    >> >
    >> >> Ok I understand now what you are trying to say. Just to be clear the
    >> >> problem is following.
    >> >>
    >> >> If I prepare SWC which is SWF only - I'm able to consuming it and
    >> project
    >> >> which using it building without the problem to SWF.
    >> >> If I prepare SWC which is JS only - Classes are not visible, project is
    >> >> failing with error [1].
    >> >>
    >> >> I will prepare Maven build for library to compare the results with
    >> command
    >> >> line.
    >> >>
    >> >> Thanks,
    >> >> Piotr
    >> >>
    >> >> wt., 11 wrz 2018 o 12:53 Carlos Rovira <ca...@apache.org>
    >> >> napisał(a):
    >> >>
    >> >> > Piotr a project is used to be built. a lib to be compiled, and used
    >> in a
    >> >> > project app...
    >> >> > if you're not trying to do that, better I left to others since I
    >> don't
    >> >> > understand the problem
    >> >> >
    >> >> > El mar., 11 sept. 2018 a las 12:38, Piotr Zarzycki (<
    >> >> > piotrzarzycki21@gmail.com>) escribió:
    >> >> >
    >> >> > > Again to build what ? Project which is consuming SWC or SWCs
    >> itself ?
    >> >> > Which
    >> >> > > one you are referring to. Link [2] is library, link [3] is
    >> consumer of
    >> >> > that
    >> >> > > library ?
    >> >> > >
    >> >> > > wt., 11 wrz 2018 o 12:35 Carlos Rovira <ca...@apache.org>
    >> >> > > napisał(a):
    >> >> > >
    >> >> > > > OK, I saw [1] quickly and thought that was only a var
    >> declaration.
    >> >> > > > I see that you don't have either ant or maven files to build
    >> >> (build.xml
    >> >> > > or
    >> >> > > > pom.xml).
    >> >> > > > Why don't you try to make those files and from there you can go
    >> to
    >> >> > other
    >> >> > > > config. I assume that config is for Moonshine right?
    >> >> > > >
    >> >> > > > El mar., 11 sept. 2018 a las 12:27, Piotr Zarzycki (<
    >> >> > > > piotrzarzycki21@gmail.com>) escribió:
    >> >> > > >
    >> >> > > > > Hi Carlos,
    >> >> > > > >
    >> >> > > > > 1) Are you asking on SWC preparation or building of project
    >> which
    >> >> is
    >> >> > > > using
    >> >> > > > > that swc ?
    >> >> > > > > 2) If you are asking about fail of build of project which is
    >> >> consumer
    >> >> > > of
    >> >> > > > > that swc you have it in link [1]
    >> >> > > > >
    >> >> > > > > Thanks,
    >> >> > > > > Piotr
    >> >> > > > >
    >> >> > > > > wt., 11 wrz 2018 o 12:23 Carlos Rovira <
    >> carlosrovira@apache.org>
    >> >> > > > > napisał(a):
    >> >> > > > >
    >> >> > > > > > Hi Piotr,
    >> >> > > > > >
    >> >> > > > > > 1.- Are you building with ANT or Maven?
    >> >> > > > > >
    >> >> > > > > > 2.- What's the output of the fail compilation with JS?
    >> >> > > > > >
    >> >> > > > > >
    >> >> > > > > > El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (<
    >> >> > > > > > piotrzarzycki21@gmail.com>) escribió:
    >> >> > > > > >
    >> >> > > > > > > Hi Guys,
    >> >> > > > > > >
    >> >> > > > > > > I'm having difficulties with using created Royale SWC in
    >> some
    >> >> > > > project.
    >> >> > > > > I
    >> >> > > > > > > have two projects. (I've uploaded them on onedrive so you
    >> can
    >> >> try
    >> >> > > it
    >> >> > > > > > > yourself).
    >> >> > > > > > >
    >> >> > > > > > > Using SWF version of prepared swc I'm able to build project
    >> >> with
    >> >> > > > > > > compiler.targets=SWF. Unfortunately using JS version of
    >> that
    >> >> SWC
    >> >> > > I'm
    >> >> > > > > not
    >> >> > > > > > > able to build project with it. [1]
    >> >> > > > > > >
    >> >> > > > > > > 1. Library itself [2] - It contains configurations
    >> >> > > > > compile-swf-config.xml
    >> >> > > > > > > and compile-js-config.xml. Folder "bin" has swc JS and SWF
    >> >> > version.
    >> >> > > > > > >
    >> >> > > > > > > 2. Consumer of library [3] - This one is configured with
    >> >> > Moonshine
    >> >> > > > and
    >> >> > > > > > > VSCode.
    >> >> > > > > > >
    >> >> > > > > > > I'm building JS and SWF version of SWC using following
    >> command
    >> >> > > lines
    >> >> > > > > [4]
    >> >> > > > > > >
    >> >> > > > > > > Does anyone is seeing what could be wrong ? Those command
    >> >> lines
    >> >> > [4]
    >> >> > > > are
    >> >> > > > > > > based on how Royale is building swcs Basic, Jewel etc.
    >> >> > > > > > >
    >> >> > > > > > > [1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=a3D9TrjDbljw6P4wBAbzakmgHaRg1cCeHoLy%2BekIjEY%3D&amp;reserved=0
    >> >> > > > > > > [2] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=7uWI%2Fhf7QV9U7dg1LcjzJXjt6WB%2F8BzpXLUSxO%2B08Ho%3D&amp;reserved=0
    >> >> > > > > > > [3] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=U1zDRRM%2B2JPlHLoQ2R8gH9%2FZadUE%2BTD623BoaAz0h2A%3D&amp;reserved=0
    >> >> > > > > > > [4] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=mM4kUjn89cjNJxPRORHIFJxAMiGLHC3kskSm4PVpq34%3D&amp;reserved=0
    >> >> > > > > > >
    >> >> > > > > > > Thanks,
    >> >> > > > > > > --
    >> >> > > > > > >
    >> >> > > > > > > Piotr Zarzycki
    >> >> > > > > > >
    >> >> > > > > > > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%3D&amp;reserved=0
    >> >> > > > > > > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%3D&amp;reserved=0>*
    >> >> > > > > > >
    >> >> > > > > > > --
    >> >> > > > > > > Carlos Rovira
    >> >> > > > > > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=FJEkWEohxs%2BeNBWNj%2FgKYqeJISSL5hMDIaQ7OBVzvAc%3D&amp;reserved=0
    >> >> > > > > > >
    >> >> > > > > > >
    >> >> > > > > > >
    >> >> > > > > > >
    >> >> > > > > >
    >> >> > > > >
    >> >> > > > >
    >> >> > > > > --
    >> >> > > > >
    >> >> > > > > Piotr Zarzycki
    >> >> > > > >
    >> >> > > > > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%3D&amp;reserved=0
    >> >> > > > > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%3D&amp;reserved=0>*
    >> >> > > > >
    >> >> > > >
    >> >> > > >
    >> >> > > > --
    >> >> > > > Carlos Rovira
    >> >> > > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=FJEkWEohxs%2BeNBWNj%2FgKYqeJISSL5hMDIaQ7OBVzvAc%3D&amp;reserved=0
    >> >> > > >
    >> >> > >
    >> >> > >
    >> >> > > --
    >> >> > >
    >> >> > > Piotr Zarzycki
    >> >> > >
    >> >> > > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%3D&amp;reserved=0
    >> >> > > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%3D&amp;reserved=0>*
    >> >> > >
    >> >> >
    >> >> >
    >> >> > --
    >> >> > Carlos Rovira
    >> >> > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=FJEkWEohxs%2BeNBWNj%2FgKYqeJISSL5hMDIaQ7OBVzvAc%3D&amp;reserved=0
    >> >> >
    >> >>
    >> >>
    >> >> --
    >> >>
    >> >> Piotr Zarzycki
    >> >>
    >> >> Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%3D&amp;reserved=0
    >> >> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=k%2B%2BFiU1a0JeXifOW7qcP2khE5O0P0gimDL0mUK3Wb%2BE%3D&amp;reserved=0>*
    >> >>
    >> >
    >> >
    >> > --
    >> > Carlos Rovira
    >> > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=BTn3DvMjszn11L28qeRtboiwhm2bUifuNt19JGVgTyM%3D&amp;reserved=0
    >> >
    >> >
    >>
    >> --
    >> Carlos Rovira
    >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=BTn3DvMjszn11L28qeRtboiwhm2bUifuNt19JGVgTyM%3D&amp;reserved=0
    >>
    >
    >
    > --
    >
    > Piotr Zarzycki
    >
    > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=k%2B%2BFiU1a0JeXifOW7qcP2khE5O0P0gimDL0mUK3Wb%2BE%3D&amp;reserved=0
    > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=k%2B%2BFiU1a0JeXifOW7qcP2khE5O0P0gimDL0mUK3Wb%2BE%3D&amp;reserved=0>*
    >
    
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=k%2B%2BFiU1a0JeXifOW7qcP2khE5O0P0gimDL0mUK3Wb%2BE%3D&amp;reserved=0
    <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=k%2B%2BFiU1a0JeXifOW7qcP2khE5O0P0gimDL0mUK3Wb%2BE%3D&amp;reserved=0>*
    


Re: Difficulties with using in project JS version of Royale swc

Posted by Piotr Zarzycki <pi...@gmail.com>.
I just prepared Maven pom file for Library [2]* project provided as an
example in the first email. -> https://paste.apache.org/oShL

Unfortunately the result is the same - Using SWF version of build SWC I'm
able to build Royale application without the problem to SWF
(-compiler.target=SWF).
Using JS version I'm not able to build application
(-comipler.target=JSRoyale). -> https://paste.apache.org/QuTx

Something is wrong. :(

Piotr

wt., 11 wrz 2018 o 15:38 Piotr Zarzycki <pi...@gmail.com>
napisał(a):

> Carlos,
>
> It is very unlikely that yesterdays changes could make any problem and
> give that error. I think this is my second approach to have SWC support in
> Moonshine [1]. In first one I remember similar results. At that time I just
> didn't report it on dev list, cause I went into different tasks.
>
> [1] https://github.com/prominic/Moonshine-IDE/issues/195
>
> Thanks,
> Piotr
>
> wt., 11 wrz 2018 o 13:37 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
>> Hi, we cna remove from the list point 3, since it was something on my side
>> as I just reported a minute ago.
>>
>>
>> El mar., 11 sept. 2018 a las 13:30, Carlos Rovira (<
>> carlosrovira@apache.org>)
>> escribió:
>>
>> > Piotr, I must say that today I have various errors, as I reported:
>> > 1.- error in CI as we saw reported in email
>> > 2.- error building with maven in a blog example that before wasn't
>> > reporting error
>> > 3.- ANT failing creating SDK.
>> >
>> > Now yours:
>> > 4.- this one
>> >
>> > Maybe some changes yesterday in compiler or in typedefs are causing
>> this.
>> > Hope Josh or Alex could bring more light on this.
>> > As well could it be the change introduced by Harbs some days ago? (the
>> one
>> > that Alex don't want to release)
>> >
>> > Don't know if all if this is related.
>> >
>> > Thanks
>> >
>> >
>> >
>> > El mar., 11 sept. 2018 a las 12:59, Piotr Zarzycki (<
>> > piotrzarzycki21@gmail.com>) escribió:
>> >
>> >> Ok I understand now what you are trying to say. Just to be clear the
>> >> problem is following.
>> >>
>> >> If I prepare SWC which is SWF only - I'm able to consuming it and
>> project
>> >> which using it building without the problem to SWF.
>> >> If I prepare SWC which is JS only - Classes are not visible, project is
>> >> failing with error [1].
>> >>
>> >> I will prepare Maven build for library to compare the results with
>> command
>> >> line.
>> >>
>> >> Thanks,
>> >> Piotr
>> >>
>> >> wt., 11 wrz 2018 o 12:53 Carlos Rovira <ca...@apache.org>
>> >> napisał(a):
>> >>
>> >> > Piotr a project is used to be built. a lib to be compiled, and used
>> in a
>> >> > project app...
>> >> > if you're not trying to do that, better I left to others since I
>> don't
>> >> > understand the problem
>> >> >
>> >> > El mar., 11 sept. 2018 a las 12:38, Piotr Zarzycki (<
>> >> > piotrzarzycki21@gmail.com>) escribió:
>> >> >
>> >> > > Again to build what ? Project which is consuming SWC or SWCs
>> itself ?
>> >> > Which
>> >> > > one you are referring to. Link [2] is library, link [3] is
>> consumer of
>> >> > that
>> >> > > library ?
>> >> > >
>> >> > > wt., 11 wrz 2018 o 12:35 Carlos Rovira <ca...@apache.org>
>> >> > > napisał(a):
>> >> > >
>> >> > > > OK, I saw [1] quickly and thought that was only a var
>> declaration.
>> >> > > > I see that you don't have either ant or maven files to build
>> >> (build.xml
>> >> > > or
>> >> > > > pom.xml).
>> >> > > > Why don't you try to make those files and from there you can go
>> to
>> >> > other
>> >> > > > config. I assume that config is for Moonshine right?
>> >> > > >
>> >> > > > El mar., 11 sept. 2018 a las 12:27, Piotr Zarzycki (<
>> >> > > > piotrzarzycki21@gmail.com>) escribió:
>> >> > > >
>> >> > > > > Hi Carlos,
>> >> > > > >
>> >> > > > > 1) Are you asking on SWC preparation or building of project
>> which
>> >> is
>> >> > > > using
>> >> > > > > that swc ?
>> >> > > > > 2) If you are asking about fail of build of project which is
>> >> consumer
>> >> > > of
>> >> > > > > that swc you have it in link [1]
>> >> > > > >
>> >> > > > > Thanks,
>> >> > > > > Piotr
>> >> > > > >
>> >> > > > > wt., 11 wrz 2018 o 12:23 Carlos Rovira <
>> carlosrovira@apache.org>
>> >> > > > > napisał(a):
>> >> > > > >
>> >> > > > > > Hi Piotr,
>> >> > > > > >
>> >> > > > > > 1.- Are you building with ANT or Maven?
>> >> > > > > >
>> >> > > > > > 2.- What's the output of the fail compilation with JS?
>> >> > > > > >
>> >> > > > > >
>> >> > > > > > El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (<
>> >> > > > > > piotrzarzycki21@gmail.com>) escribió:
>> >> > > > > >
>> >> > > > > > > Hi Guys,
>> >> > > > > > >
>> >> > > > > > > I'm having difficulties with using created Royale SWC in
>> some
>> >> > > > project.
>> >> > > > > I
>> >> > > > > > > have two projects. (I've uploaded them on onedrive so you
>> can
>> >> try
>> >> > > it
>> >> > > > > > > yourself).
>> >> > > > > > >
>> >> > > > > > > Using SWF version of prepared swc I'm able to build project
>> >> with
>> >> > > > > > > compiler.targets=SWF. Unfortunately using JS version of
>> that
>> >> SWC
>> >> > > I'm
>> >> > > > > not
>> >> > > > > > > able to build project with it. [1]
>> >> > > > > > >
>> >> > > > > > > 1. Library itself [2] - It contains configurations
>> >> > > > > compile-swf-config.xml
>> >> > > > > > > and compile-js-config.xml. Folder "bin" has swc JS and SWF
>> >> > version.
>> >> > > > > > >
>> >> > > > > > > 2. Consumer of library [3] - This one is configured with
>> >> > Moonshine
>> >> > > > and
>> >> > > > > > > VSCode.
>> >> > > > > > >
>> >> > > > > > > I'm building JS and SWF version of SWC using following
>> command
>> >> > > lines
>> >> > > > > [4]
>> >> > > > > > >
>> >> > > > > > > Does anyone is seeing what could be wrong ? Those command
>> >> lines
>> >> > [4]
>> >> > > > are
>> >> > > > > > > based on how Royale is building swcs Basic, Jewel etc.
>> >> > > > > > >
>> >> > > > > > > [1] https://paste.apache.org/tvhY
>> >> > > > > > > [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
>> >> > > > > > > [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
>> >> > > > > > > [4] https://paste.apache.org/OtDR
>> >> > > > > > >
>> >> > > > > > > Thanks,
>> >> > > > > > > --
>> >> > > > > > >
>> >> > > > > > > Piotr Zarzycki
>> >> > > > > > >
>> >> > > > > > > Patreon: *https://www.patreon.com/piotrzarzycki
>> >> > > > > > > <https://www.patreon.com/piotrzarzycki>*
>> >> > > > > > >
>> >> > > > > > > --
>> >> > > > > > > Carlos Rovira
>> >> > > > > > > http://about.me/carlosrovira
>> >> > > > > > >
>> >> > > > > > >
>> >> > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > > > >
>> >> > > > > --
>> >> > > > >
>> >> > > > > Piotr Zarzycki
>> >> > > > >
>> >> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
>> >> > > > > <https://www.patreon.com/piotrzarzycki>*
>> >> > > > >
>> >> > > >
>> >> > > >
>> >> > > > --
>> >> > > > Carlos Rovira
>> >> > > > http://about.me/carlosrovira
>> >> > > >
>> >> > >
>> >> > >
>> >> > > --
>> >> > >
>> >> > > Piotr Zarzycki
>> >> > >
>> >> > > Patreon: *https://www.patreon.com/piotrzarzycki
>> >> > > <https://www.patreon.com/piotrzarzycki>*
>> >> > >
>> >> >
>> >> >
>> >> > --
>> >> > Carlos Rovira
>> >> > http://about.me/carlosrovira
>> >> >
>> >>
>> >>
>> >> --
>> >>
>> >> Piotr Zarzycki
>> >>
>> >> Patreon: *https://www.patreon.com/piotrzarzycki
>> >> <https://www.patreon.com/piotrzarzycki>*
>> >>
>> >
>> >
>> > --
>> > Carlos Rovira
>> > http://about.me/carlosrovira
>> >
>> >
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>
>
> --
>
> 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: Difficulties with using in project JS version of Royale swc

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

It is very unlikely that yesterdays changes could make any problem and give
that error. I think this is my second approach to have SWC support in
Moonshine [1]. In first one I remember similar results. At that time I just
didn't report it on dev list, cause I went into different tasks.

[1] https://github.com/prominic/Moonshine-IDE/issues/195

Thanks,
Piotr

wt., 11 wrz 2018 o 13:37 Carlos Rovira <ca...@apache.org> napisał(a):

> Hi, we cna remove from the list point 3, since it was something on my side
> as I just reported a minute ago.
>
>
> El mar., 11 sept. 2018 a las 13:30, Carlos Rovira (<
> carlosrovira@apache.org>)
> escribió:
>
> > Piotr, I must say that today I have various errors, as I reported:
> > 1.- error in CI as we saw reported in email
> > 2.- error building with maven in a blog example that before wasn't
> > reporting error
> > 3.- ANT failing creating SDK.
> >
> > Now yours:
> > 4.- this one
> >
> > Maybe some changes yesterday in compiler or in typedefs are causing this.
> > Hope Josh or Alex could bring more light on this.
> > As well could it be the change introduced by Harbs some days ago? (the
> one
> > that Alex don't want to release)
> >
> > Don't know if all if this is related.
> >
> > Thanks
> >
> >
> >
> > El mar., 11 sept. 2018 a las 12:59, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>) escribió:
> >
> >> Ok I understand now what you are trying to say. Just to be clear the
> >> problem is following.
> >>
> >> If I prepare SWC which is SWF only - I'm able to consuming it and
> project
> >> which using it building without the problem to SWF.
> >> If I prepare SWC which is JS only - Classes are not visible, project is
> >> failing with error [1].
> >>
> >> I will prepare Maven build for library to compare the results with
> command
> >> line.
> >>
> >> Thanks,
> >> Piotr
> >>
> >> wt., 11 wrz 2018 o 12:53 Carlos Rovira <ca...@apache.org>
> >> napisał(a):
> >>
> >> > Piotr a project is used to be built. a lib to be compiled, and used
> in a
> >> > project app...
> >> > if you're not trying to do that, better I left to others since I don't
> >> > understand the problem
> >> >
> >> > El mar., 11 sept. 2018 a las 12:38, Piotr Zarzycki (<
> >> > piotrzarzycki21@gmail.com>) escribió:
> >> >
> >> > > Again to build what ? Project which is consuming SWC or SWCs itself
> ?
> >> > Which
> >> > > one you are referring to. Link [2] is library, link [3] is consumer
> of
> >> > that
> >> > > library ?
> >> > >
> >> > > wt., 11 wrz 2018 o 12:35 Carlos Rovira <ca...@apache.org>
> >> > > napisał(a):
> >> > >
> >> > > > OK, I saw [1] quickly and thought that was only a var declaration.
> >> > > > I see that you don't have either ant or maven files to build
> >> (build.xml
> >> > > or
> >> > > > pom.xml).
> >> > > > Why don't you try to make those files and from there you can go to
> >> > other
> >> > > > config. I assume that config is for Moonshine right?
> >> > > >
> >> > > > El mar., 11 sept. 2018 a las 12:27, Piotr Zarzycki (<
> >> > > > piotrzarzycki21@gmail.com>) escribió:
> >> > > >
> >> > > > > Hi Carlos,
> >> > > > >
> >> > > > > 1) Are you asking on SWC preparation or building of project
> which
> >> is
> >> > > > using
> >> > > > > that swc ?
> >> > > > > 2) If you are asking about fail of build of project which is
> >> consumer
> >> > > of
> >> > > > > that swc you have it in link [1]
> >> > > > >
> >> > > > > Thanks,
> >> > > > > Piotr
> >> > > > >
> >> > > > > wt., 11 wrz 2018 o 12:23 Carlos Rovira <carlosrovira@apache.org
> >
> >> > > > > napisał(a):
> >> > > > >
> >> > > > > > Hi Piotr,
> >> > > > > >
> >> > > > > > 1.- Are you building with ANT or Maven?
> >> > > > > >
> >> > > > > > 2.- What's the output of the fail compilation with JS?
> >> > > > > >
> >> > > > > >
> >> > > > > > El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (<
> >> > > > > > piotrzarzycki21@gmail.com>) escribió:
> >> > > > > >
> >> > > > > > > Hi Guys,
> >> > > > > > >
> >> > > > > > > I'm having difficulties with using created Royale SWC in
> some
> >> > > > project.
> >> > > > > I
> >> > > > > > > have two projects. (I've uploaded them on onedrive so you
> can
> >> try
> >> > > it
> >> > > > > > > yourself).
> >> > > > > > >
> >> > > > > > > Using SWF version of prepared swc I'm able to build project
> >> with
> >> > > > > > > compiler.targets=SWF. Unfortunately using JS version of that
> >> SWC
> >> > > I'm
> >> > > > > not
> >> > > > > > > able to build project with it. [1]
> >> > > > > > >
> >> > > > > > > 1. Library itself [2] - It contains configurations
> >> > > > > compile-swf-config.xml
> >> > > > > > > and compile-js-config.xml. Folder "bin" has swc JS and SWF
> >> > version.
> >> > > > > > >
> >> > > > > > > 2. Consumer of library [3] - This one is configured with
> >> > Moonshine
> >> > > > and
> >> > > > > > > VSCode.
> >> > > > > > >
> >> > > > > > > I'm building JS and SWF version of SWC using following
> command
> >> > > lines
> >> > > > > [4]
> >> > > > > > >
> >> > > > > > > Does anyone is seeing what could be wrong ? Those command
> >> lines
> >> > [4]
> >> > > > are
> >> > > > > > > based on how Royale is building swcs Basic, Jewel etc.
> >> > > > > > >
> >> > > > > > > [1] https://paste.apache.org/tvhY
> >> > > > > > > [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
> >> > > > > > > [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
> >> > > > > > > [4] https://paste.apache.org/OtDR
> >> > > > > > >
> >> > > > > > > Thanks,
> >> > > > > > > --
> >> > > > > > >
> >> > > > > > > Piotr Zarzycki
> >> > > > > > >
> >> > > > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> >> > > > > > > <https://www.patreon.com/piotrzarzycki>*
> >> > > > > > >
> >> > > > > > > --
> >> > > > > > > Carlos Rovira
> >> > > > > > > http://about.me/carlosrovira
> >> > > > > > >
> >> > > > > > >
> >> > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Piotr Zarzycki
> >> > > > >
> >> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> >> > > > > <https://www.patreon.com/piotrzarzycki>*
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > Carlos Rovira
> >> > > > http://about.me/carlosrovira
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> > > Patreon: *https://www.patreon.com/piotrzarzycki
> >> > > <https://www.patreon.com/piotrzarzycki>*
> >> > >
> >> >
> >> >
> >> > --
> >> > Carlos Rovira
> >> > http://about.me/carlosrovira
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >> Patreon: *https://www.patreon.com/piotrzarzycki
> >> <https://www.patreon.com/piotrzarzycki>*
> >>
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Carlos Rovira <ca...@apache.org>.
Hi, we cna remove from the list point 3, since it was something on my side
as I just reported a minute ago.


El mar., 11 sept. 2018 a las 13:30, Carlos Rovira (<ca...@apache.org>)
escribió:

> Piotr, I must say that today I have various errors, as I reported:
> 1.- error in CI as we saw reported in email
> 2.- error building with maven in a blog example that before wasn't
> reporting error
> 3.- ANT failing creating SDK.
>
> Now yours:
> 4.- this one
>
> Maybe some changes yesterday in compiler or in typedefs are causing this.
> Hope Josh or Alex could bring more light on this.
> As well could it be the change introduced by Harbs some days ago? (the one
> that Alex don't want to release)
>
> Don't know if all if this is related.
>
> Thanks
>
>
>
> El mar., 11 sept. 2018 a las 12:59, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
>> Ok I understand now what you are trying to say. Just to be clear the
>> problem is following.
>>
>> If I prepare SWC which is SWF only - I'm able to consuming it and project
>> which using it building without the problem to SWF.
>> If I prepare SWC which is JS only - Classes are not visible, project is
>> failing with error [1].
>>
>> I will prepare Maven build for library to compare the results with command
>> line.
>>
>> Thanks,
>> Piotr
>>
>> wt., 11 wrz 2018 o 12:53 Carlos Rovira <ca...@apache.org>
>> napisał(a):
>>
>> > Piotr a project is used to be built. a lib to be compiled, and used in a
>> > project app...
>> > if you're not trying to do that, better I left to others since I don't
>> > understand the problem
>> >
>> > El mar., 11 sept. 2018 a las 12:38, Piotr Zarzycki (<
>> > piotrzarzycki21@gmail.com>) escribió:
>> >
>> > > Again to build what ? Project which is consuming SWC or SWCs itself ?
>> > Which
>> > > one you are referring to. Link [2] is library, link [3] is consumer of
>> > that
>> > > library ?
>> > >
>> > > wt., 11 wrz 2018 o 12:35 Carlos Rovira <ca...@apache.org>
>> > > napisał(a):
>> > >
>> > > > OK, I saw [1] quickly and thought that was only a var declaration.
>> > > > I see that you don't have either ant or maven files to build
>> (build.xml
>> > > or
>> > > > pom.xml).
>> > > > Why don't you try to make those files and from there you can go to
>> > other
>> > > > config. I assume that config is for Moonshine right?
>> > > >
>> > > > El mar., 11 sept. 2018 a las 12:27, Piotr Zarzycki (<
>> > > > piotrzarzycki21@gmail.com>) escribió:
>> > > >
>> > > > > Hi Carlos,
>> > > > >
>> > > > > 1) Are you asking on SWC preparation or building of project which
>> is
>> > > > using
>> > > > > that swc ?
>> > > > > 2) If you are asking about fail of build of project which is
>> consumer
>> > > of
>> > > > > that swc you have it in link [1]
>> > > > >
>> > > > > Thanks,
>> > > > > Piotr
>> > > > >
>> > > > > wt., 11 wrz 2018 o 12:23 Carlos Rovira <ca...@apache.org>
>> > > > > napisał(a):
>> > > > >
>> > > > > > Hi Piotr,
>> > > > > >
>> > > > > > 1.- Are you building with ANT or Maven?
>> > > > > >
>> > > > > > 2.- What's the output of the fail compilation with JS?
>> > > > > >
>> > > > > >
>> > > > > > El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (<
>> > > > > > piotrzarzycki21@gmail.com>) escribió:
>> > > > > >
>> > > > > > > Hi Guys,
>> > > > > > >
>> > > > > > > I'm having difficulties with using created Royale SWC in some
>> > > > project.
>> > > > > I
>> > > > > > > have two projects. (I've uploaded them on onedrive so you can
>> try
>> > > it
>> > > > > > > yourself).
>> > > > > > >
>> > > > > > > Using SWF version of prepared swc I'm able to build project
>> with
>> > > > > > > compiler.targets=SWF. Unfortunately using JS version of that
>> SWC
>> > > I'm
>> > > > > not
>> > > > > > > able to build project with it. [1]
>> > > > > > >
>> > > > > > > 1. Library itself [2] - It contains configurations
>> > > > > compile-swf-config.xml
>> > > > > > > and compile-js-config.xml. Folder "bin" has swc JS and SWF
>> > version.
>> > > > > > >
>> > > > > > > 2. Consumer of library [3] - This one is configured with
>> > Moonshine
>> > > > and
>> > > > > > > VSCode.
>> > > > > > >
>> > > > > > > I'm building JS and SWF version of SWC using following command
>> > > lines
>> > > > > [4]
>> > > > > > >
>> > > > > > > Does anyone is seeing what could be wrong ? Those command
>> lines
>> > [4]
>> > > > are
>> > > > > > > based on how Royale is building swcs Basic, Jewel etc.
>> > > > > > >
>> > > > > > > [1] https://paste.apache.org/tvhY
>> > > > > > > [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
>> > > > > > > [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
>> > > > > > > [4] https://paste.apache.org/OtDR
>> > > > > > >
>> > > > > > > Thanks,
>> > > > > > > --
>> > > > > > >
>> > > > > > > Piotr Zarzycki
>> > > > > > >
>> > > > > > > Patreon: *https://www.patreon.com/piotrzarzycki
>> > > > > > > <https://www.patreon.com/piotrzarzycki>*
>> > > > > > >
>> > > > > > > --
>> > > > > > > Carlos Rovira
>> > > > > > > http://about.me/carlosrovira
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > >
>> > > > > Piotr Zarzycki
>> > > > >
>> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
>> > > > > <https://www.patreon.com/piotrzarzycki>*
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > > Carlos Rovira
>> > > > http://about.me/carlosrovira
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> > > Patreon: *https://www.patreon.com/piotrzarzycki
>> > > <https://www.patreon.com/piotrzarzycki>*
>> > >
>> >
>> >
>> > --
>> > Carlos Rovira
>> > http://about.me/carlosrovira
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Carlos Rovira <ca...@apache.org>.
Piotr, I must say that today I have various errors, as I reported:
1.- error in CI as we saw reported in email
2.- error building with maven in a blog example that before wasn't
reporting error
3.- ANT failing creating SDK.

Now yours:
4.- this one

Maybe some changes yesterday in compiler or in typedefs are causing this.
Hope Josh or Alex could bring more light on this.
As well could it be the change introduced by Harbs some days ago? (the one
that Alex don't want to release)

Don't know if all if this is related.

Thanks



El mar., 11 sept. 2018 a las 12:59, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:

> Ok I understand now what you are trying to say. Just to be clear the
> problem is following.
>
> If I prepare SWC which is SWF only - I'm able to consuming it and project
> which using it building without the problem to SWF.
> If I prepare SWC which is JS only - Classes are not visible, project is
> failing with error [1].
>
> I will prepare Maven build for library to compare the results with command
> line.
>
> Thanks,
> Piotr
>
> wt., 11 wrz 2018 o 12:53 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Piotr a project is used to be built. a lib to be compiled, and used in a
> > project app...
> > if you're not trying to do that, better I left to others since I don't
> > understand the problem
> >
> > El mar., 11 sept. 2018 a las 12:38, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>) escribió:
> >
> > > Again to build what ? Project which is consuming SWC or SWCs itself ?
> > Which
> > > one you are referring to. Link [2] is library, link [3] is consumer of
> > that
> > > library ?
> > >
> > > wt., 11 wrz 2018 o 12:35 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > > OK, I saw [1] quickly and thought that was only a var declaration.
> > > > I see that you don't have either ant or maven files to build
> (build.xml
> > > or
> > > > pom.xml).
> > > > Why don't you try to make those files and from there you can go to
> > other
> > > > config. I assume that config is for Moonshine right?
> > > >
> > > > El mar., 11 sept. 2018 a las 12:27, Piotr Zarzycki (<
> > > > piotrzarzycki21@gmail.com>) escribió:
> > > >
> > > > > Hi Carlos,
> > > > >
> > > > > 1) Are you asking on SWC preparation or building of project which
> is
> > > > using
> > > > > that swc ?
> > > > > 2) If you are asking about fail of build of project which is
> consumer
> > > of
> > > > > that swc you have it in link [1]
> > > > >
> > > > > Thanks,
> > > > > Piotr
> > > > >
> > > > > wt., 11 wrz 2018 o 12:23 Carlos Rovira <ca...@apache.org>
> > > > > napisał(a):
> > > > >
> > > > > > Hi Piotr,
> > > > > >
> > > > > > 1.- Are you building with ANT or Maven?
> > > > > >
> > > > > > 2.- What's the output of the fail compilation with JS?
> > > > > >
> > > > > >
> > > > > > El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (<
> > > > > > piotrzarzycki21@gmail.com>) escribió:
> > > > > >
> > > > > > > Hi Guys,
> > > > > > >
> > > > > > > I'm having difficulties with using created Royale SWC in some
> > > > project.
> > > > > I
> > > > > > > have two projects. (I've uploaded them on onedrive so you can
> try
> > > it
> > > > > > > yourself).
> > > > > > >
> > > > > > > Using SWF version of prepared swc I'm able to build project
> with
> > > > > > > compiler.targets=SWF. Unfortunately using JS version of that
> SWC
> > > I'm
> > > > > not
> > > > > > > able to build project with it. [1]
> > > > > > >
> > > > > > > 1. Library itself [2] - It contains configurations
> > > > > compile-swf-config.xml
> > > > > > > and compile-js-config.xml. Folder "bin" has swc JS and SWF
> > version.
> > > > > > >
> > > > > > > 2. Consumer of library [3] - This one is configured with
> > Moonshine
> > > > and
> > > > > > > VSCode.
> > > > > > >
> > > > > > > I'm building JS and SWF version of SWC using following command
> > > lines
> > > > > [4]
> > > > > > >
> > > > > > > Does anyone is seeing what could be wrong ? Those command lines
> > [4]
> > > > are
> > > > > > > based on how Royale is building swcs Basic, Jewel etc.
> > > > > > >
> > > > > > > [1] https://paste.apache.org/tvhY
> > > > > > > [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
> > > > > > > [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
> > > > > > > [4] https://paste.apache.org/OtDR
> > > > > > >
> > > > > > > Thanks,
> > > > > > > --
> > > > > > >
> > > > > > > Piotr Zarzycki
> > > > > > >
> > > > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > > > > <https://www.patreon.com/piotrzarzycki>*
> > > > > > >
> > > > > > > --
> > > > > > > Carlos Rovira
> > > > > > > http://about.me/carlosrovira
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > > <https://www.patreon.com/piotrzarzycki>*
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


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

Re: Difficulties with using in project JS version of Royale swc

Posted by Piotr Zarzycki <pi...@gmail.com>.
Ok I understand now what you are trying to say. Just to be clear the
problem is following.

If I prepare SWC which is SWF only - I'm able to consuming it and project
which using it building without the problem to SWF.
If I prepare SWC which is JS only - Classes are not visible, project is
failing with error [1].

I will prepare Maven build for library to compare the results with command
line.

Thanks,
Piotr

wt., 11 wrz 2018 o 12:53 Carlos Rovira <ca...@apache.org> napisał(a):

> Piotr a project is used to be built. a lib to be compiled, and used in a
> project app...
> if you're not trying to do that, better I left to others since I don't
> understand the problem
>
> El mar., 11 sept. 2018 a las 12:38, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> > Again to build what ? Project which is consuming SWC or SWCs itself ?
> Which
> > one you are referring to. Link [2] is library, link [3] is consumer of
> that
> > library ?
> >
> > wt., 11 wrz 2018 o 12:35 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> > > OK, I saw [1] quickly and thought that was only a var declaration.
> > > I see that you don't have either ant or maven files to build (build.xml
> > or
> > > pom.xml).
> > > Why don't you try to make those files and from there you can go to
> other
> > > config. I assume that config is for Moonshine right?
> > >
> > > El mar., 11 sept. 2018 a las 12:27, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>) escribió:
> > >
> > > > Hi Carlos,
> > > >
> > > > 1) Are you asking on SWC preparation or building of project which is
> > > using
> > > > that swc ?
> > > > 2) If you are asking about fail of build of project which is consumer
> > of
> > > > that swc you have it in link [1]
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > > wt., 11 wrz 2018 o 12:23 Carlos Rovira <ca...@apache.org>
> > > > napisał(a):
> > > >
> > > > > Hi Piotr,
> > > > >
> > > > > 1.- Are you building with ANT or Maven?
> > > > >
> > > > > 2.- What's the output of the fail compilation with JS?
> > > > >
> > > > >
> > > > > El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com>) escribió:
> > > > >
> > > > > > Hi Guys,
> > > > > >
> > > > > > I'm having difficulties with using created Royale SWC in some
> > > project.
> > > > I
> > > > > > have two projects. (I've uploaded them on onedrive so you can try
> > it
> > > > > > yourself).
> > > > > >
> > > > > > Using SWF version of prepared swc I'm able to build project with
> > > > > > compiler.targets=SWF. Unfortunately using JS version of that SWC
> > I'm
> > > > not
> > > > > > able to build project with it. [1]
> > > > > >
> > > > > > 1. Library itself [2] - It contains configurations
> > > > compile-swf-config.xml
> > > > > > and compile-js-config.xml. Folder "bin" has swc JS and SWF
> version.
> > > > > >
> > > > > > 2. Consumer of library [3] - This one is configured with
> Moonshine
> > > and
> > > > > > VSCode.
> > > > > >
> > > > > > I'm building JS and SWF version of SWC using following command
> > lines
> > > > [4]
> > > > > >
> > > > > > Does anyone is seeing what could be wrong ? Those command lines
> [4]
> > > are
> > > > > > based on how Royale is building swcs Basic, Jewel etc.
> > > > > >
> > > > > > [1] https://paste.apache.org/tvhY
> > > > > > [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
> > > > > > [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
> > > > > > [4] https://paste.apache.org/OtDR
> > > > > >
> > > > > > Thanks,
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > > > <https://www.patreon.com/piotrzarzycki>*
> > > > > >
> > > > > > --
> > > > > > Carlos Rovira
> > > > > > http://about.me/carlosrovira
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Carlos Rovira <ca...@apache.org>.
Piotr a project is used to be built. a lib to be compiled, and used in a
project app...
if you're not trying to do that, better I left to others since I don't
understand the problem

El mar., 11 sept. 2018 a las 12:38, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:

> Again to build what ? Project which is consuming SWC or SWCs itself ? Which
> one you are referring to. Link [2] is library, link [3] is consumer of that
> library ?
>
> wt., 11 wrz 2018 o 12:35 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > OK, I saw [1] quickly and thought that was only a var declaration.
> > I see that you don't have either ant or maven files to build (build.xml
> or
> > pom.xml).
> > Why don't you try to make those files and from there you can go to other
> > config. I assume that config is for Moonshine right?
> >
> > El mar., 11 sept. 2018 a las 12:27, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>) escribió:
> >
> > > Hi Carlos,
> > >
> > > 1) Are you asking on SWC preparation or building of project which is
> > using
> > > that swc ?
> > > 2) If you are asking about fail of build of project which is consumer
> of
> > > that swc you have it in link [1]
> > >
> > > Thanks,
> > > Piotr
> > >
> > > wt., 11 wrz 2018 o 12:23 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > > Hi Piotr,
> > > >
> > > > 1.- Are you building with ANT or Maven?
> > > >
> > > > 2.- What's the output of the fail compilation with JS?
> > > >
> > > >
> > > > El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (<
> > > > piotrzarzycki21@gmail.com>) escribió:
> > > >
> > > > > Hi Guys,
> > > > >
> > > > > I'm having difficulties with using created Royale SWC in some
> > project.
> > > I
> > > > > have two projects. (I've uploaded them on onedrive so you can try
> it
> > > > > yourself).
> > > > >
> > > > > Using SWF version of prepared swc I'm able to build project with
> > > > > compiler.targets=SWF. Unfortunately using JS version of that SWC
> I'm
> > > not
> > > > > able to build project with it. [1]
> > > > >
> > > > > 1. Library itself [2] - It contains configurations
> > > compile-swf-config.xml
> > > > > and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
> > > > >
> > > > > 2. Consumer of library [3] - This one is configured with Moonshine
> > and
> > > > > VSCode.
> > > > >
> > > > > I'm building JS and SWF version of SWC using following command
> lines
> > > [4]
> > > > >
> > > > > Does anyone is seeing what could be wrong ? Those command lines [4]
> > are
> > > > > based on how Royale is building swcs Basic, Jewel etc.
> > > > >
> > > > > [1] https://paste.apache.org/tvhY
> > > > > [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
> > > > > [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
> > > > > [4] https://paste.apache.org/OtDR
> > > > >
> > > > > Thanks,
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > > <https://www.patreon.com/piotrzarzycki>*
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > http://about.me/carlosrovira
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


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

Re: Difficulties with using in project JS version of Royale swc

Posted by Piotr Zarzycki <pi...@gmail.com>.
Again to build what ? Project which is consuming SWC or SWCs itself ? Which
one you are referring to. Link [2] is library, link [3] is consumer of that
library ?

wt., 11 wrz 2018 o 12:35 Carlos Rovira <ca...@apache.org> napisał(a):

> OK, I saw [1] quickly and thought that was only a var declaration.
> I see that you don't have either ant or maven files to build (build.xml or
> pom.xml).
> Why don't you try to make those files and from there you can go to other
> config. I assume that config is for Moonshine right?
>
> El mar., 11 sept. 2018 a las 12:27, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> > Hi Carlos,
> >
> > 1) Are you asking on SWC preparation or building of project which is
> using
> > that swc ?
> > 2) If you are asking about fail of build of project which is consumer of
> > that swc you have it in link [1]
> >
> > Thanks,
> > Piotr
> >
> > wt., 11 wrz 2018 o 12:23 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > 1.- Are you building with ANT or Maven?
> > >
> > > 2.- What's the output of the fail compilation with JS?
> > >
> > >
> > > El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>) escribió:
> > >
> > > > Hi Guys,
> > > >
> > > > I'm having difficulties with using created Royale SWC in some
> project.
> > I
> > > > have two projects. (I've uploaded them on onedrive so you can try it
> > > > yourself).
> > > >
> > > > Using SWF version of prepared swc I'm able to build project with
> > > > compiler.targets=SWF. Unfortunately using JS version of that SWC I'm
> > not
> > > > able to build project with it. [1]
> > > >
> > > > 1. Library itself [2] - It contains configurations
> > compile-swf-config.xml
> > > > and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
> > > >
> > > > 2. Consumer of library [3] - This one is configured with Moonshine
> and
> > > > VSCode.
> > > >
> > > > I'm building JS and SWF version of SWC using following command lines
> > [4]
> > > >
> > > > Does anyone is seeing what could be wrong ? Those command lines [4]
> are
> > > > based on how Royale is building swcs Basic, Jewel etc.
> > > >
> > > > [1] https://paste.apache.org/tvhY
> > > > [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
> > > > [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
> > > > [4] https://paste.apache.org/OtDR
> > > >
> > > > Thanks,
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Carlos Rovira <ca...@apache.org>.
OK, I saw [1] quickly and thought that was only a var declaration.
I see that you don't have either ant or maven files to build (build.xml or
pom.xml).
Why don't you try to make those files and from there you can go to other
config. I assume that config is for Moonshine right?

El mar., 11 sept. 2018 a las 12:27, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:

> Hi Carlos,
>
> 1) Are you asking on SWC preparation or building of project which is using
> that swc ?
> 2) If you are asking about fail of build of project which is consumer of
> that swc you have it in link [1]
>
> Thanks,
> Piotr
>
> wt., 11 wrz 2018 o 12:23 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi Piotr,
> >
> > 1.- Are you building with ANT or Maven?
> >
> > 2.- What's the output of the fail compilation with JS?
> >
> >
> > El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>) escribió:
> >
> > > Hi Guys,
> > >
> > > I'm having difficulties with using created Royale SWC in some project.
> I
> > > have two projects. (I've uploaded them on onedrive so you can try it
> > > yourself).
> > >
> > > Using SWF version of prepared swc I'm able to build project with
> > > compiler.targets=SWF. Unfortunately using JS version of that SWC I'm
> not
> > > able to build project with it. [1]
> > >
> > > 1. Library itself [2] - It contains configurations
> compile-swf-config.xml
> > > and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
> > >
> > > 2. Consumer of library [3] - This one is configured with Moonshine and
> > > VSCode.
> > >
> > > I'm building JS and SWF version of SWC using following command lines
> [4]
> > >
> > > Does anyone is seeing what could be wrong ? Those command lines [4] are
> > > based on how Royale is building swcs Basic, Jewel etc.
> > >
> > > [1] https://paste.apache.org/tvhY
> > > [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
> > > [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
> > > [4] https://paste.apache.org/OtDR
> > >
> > > Thanks,
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> > >
> > >
> > >
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


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

Re: Difficulties with using in project JS version of Royale swc

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

1) Are you asking on SWC preparation or building of project which is using
that swc ?
2) If you are asking about fail of build of project which is consumer of
that swc you have it in link [1]

Thanks,
Piotr

wt., 11 wrz 2018 o 12:23 Carlos Rovira <ca...@apache.org> napisał(a):

> Hi Piotr,
>
> 1.- Are you building with ANT or Maven?
>
> 2.- What's the output of the fail compilation with JS?
>
>
> El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> > Hi Guys,
> >
> > I'm having difficulties with using created Royale SWC in some project. I
> > have two projects. (I've uploaded them on onedrive so you can try it
> > yourself).
> >
> > Using SWF version of prepared swc I'm able to build project with
> > compiler.targets=SWF. Unfortunately using JS version of that SWC I'm not
> > able to build project with it. [1]
> >
> > 1. Library itself [2] - It contains configurations compile-swf-config.xml
> > and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
> >
> > 2. Consumer of library [3] - This one is configured with Moonshine and
> > VSCode.
> >
> > I'm building JS and SWF version of SWC using following command lines [4]
> >
> > Does anyone is seeing what could be wrong ? Those command lines [4] are
> > based on how Royale is building swcs Basic, Jewel etc.
> >
> > [1] https://paste.apache.org/tvhY
> > [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
> > [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
> > [4] https://paste.apache.org/OtDR
> >
> > Thanks,
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
> >
> >
>


-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Carlos Rovira <ca...@apache.org>.
Hi Piotr,

1.- Are you building with ANT or Maven?

2.- What's the output of the fail compilation with JS?


El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:

> Hi Guys,
>
> I'm having difficulties with using created Royale SWC in some project. I
> have two projects. (I've uploaded them on onedrive so you can try it
> yourself).
>
> Using SWF version of prepared swc I'm able to build project with
> compiler.targets=SWF. Unfortunately using JS version of that SWC I'm not
> able to build project with it. [1]
>
> 1. Library itself [2] - It contains configurations compile-swf-config.xml
> and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
>
> 2. Consumer of library [3] - This one is configured with Moonshine and
> VSCode.
>
> I'm building JS and SWF version of SWC using following command lines [4]
>
> Does anyone is seeing what could be wrong ? Those command lines [4] are
> based on how Royale is building swcs Basic, Jewel etc.
>
> [1] https://paste.apache.org/tvhY
> [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
> [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
> [4] https://paste.apache.org/OtDR
>
> Thanks,
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>
>

Re: Difficulties with using in project JS version of Royale swc

Posted by piotrz <pi...@apache.org>.
Hi Josh,

I just played with your suggestion, so generate JS and SWF version of SWCs
and there is no change in my consumer project. I'm still getting error in JS
version of SWC. 

This is how both command looks like [1]. Just as a reminder what kind of
error do I have, swc is placed in -library-path. Am I still doing something
wrong ?

<http://apache-royale-development.20373.n8.nabble.com/file/t1/error_compiler.png>  

[1] https://paste.apache.org/lXtd

Thanks,
Piotr



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

Re: Difficulties with using in project JS version of Royale swc

Posted by Piotr Zarzycki <pi...@gmail.com>.
Thanks guys I think I got it, so hopefully support for Royale SWC will be
added in the next version of Moonshine.

czw., 13 wrz 2018 o 10:53 Alex Harui <ah...@adobe.com.invalid> napisał(a):

> It looks like the custom swc is on the -library-path.  Does it work if it
> uses -js-library-path instead?  I though we already discussed this.  If
> other configs are loaded like royale-config.xml, then I think you want the
> -js-library-path.
>
> IIRC, the compiler doesn't care if it says 'flex-config" or
> "royale-config".
>
> HTH,
> -Alex
>
> On 9/13/18, 1:01 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
>     I noticed that we have in config (link [3]) tag "flex-config" - Can it
> have
>     some impact when Royale is loading it ? Should it be "royale-config"?
>
>     czw., 13 wrz 2018 o 09:57 Piotr Zarzycki <pi...@gmail.com>
>     napisał(a):
>
>     > Hi Alex,
>     >
>     > During swc build I don't get any errors. When I'm using that swc I
> got
>     > that one [1]. - You can download project from my links to see the
> code.
>     >
>     > Here is the options which is being used by the project which
> consuming
>     > that swc [2]. Here is the config [3] which you are seeing in [2].
>     >
>     > [1]
>     >
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ferror_compiler.png&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=MbZbBU87tAKpXLVrWFkeuePnztt5%2BZ2I3RcaHzRDHGQ%3D&amp;reserved=0
>     > [2]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FvoyL&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=PBAsSA4ariBZhaaEvBSSTr9ortMeWD3JOmEoxoHaY88%3D&amp;reserved=0
>     > [3]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FBnHN&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=KunbnOrLy%2BRRu30UUInOcCSoXgPeisyZITTeTZ2n6qE%3D&amp;reserved=0
>     >
>     > Thanks,
>     > Piotr
>     >
>     >
>     > czw., 13 wrz 2018 o 09:51 Alex Harui <ah...@adobe.com.invalid>
>     > napisał(a):
>     >
>     >> Piotr,  what error do you get?  Did you unzip the SWC to see if has
> the
>     >> expected files?  If you get an error using the SWC in the main app,
> what
>     >> options are you using in MXMLC for the main app?
>     >>
>     >> -Alex
>     >>
>     >> On 9/13/18, 12:42 AM, "Piotr Zarzycki" <pi...@gmail.com>
>     >> wrote:
>     >>
>     >>     Ok We have a bit miss lead from the main thread which is
> important to
>     >> me
>     >>     and probably to other users of Moonshine. In a nut shell I'm
> not able
>     >> to
>     >>     use in Royale application SWC which was build as JS only. - In
> the
>     >> other
>     >>     words I have in the config COMPILE::JS = true and
> COMPILE::SWF=false.
>     >>
>     >>     Commands used for the build are [1]. Can it be problem with
> compiler ?
>     >>
>     >>     [1]
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FlXtd&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=M3BSwWJEF2e%2BbnPfXsPFQuzdJRwaXZH5Q%2FEeNehPNE0%3D&amp;reserved=0
>     >>
>     >>     czw., 13 wrz 2018 o 09:38 Carlos Rovira <
> carlosrovira@apache.org>
>     >>     napisał(a):
>     >>
>     >>     > Hi Piotr,
>     >>     >
>     >>     > thanks!, now I understand :)
>     >>     >
>     >>     > El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
>     >>     > piotrzarzycki21@gmail.com>) escribió:
>     >>     >
>     >>     > > Carlos,
>     >>     > >
>     >>     > > "I must to admit that still doesn't understand totally.
> Jewel is
>     >>     > compiling
>     >>     > > to html and flash (although the later compile but doesn't
> work
>     >> yet).
>     >>     > AFAIK,
>     >>     > > we have two targets now flash and html, so if flash is SWF,
> what
>     >> is
>     >>     > > html/js/css? JSRoyale"
>     >>     > >
>     >>     > > If you use anything from Apache Royale framework you as a
>     >> application
>     >>     > > developer should use JSRoyale.
>     >>     > >
>     >>     > > If you do not use anything from Royale but just writing
> pure AS3
>     >> code or
>     >>     > > maybe with some pure JS stuff - You should use JS.
>     >>     > >
>     >>     > > Does that make more clear ?
>     >>     > >
>     >>     > > Piotr
>     >>     > >
>     >>     > > śr., 12 wrz 2018 o 18:06 Carlos Rovira <
> carlosrovira@apache.org>
>     >>     > > napisał(a):
>     >>     > >
>     >>     > > > Hi,
>     >>     > > >
>     >>     > > > I must to admit that still doesn't understand totally.
> Jewel is
>     >>     > compiling
>     >>     > > > to html and flash (although the later compile but doesn't
> work
>     >> yet).
>     >>     > > AFAIK,
>     >>     > > > we have two targets now flash and html, so if flash is
> SWF,
>     >> what is
>     >>     > > > html/js/css? JSRoyale or JS? and the other what is for?
> I'm
>     >> trying to
>     >>     > > > understand what is what and if we have 3 kind of
> compilations
>     >> but 2
>     >>     > only
>     >>     > > > targets,  why we need the third.
>     >>     > > >
>     >>     > > > Until yesterday, for me we had only SWF and JSRoyale,
> then Josh
>     >> come
>     >>     > with
>     >>     > > > JS that I was not aware of.
>     >>     > > >
>     >>     > > > @Piotr, one things aside, now that you are releasing.
> consider
>     >> that all
>     >>     > > > config xml maybe doesn't have the new libraries like
> Jewel,
>     >> Icons, MX
>     >>     > and
>     >>     > > > Spark, and in themes I see Basic Theme but Jewel Theme
> and the
>     >> rest are
>     >>     > > not
>     >>     > > > listed. I suppose those files should be updated with the
> paths
>     >> of
>     >>     > > manifest
>     >>     > > > to those libraries. Maybe I could be wrong...
>     >>     > > >
>     >>     > > > thanks
>     >>     > > >
>     >>     > > >
>     >>     > > >
>     >>     > > >
>     >>     > > >
>     >>     > > >
>     >>     > > > El mié., 12 sept. 2018 a las 17:57, Piotr Zarzycki (<
>     >>     > > > piotrzarzycki21@gmail.com>) escribió:
>     >>     > > >
>     >>     > > > > JSRoyale is connected with royale-config.xml, so you
>     >> basically can
>     >>     > have
>     >>     > > > in
>     >>     > > > > your project some components from our framework. If you
> put
>     >> JS you
>     >>     > > > probably
>     >>     > > > > got fail because those components will not be
> recognized.
>     >>     > > > >
>     >>     > > > > At least this is how I understand it. :)
>     >>     > > > >
>     >>     > > > > Thanks,
>     >>     > > > > Piotr
>     >>     > > > >
>     >>     > > > > śr., 12 wrz 2018 o 17:52 Carlos Rovira <
>     >> carlosrovira@apache.org>
>     >>     > > > > napisał(a):
>     >>     > > > >
>     >>     > > > > > Hi,
>     >>     > > > > > ok maybe I didn't understand this ok. I though
> JSRoyale was
>     >> old
>     >>     > > config
>     >>     > > > > and
>     >>     > > > > > JS was the new. So if we want a flash and HTML we
> must use
>     >> SWF +
>     >>     > JS,
>     >>     > > if
>     >>     > > > > we
>     >>     > > > > > want only flash use SWF and if we want html we use JS
> only.
>     >> So if
>     >>     > > > > JSRoyale
>     >>     > > > > > and JS are different things what's targeting JSRoyale?
>     >>     > > > > >
>     >>     > > > > > thanks
>     >>     > > > > >
>     >>     > > > > > El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (<
>     >>     > > > > > piotrzarzycki21@gmail.com>) escribió:
>     >>     > > > > >
>     >>     > > > > > > Hi Carlos,
>     >>     > > > > > >
>     >>     > > > > > > As I understand you are using JS in connection with
>     >> appropriate
>     >>     > > > config.
>     >>     > > > > > > However why are you trying to use JS config to build
>     >> Jewel stuff?
>     >>     > > JS
>     >>     > > > is
>     >>     > > > > > > suppose to be used for pure JS projects as far as I
>     >> understand.
>     >>     > > > > > >
>     >>     > > > > > > Thanks,
>     >>     > > > > > > Piotr
>     >>     > > > > > >
>     >>     > > > > > > On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <
>     >>     > > carlosrovira@apache.org
>     >>     > > > >
>     >>     > > > > > > wrote:
>     >>     > > > > > >
>     >>     > > > > > > > Hi I tried JS instead of JSRoyale but I think I
> have
>     >> something
>     >>     > > > wrong
>     >>     > > > > > > > configured in Jewel, JewelTheme and JewelExample.
>     >>     > > > > > > > Josh, could you check this project configurations
> and
>     >> suggest
>     >>     > > what
>     >>     > > > > > could
>     >>     > > > > > > be
>     >>     > > > > > > > the best config for those? If you can, that would
> be
>     >> something
>     >>     > > > like a
>     >>     > > > > > > > "template" to use. In the meanwhile, I'll continue
>     >> building
>     >>     > with
>     >>     > > > > Maven.
>     >>     > > > > > > > thanks in advance
>     >>     > > > > > > >
>     >>     > > > > > > >
>     >>     > > > > > > > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala
> (<
>     >>     > > > > > > joshtynjala@apache.org
>     >>     > > > > > > > >)
>     >>     > > > > > > > escribió:
>     >>     > > > > > > >
>     >>     > > > > > > > > Yeah, it makes sense to use JSRoyale with
>     >> js-config.xml to
>     >>     > > > exclude
>     >>     > > > > > > parts
>     >>     > > > > > > > > of the framework referenced in
> royale-config.xml.
>     >> Unexpected
>     >>     > > > > changes
>     >>     > > > > > to
>     >>     > > > > > > > > js-config.xml in the future could possibly
> cause some
>     >>     > > surprises,
>     >>     > > > > but
>     >>     > > > > > if
>     >>     > > > > > > > > that's probably not a huge risk. This would be a
>     >> decent
>     >>     > > exception
>     >>     > > > > to
>     >>     > > > > > > the
>     >>     > > > > > > > > rule.
>     >>     > > > > > > > >
>     >>     > > > > > > > > - Josh
>     >>     > > > > > > > >
>     >>     > > > > > > > > On 2018/09/11 17:47:41, Alex Harui
>     >> <aharui@adobe.com.INVALID
>     >>     > >
>     >>     > > > > wrote:
>     >>     > > > > > > > > > FWIW, I think the framework swcs are built
> using
>     >> the config
>     >>     > > > Piotr
>     >>     > > > > > is
>     >>     > > > > > > > > using since want JSRoyale output, but we don't
> want
>     >> to assume
>     >>     > > SWC
>     >>     > > > > > > > > dependencies specified in royale-config
> (because we
>     >> are
>     >>     > > building
>     >>     > > > > the
>     >>     > > > > > > SWCs
>     >>     > > > > > > > > in those dependencies).
>     >>     > > > > > > > > >
>     >>     > > > > > > > > > However, you are correct for most SWCs that
>     >> application
>     >>     > > > > developers
>     >>     > > > > > > will
>     >>     > > > > > > > > be building.
>     >>     > > > > > > > > >
>     >>     > > > > > > > > > Of course, I could be wrong...
>     >>     > > > > > > > > > -Alex
>     >>     > > > > > > > > >
>     >>     > > > > > > > > > On 9/11/18, 10:21 AM, "Josh Tynjala" <
>     >>     > > joshtynjala@apache.org>
>     >>     > > > > > > wrote:
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     Hey Piotr,
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     There's something a little strange in your
>     >> compiler
>     >>     > > options
>     >>     > > > > > that
>     >>     > > > > > > > you
>     >>     > > > > > > > > should probably fix:
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     You're specifying JSRoyale and
> js-config.xml
>     >> together,
>     >>     > > but
>     >>     > > > > > these
>     >>     > > > > > > > two
>     >>     > > > > > > > > aren't necessarily compatible. Here's what you
> have
>     >> in your
>     >>     > > > > compiler
>     >>     > > > > > > > > options:
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     -compiler.targets=SWF,JSRoyale
>     >>     > > > > > > > > >
>     >>     > > > >
>     >> -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     However, it should either be this:
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     -compiler.targets=SWF,JSRoyale
>     >>     > > > > > > > > >
>     >>     > > > > > >
>     >>     >
> -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     or maybe this (depending on if you want
> Royale
>     >>     > components
>     >>     > > > or
>     >>     > > > > > pure
>     >>     > > > > > > > > JS):
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     -compiler.targets=SWF,JS
>     >>     > > > > > > > > >
>     >>     > > > >
>     >> -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     Basically, you use JSRoyale with
>     >> royale-config.xml, or
>     >>     > > you
>     >>     > > > > use
>     >>     > > > > > JS
>     >>     > > > > > > > > with js-config.xml. The JSRoyale and JS targets
>     >> produce very
>     >>     > > > > similar
>     >>     > > > > > > > > output, but it's best not to assume that they're
>     >> exactly the
>     >>     > > same
>     >>     > > > > in
>     >>     > > > > > > all
>     >>     > > > > > > > > cases.
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     (As a side note, it's worth mentioning
> that
>     >> there's
>     >>     > also
>     >>     > > > the
>     >>     > > > > > > JSNode
>     >>     > > > > > > > > target that's meant to work with
> node-config.xml.
>     >> JSNode also
>     >>     > > > > > produces
>     >>     > > > > > > > > different output than JSRoyale or JS because it
>     >> generates
>     >>     > code
>     >>     > > > for
>     >>     > > > > > > > Node.js)
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     One last thing. In order to use
>     >>     > -compiler.targets=SWF,JS
>     >>     > > to
>     >>     > > > > > > build a
>     >>     > > > > > > > > SWC, you'll need my compiler changes from
> yesterday.
>     >> For some
>     >>     > > > > reason,
>     >>     > > > > > > > that
>     >>     > > > > > > > > was throwing an exception, while
>     >>     > -compiler.targets=SWF,JSRoyale
>     >>     > > > did
>     >>     > > > > > > not.
>     >>     > > > > > > > I
>     >>     > > > > > > > > suspect that this may be why you were using
> JSRoyale
>     >> instead
>     >>     > of
>     >>     > > > JS,
>     >>     > > > > > but
>     >>     > > > > > > > now
>     >>     > > > > > > > > JS should work too!
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     - Josh
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >     On 2018/09/11 09:45:52, Piotr Zarzycki <
>     >>     > > > > > > piotrzarzycki21@gmail.com>
>     >>     > > > > > > > > wrote:
>     >>     > > > > > > > > >     > Hi Guys,
>     >>     > > > > > > > > >     >
>     >>     > > > > > > > > >     > I'm having difficulties with using
> created
>     >> Royale SWC
>     >>     > > in
>     >>     > > > > some
>     >>     > > > > > > > > project. I
>     >>     > > > > > > > > >     > have two projects. (I've uploaded them
> on
>     >> onedrive so
>     >>     > > you
>     >>     > > > > can
>     >>     > > > > > > try
>     >>     > > > > > > > > it
>     >>     > > > > > > > > >     > yourself).
>     >>     > > > > > > > > >     >
>     >>     > > > > > > > > >     > Using SWF version of prepared swc I'm
> able to
>     >> build
>     >>     > > > project
>     >>     > > > > > > with
>     >>     > > > > > > > > >     > compiler.targets=SWF. Unfortunately
> using JS
>     >> version
>     >>     > of
>     >>     > > > > that
>     >>     > > > > > > SWC
>     >>     > > > > > > > > I'm not
>     >>     > > > > > > > > >     > able to build project with it. [1]
>     >>     > > > > > > > > >     >
>     >>     > > > > > > > > >     > 1. Library itself [2] - It contains
>     >> configurations
>     >>     > > > > > > > > compile-swf-config.xml
>     >>     > > > > > > > > >     > and compile-js-config.xml. Folder "bin"
> has
>     >> swc JS
>     >>     > and
>     >>     > > > SWF
>     >>     > > > > > > > version.
>     >>     > > > > > > > > >     >
>     >>     > > > > > > > > >     > 2. Consumer of library [3] - This one is
>     >> configured
>     >>     > > with
>     >>     > > > > > > > Moonshine
>     >>     > > > > > > > > and
>     >>     > > > > > > > > >     > VSCode.
>     >>     > > > > > > > > >     >
>     >>     > > > > > > > > >     > I'm building JS and SWF version of SWC
> using
>     >>     > following
>     >>     > > > > > command
>     >>     > > > > > > > > lines [4]
>     >>     > > > > > > > > >     >
>     >>     > > > > > > > > >     > Does anyone is seeing what could be
> wrong ?
>     >> Those
>     >>     > > command
>     >>     > > > > > lines
>     >>     > > > > > > > > [4] are
>     >>     > > > > > > > > >     > based on how Royale is building swcs
> Basic,
>     >> Jewel
>     >>     > etc.
>     >>     > > > > > > > > >     >
>     >>     > > > > > > > > >     > [1]
>     >>     > > > > > > > >
>     >>     > > > > > > >
>     >>     > > > > > >
>     >>     > > > > >
>     >>     > > > >
>     >>     > > >
>     >>     > >
>     >>     >
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=cwkRDjIeC0qf3V0sl6rn0ItEx3Beou476i%2BbYzcqflU%3D&amp;reserved=0
>     >>     > > > > > > > > >     > [2]
>     >>     > > > > > > > >
>     >>     > > > > > > >
>     >>     > > > > > >
>     >>     > > > > >
>     >>     > > > >
>     >>     > > >
>     >>     > >
>     >>     >
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=P%2FTFeDE1PkMWksFduqs%2BTfscSak%2BolCiHUoGJaipMkQ%3D&amp;reserved=0
>     >>     > > > > > > > > >     > [3]
>     >>     > > > > > > > >
>     >>     > > > > > > >
>     >>     > > > > > >
>     >>     > > > > >
>     >>     > > > >
>     >>     > > >
>     >>     > >
>     >>     >
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=pIj6j4aTzsmcasFimhMmBTBv59vYFr0pBilsYrlISv8%3D&amp;reserved=0
>     >>     > > > > > > > > >     > [4]
>     >>     > > > > > > > >
>     >>     > > > > > > >
>     >>     > > > > > >
>     >>     > > > > >
>     >>     > > > >
>     >>     > > >
>     >>     > >
>     >>     >
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=m83b1ip%2Bf64khkotL6DBVfAMf0xoxVeFpfYVFbvtm%2B4%3D&amp;reserved=0
>     >>     > > > > > > > > >     >
>     >>     > > > > > > > > >     > Thanks,
>     >>     > > > > > > > > >     > --
>     >>     > > > > > > > > >     >
>     >>     > > > > > > > > >     > Piotr Zarzycki
>     >>     > > > > > > > > >     >
>     >>     > > > > > > > > >     > Patreon: *
>     >>     > > > > > > > >
>     >>     > > > > > > >
>     >>     > > > > > >
>     >>     > > > > >
>     >>     > > > >
>     >>     > > >
>     >>     > >
>     >>     >
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
>     >>     > > > > > > > > >     > <
>     >>     > > > > > > > >
>     >>     > > > > > > >
>     >>     > > > > > >
>     >>     > > > > >
>     >>     > > > >
>     >>     > > >
>     >>     > >
>     >>     >
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
>     >>     > > > > > > > > >*
>     >>     > > > > > > > > >     >
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >
>     >>     > > > > > > > > >
>     >>     > > > > > > > >
>     >>     > > > > > > >
>     >>     > > > > > > >
>     >>     > > > > > > > --
>     >>     > > > > > > > Carlos Rovira
>     >>     > > > > > > >
>     >>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=wXoVhRS7WF77Nbotpk8n9thGAAFjn8lIydd6Qvj%2Fta4%3D&amp;reserved=0
>     >>     > > > > > > >
>     >>     > > > > > >
>     >>     > > > > >
>     >>     > > > > >
>     >>     > > > > > --
>     >>     > > > > > Carlos Rovira
>     >>     > > > > >
>     >>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=wXoVhRS7WF77Nbotpk8n9thGAAFjn8lIydd6Qvj%2Fta4%3D&amp;reserved=0
>     >>     > > > > >
>     >>     > > > >
>     >>     > > > >
>     >>     > > > > --
>     >>     > > > >
>     >>     > > > > Piotr Zarzycki
>     >>     > > > >
>     >>     > > > > Patreon: *
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
>     >>     > > > > <
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
>     >> >*
>     >>     > > > >
>     >>     > > >
>     >>     > > >
>     >>     > > > --
>     >>     > > > Carlos Rovira
>     >>     > > >
>     >>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=wXoVhRS7WF77Nbotpk8n9thGAAFjn8lIydd6Qvj%2Fta4%3D&amp;reserved=0
>     >>     > > >
>     >>     > >
>     >>     > >
>     >>     > > --
>     >>     > >
>     >>     > > Piotr Zarzycki
>     >>     > >
>     >>     > > Patreon: *
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
>     >>     > > <
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
>     >> >*
>     >>     > >
>     >>     >
>     >>     >
>     >>     > --
>     >>     > Carlos Rovira
>     >>     >
>     >>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=wXoVhRS7WF77Nbotpk8n9thGAAFjn8lIydd6Qvj%2Fta4%3D&amp;reserved=0
>     >>     >
>     >>
>     >>
>     >>     --
>     >>
>     >>     Piotr Zarzycki
>     >>
>     >>     Patreon: *
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
>     >>     <
>     >>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
>     >> >*
>     >>
>     >>
>     >>
>     >
>     > --
>     >
>     > Piotr Zarzycki
>     >
>     > Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
>     > <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
> >*
>     >
>
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
>     <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
> >*
>
>
>

-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Alex Harui <ah...@adobe.com.INVALID>.
It looks like the custom swc is on the -library-path.  Does it work if it uses -js-library-path instead?  I though we already discussed this.  If other configs are loaded like royale-config.xml, then I think you want the -js-library-path.

IIRC, the compiler doesn't care if it says 'flex-config" or "royale-config".

HTH,
-Alex

On 9/13/18, 1:01 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

    I noticed that we have in config (link [3]) tag "flex-config" - Can it have
    some impact when Royale is loading it ? Should it be "royale-config"?
    
    czw., 13 wrz 2018 o 09:57 Piotr Zarzycki <pi...@gmail.com>
    napisał(a):
    
    > Hi Alex,
    >
    > During swc build I don't get any errors. When I'm using that swc I got
    > that one [1]. - You can download project from my links to see the code.
    >
    > Here is the options which is being used by the project which consuming
    > that swc [2]. Here is the config [3] which you are seeing in [2].
    >
    > [1]
    > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ferror_compiler.png&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=MbZbBU87tAKpXLVrWFkeuePnztt5%2BZ2I3RcaHzRDHGQ%3D&amp;reserved=0
    > [2] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FvoyL&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=PBAsSA4ariBZhaaEvBSSTr9ortMeWD3JOmEoxoHaY88%3D&amp;reserved=0
    > [3] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FBnHN&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=KunbnOrLy%2BRRu30UUInOcCSoXgPeisyZITTeTZ2n6qE%3D&amp;reserved=0
    >
    > Thanks,
    > Piotr
    >
    >
    > czw., 13 wrz 2018 o 09:51 Alex Harui <ah...@adobe.com.invalid>
    > napisał(a):
    >
    >> Piotr,  what error do you get?  Did you unzip the SWC to see if has the
    >> expected files?  If you get an error using the SWC in the main app, what
    >> options are you using in MXMLC for the main app?
    >>
    >> -Alex
    >>
    >> On 9/13/18, 12:42 AM, "Piotr Zarzycki" <pi...@gmail.com>
    >> wrote:
    >>
    >>     Ok We have a bit miss lead from the main thread which is important to
    >> me
    >>     and probably to other users of Moonshine. In a nut shell I'm not able
    >> to
    >>     use in Royale application SWC which was build as JS only. - In the
    >> other
    >>     words I have in the config COMPILE::JS = true and COMPILE::SWF=false.
    >>
    >>     Commands used for the build are [1]. Can it be problem with compiler ?
    >>
    >>     [1]
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FlXtd&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=M3BSwWJEF2e%2BbnPfXsPFQuzdJRwaXZH5Q%2FEeNehPNE0%3D&amp;reserved=0
    >>
    >>     czw., 13 wrz 2018 o 09:38 Carlos Rovira <ca...@apache.org>
    >>     napisał(a):
    >>
    >>     > Hi Piotr,
    >>     >
    >>     > thanks!, now I understand :)
    >>     >
    >>     > El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
    >>     > piotrzarzycki21@gmail.com>) escribió:
    >>     >
    >>     > > Carlos,
    >>     > >
    >>     > > "I must to admit that still doesn't understand totally. Jewel is
    >>     > compiling
    >>     > > to html and flash (although the later compile but doesn't work
    >> yet).
    >>     > AFAIK,
    >>     > > we have two targets now flash and html, so if flash is SWF, what
    >> is
    >>     > > html/js/css? JSRoyale"
    >>     > >
    >>     > > If you use anything from Apache Royale framework you as a
    >> application
    >>     > > developer should use JSRoyale.
    >>     > >
    >>     > > If you do not use anything from Royale but just writing pure AS3
    >> code or
    >>     > > maybe with some pure JS stuff - You should use JS.
    >>     > >
    >>     > > Does that make more clear ?
    >>     > >
    >>     > > Piotr
    >>     > >
    >>     > > śr., 12 wrz 2018 o 18:06 Carlos Rovira <ca...@apache.org>
    >>     > > napisał(a):
    >>     > >
    >>     > > > Hi,
    >>     > > >
    >>     > > > I must to admit that still doesn't understand totally. Jewel is
    >>     > compiling
    >>     > > > to html and flash (although the later compile but doesn't work
    >> yet).
    >>     > > AFAIK,
    >>     > > > we have two targets now flash and html, so if flash is SWF,
    >> what is
    >>     > > > html/js/css? JSRoyale or JS? and the other what is for? I'm
    >> trying to
    >>     > > > understand what is what and if we have 3 kind of compilations
    >> but 2
    >>     > only
    >>     > > > targets,  why we need the third.
    >>     > > >
    >>     > > > Until yesterday, for me we had only SWF and JSRoyale, then Josh
    >> come
    >>     > with
    >>     > > > JS that I was not aware of.
    >>     > > >
    >>     > > > @Piotr, one things aside, now that you are releasing. consider
    >> that all
    >>     > > > config xml maybe doesn't have the new libraries like Jewel,
    >> Icons, MX
    >>     > and
    >>     > > > Spark, and in themes I see Basic Theme but Jewel Theme and the
    >> rest are
    >>     > > not
    >>     > > > listed. I suppose those files should be updated with the paths
    >> of
    >>     > > manifest
    >>     > > > to those libraries. Maybe I could be wrong...
    >>     > > >
    >>     > > > thanks
    >>     > > >
    >>     > > >
    >>     > > >
    >>     > > >
    >>     > > >
    >>     > > >
    >>     > > > El mié., 12 sept. 2018 a las 17:57, Piotr Zarzycki (<
    >>     > > > piotrzarzycki21@gmail.com>) escribió:
    >>     > > >
    >>     > > > > JSRoyale is connected with royale-config.xml, so you
    >> basically can
    >>     > have
    >>     > > > in
    >>     > > > > your project some components from our framework. If you put
    >> JS you
    >>     > > > probably
    >>     > > > > got fail because those components will not be recognized.
    >>     > > > >
    >>     > > > > At least this is how I understand it. :)
    >>     > > > >
    >>     > > > > Thanks,
    >>     > > > > Piotr
    >>     > > > >
    >>     > > > > śr., 12 wrz 2018 o 17:52 Carlos Rovira <
    >> carlosrovira@apache.org>
    >>     > > > > napisał(a):
    >>     > > > >
    >>     > > > > > Hi,
    >>     > > > > > ok maybe I didn't understand this ok. I though JSRoyale was
    >> old
    >>     > > config
    >>     > > > > and
    >>     > > > > > JS was the new. So if we want a flash and HTML we must use
    >> SWF +
    >>     > JS,
    >>     > > if
    >>     > > > > we
    >>     > > > > > want only flash use SWF and if we want html we use JS only.
    >> So if
    >>     > > > > JSRoyale
    >>     > > > > > and JS are different things what's targeting JSRoyale?
    >>     > > > > >
    >>     > > > > > thanks
    >>     > > > > >
    >>     > > > > > El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (<
    >>     > > > > > piotrzarzycki21@gmail.com>) escribió:
    >>     > > > > >
    >>     > > > > > > Hi Carlos,
    >>     > > > > > >
    >>     > > > > > > As I understand you are using JS in connection with
    >> appropriate
    >>     > > > config.
    >>     > > > > > > However why are you trying to use JS config to build
    >> Jewel stuff?
    >>     > > JS
    >>     > > > is
    >>     > > > > > > suppose to be used for pure JS projects as far as I
    >> understand.
    >>     > > > > > >
    >>     > > > > > > Thanks,
    >>     > > > > > > Piotr
    >>     > > > > > >
    >>     > > > > > > On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <
    >>     > > carlosrovira@apache.org
    >>     > > > >
    >>     > > > > > > wrote:
    >>     > > > > > >
    >>     > > > > > > > Hi I tried JS instead of JSRoyale but I think I have
    >> something
    >>     > > > wrong
    >>     > > > > > > > configured in Jewel, JewelTheme and JewelExample.
    >>     > > > > > > > Josh, could you check this project configurations and
    >> suggest
    >>     > > what
    >>     > > > > > could
    >>     > > > > > > be
    >>     > > > > > > > the best config for those? If you can, that would be
    >> something
    >>     > > > like a
    >>     > > > > > > > "template" to use. In the meanwhile, I'll continue
    >> building
    >>     > with
    >>     > > > > Maven.
    >>     > > > > > > > thanks in advance
    >>     > > > > > > >
    >>     > > > > > > >
    >>     > > > > > > > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<
    >>     > > > > > > joshtynjala@apache.org
    >>     > > > > > > > >)
    >>     > > > > > > > escribió:
    >>     > > > > > > >
    >>     > > > > > > > > Yeah, it makes sense to use JSRoyale with
    >> js-config.xml to
    >>     > > > exclude
    >>     > > > > > > parts
    >>     > > > > > > > > of the framework referenced in royale-config.xml.
    >> Unexpected
    >>     > > > > changes
    >>     > > > > > to
    >>     > > > > > > > > js-config.xml in the future could possibly cause some
    >>     > > surprises,
    >>     > > > > but
    >>     > > > > > if
    >>     > > > > > > > > that's probably not a huge risk. This would be a
    >> decent
    >>     > > exception
    >>     > > > > to
    >>     > > > > > > the
    >>     > > > > > > > > rule.
    >>     > > > > > > > >
    >>     > > > > > > > > - Josh
    >>     > > > > > > > >
    >>     > > > > > > > > On 2018/09/11 17:47:41, Alex Harui
    >> <aharui@adobe.com.INVALID
    >>     > >
    >>     > > > > wrote:
    >>     > > > > > > > > > FWIW, I think the framework swcs are built using
    >> the config
    >>     > > > Piotr
    >>     > > > > > is
    >>     > > > > > > > > using since want JSRoyale output, but we don't want
    >> to assume
    >>     > > SWC
    >>     > > > > > > > > dependencies specified in royale-config (because we
    >> are
    >>     > > building
    >>     > > > > the
    >>     > > > > > > SWCs
    >>     > > > > > > > > in those dependencies).
    >>     > > > > > > > > >
    >>     > > > > > > > > > However, you are correct for most SWCs that
    >> application
    >>     > > > > developers
    >>     > > > > > > will
    >>     > > > > > > > > be building.
    >>     > > > > > > > > >
    >>     > > > > > > > > > Of course, I could be wrong...
    >>     > > > > > > > > > -Alex
    >>     > > > > > > > > >
    >>     > > > > > > > > > On 9/11/18, 10:21 AM, "Josh Tynjala" <
    >>     > > joshtynjala@apache.org>
    >>     > > > > > > wrote:
    >>     > > > > > > > > >
    >>     > > > > > > > > >     Hey Piotr,
    >>     > > > > > > > > >
    >>     > > > > > > > > >     There's something a little strange in your
    >> compiler
    >>     > > options
    >>     > > > > > that
    >>     > > > > > > > you
    >>     > > > > > > > > should probably fix:
    >>     > > > > > > > > >
    >>     > > > > > > > > >     You're specifying JSRoyale and js-config.xml
    >> together,
    >>     > > but
    >>     > > > > > these
    >>     > > > > > > > two
    >>     > > > > > > > > aren't necessarily compatible. Here's what you have
    >> in your
    >>     > > > > compiler
    >>     > > > > > > > > options:
    >>     > > > > > > > > >
    >>     > > > > > > > > >     -compiler.targets=SWF,JSRoyale
    >>     > > > > > > > > >
    >>     > > > >
    >> -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
    >>     > > > > > > > > >
    >>     > > > > > > > > >     However, it should either be this:
    >>     > > > > > > > > >
    >>     > > > > > > > > >     -compiler.targets=SWF,JSRoyale
    >>     > > > > > > > > >
    >>     > > > > > >
    >>     > -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
    >>     > > > > > > > > >
    >>     > > > > > > > > >     or maybe this (depending on if you want Royale
    >>     > components
    >>     > > > or
    >>     > > > > > pure
    >>     > > > > > > > > JS):
    >>     > > > > > > > > >
    >>     > > > > > > > > >     -compiler.targets=SWF,JS
    >>     > > > > > > > > >
    >>     > > > >
    >> -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
    >>     > > > > > > > > >
    >>     > > > > > > > > >     Basically, you use JSRoyale with
    >> royale-config.xml, or
    >>     > > you
    >>     > > > > use
    >>     > > > > > JS
    >>     > > > > > > > > with js-config.xml. The JSRoyale and JS targets
    >> produce very
    >>     > > > > similar
    >>     > > > > > > > > output, but it's best not to assume that they're
    >> exactly the
    >>     > > same
    >>     > > > > in
    >>     > > > > > > all
    >>     > > > > > > > > cases.
    >>     > > > > > > > > >
    >>     > > > > > > > > >     (As a side note, it's worth mentioning that
    >> there's
    >>     > also
    >>     > > > the
    >>     > > > > > > JSNode
    >>     > > > > > > > > target that's meant to work with node-config.xml.
    >> JSNode also
    >>     > > > > > produces
    >>     > > > > > > > > different output than JSRoyale or JS because it
    >> generates
    >>     > code
    >>     > > > for
    >>     > > > > > > > Node.js)
    >>     > > > > > > > > >
    >>     > > > > > > > > >     One last thing. In order to use
    >>     > -compiler.targets=SWF,JS
    >>     > > to
    >>     > > > > > > build a
    >>     > > > > > > > > SWC, you'll need my compiler changes from yesterday.
    >> For some
    >>     > > > > reason,
    >>     > > > > > > > that
    >>     > > > > > > > > was throwing an exception, while
    >>     > -compiler.targets=SWF,JSRoyale
    >>     > > > did
    >>     > > > > > > not.
    >>     > > > > > > > I
    >>     > > > > > > > > suspect that this may be why you were using JSRoyale
    >> instead
    >>     > of
    >>     > > > JS,
    >>     > > > > > but
    >>     > > > > > > > now
    >>     > > > > > > > > JS should work too!
    >>     > > > > > > > > >
    >>     > > > > > > > > >     - Josh
    >>     > > > > > > > > >
    >>     > > > > > > > > >     On 2018/09/11 09:45:52, Piotr Zarzycki <
    >>     > > > > > > piotrzarzycki21@gmail.com>
    >>     > > > > > > > > wrote:
    >>     > > > > > > > > >     > Hi Guys,
    >>     > > > > > > > > >     >
    >>     > > > > > > > > >     > I'm having difficulties with using created
    >> Royale SWC
    >>     > > in
    >>     > > > > some
    >>     > > > > > > > > project. I
    >>     > > > > > > > > >     > have two projects. (I've uploaded them on
    >> onedrive so
    >>     > > you
    >>     > > > > can
    >>     > > > > > > try
    >>     > > > > > > > > it
    >>     > > > > > > > > >     > yourself).
    >>     > > > > > > > > >     >
    >>     > > > > > > > > >     > Using SWF version of prepared swc I'm able to
    >> build
    >>     > > > project
    >>     > > > > > > with
    >>     > > > > > > > > >     > compiler.targets=SWF. Unfortunately using JS
    >> version
    >>     > of
    >>     > > > > that
    >>     > > > > > > SWC
    >>     > > > > > > > > I'm not
    >>     > > > > > > > > >     > able to build project with it. [1]
    >>     > > > > > > > > >     >
    >>     > > > > > > > > >     > 1. Library itself [2] - It contains
    >> configurations
    >>     > > > > > > > > compile-swf-config.xml
    >>     > > > > > > > > >     > and compile-js-config.xml. Folder "bin" has
    >> swc JS
    >>     > and
    >>     > > > SWF
    >>     > > > > > > > version.
    >>     > > > > > > > > >     >
    >>     > > > > > > > > >     > 2. Consumer of library [3] - This one is
    >> configured
    >>     > > with
    >>     > > > > > > > Moonshine
    >>     > > > > > > > > and
    >>     > > > > > > > > >     > VSCode.
    >>     > > > > > > > > >     >
    >>     > > > > > > > > >     > I'm building JS and SWF version of SWC using
    >>     > following
    >>     > > > > > command
    >>     > > > > > > > > lines [4]
    >>     > > > > > > > > >     >
    >>     > > > > > > > > >     > Does anyone is seeing what could be wrong ?
    >> Those
    >>     > > command
    >>     > > > > > lines
    >>     > > > > > > > > [4] are
    >>     > > > > > > > > >     > based on how Royale is building swcs Basic,
    >> Jewel
    >>     > etc.
    >>     > > > > > > > > >     >
    >>     > > > > > > > > >     > [1]
    >>     > > > > > > > >
    >>     > > > > > > >
    >>     > > > > > >
    >>     > > > > >
    >>     > > > >
    >>     > > >
    >>     > >
    >>     >
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=cwkRDjIeC0qf3V0sl6rn0ItEx3Beou476i%2BbYzcqflU%3D&amp;reserved=0
    >>     > > > > > > > > >     > [2]
    >>     > > > > > > > >
    >>     > > > > > > >
    >>     > > > > > >
    >>     > > > > >
    >>     > > > >
    >>     > > >
    >>     > >
    >>     >
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=P%2FTFeDE1PkMWksFduqs%2BTfscSak%2BolCiHUoGJaipMkQ%3D&amp;reserved=0
    >>     > > > > > > > > >     > [3]
    >>     > > > > > > > >
    >>     > > > > > > >
    >>     > > > > > >
    >>     > > > > >
    >>     > > > >
    >>     > > >
    >>     > >
    >>     >
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=pIj6j4aTzsmcasFimhMmBTBv59vYFr0pBilsYrlISv8%3D&amp;reserved=0
    >>     > > > > > > > > >     > [4]
    >>     > > > > > > > >
    >>     > > > > > > >
    >>     > > > > > >
    >>     > > > > >
    >>     > > > >
    >>     > > >
    >>     > >
    >>     >
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=m83b1ip%2Bf64khkotL6DBVfAMf0xoxVeFpfYVFbvtm%2B4%3D&amp;reserved=0
    >>     > > > > > > > > >     >
    >>     > > > > > > > > >     > Thanks,
    >>     > > > > > > > > >     > --
    >>     > > > > > > > > >     >
    >>     > > > > > > > > >     > Piotr Zarzycki
    >>     > > > > > > > > >     >
    >>     > > > > > > > > >     > Patreon: *
    >>     > > > > > > > >
    >>     > > > > > > >
    >>     > > > > > >
    >>     > > > > >
    >>     > > > >
    >>     > > >
    >>     > >
    >>     >
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
    >>     > > > > > > > > >     > <
    >>     > > > > > > > >
    >>     > > > > > > >
    >>     > > > > > >
    >>     > > > > >
    >>     > > > >
    >>     > > >
    >>     > >
    >>     >
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
    >>     > > > > > > > > >*
    >>     > > > > > > > > >     >
    >>     > > > > > > > > >
    >>     > > > > > > > > >
    >>     > > > > > > > > >
    >>     > > > > > > > >
    >>     > > > > > > >
    >>     > > > > > > >
    >>     > > > > > > > --
    >>     > > > > > > > Carlos Rovira
    >>     > > > > > > >
    >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=wXoVhRS7WF77Nbotpk8n9thGAAFjn8lIydd6Qvj%2Fta4%3D&amp;reserved=0
    >>     > > > > > > >
    >>     > > > > > >
    >>     > > > > >
    >>     > > > > >
    >>     > > > > > --
    >>     > > > > > Carlos Rovira
    >>     > > > > >
    >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=wXoVhRS7WF77Nbotpk8n9thGAAFjn8lIydd6Qvj%2Fta4%3D&amp;reserved=0
    >>     > > > > >
    >>     > > > >
    >>     > > > >
    >>     > > > > --
    >>     > > > >
    >>     > > > > Piotr Zarzycki
    >>     > > > >
    >>     > > > > Patreon: *
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
    >>     > > > > <
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
    >> >*
    >>     > > > >
    >>     > > >
    >>     > > >
    >>     > > > --
    >>     > > > Carlos Rovira
    >>     > > >
    >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=wXoVhRS7WF77Nbotpk8n9thGAAFjn8lIydd6Qvj%2Fta4%3D&amp;reserved=0
    >>     > > >
    >>     > >
    >>     > >
    >>     > > --
    >>     > >
    >>     > > Piotr Zarzycki
    >>     > >
    >>     > > Patreon: *
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
    >>     > > <
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
    >> >*
    >>     > >
    >>     >
    >>     >
    >>     > --
    >>     > Carlos Rovira
    >>     >
    >> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=wXoVhRS7WF77Nbotpk8n9thGAAFjn8lIydd6Qvj%2Fta4%3D&amp;reserved=0
    >>     >
    >>
    >>
    >>     --
    >>
    >>     Piotr Zarzycki
    >>
    >>     Patreon: *
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
    >>     <
    >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
    >> >*
    >>
    >>
    >>
    >
    > --
    >
    > Piotr Zarzycki
    >
    > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
    > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0>*
    >
    
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0
    <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274&amp;sdata=CFU5roqXkrLVRXNFKmm5gKwEtF8vkj6QrkZU84W2Ub8%3D&amp;reserved=0>*
    


Re: Difficulties with using in project JS version of Royale swc

Posted by Piotr Zarzycki <pi...@gmail.com>.
I noticed that we have in config (link [3]) tag "flex-config" - Can it have
some impact when Royale is loading it ? Should it be "royale-config"?

czw., 13 wrz 2018 o 09:57 Piotr Zarzycki <pi...@gmail.com>
napisał(a):

> Hi Alex,
>
> During swc build I don't get any errors. When I'm using that swc I got
> that one [1]. - You can download project from my links to see the code.
>
> Here is the options which is being used by the project which consuming
> that swc [2]. Here is the config [3] which you are seeing in [2].
>
> [1]
> http://apache-royale-development.20373.n8.nabble.com/file/t1/error_compiler.png
> [2] https://paste.apache.org/voyL
> [3] https://paste.apache.org/BnHN
>
> Thanks,
> Piotr
>
>
> czw., 13 wrz 2018 o 09:51 Alex Harui <ah...@adobe.com.invalid>
> napisał(a):
>
>> Piotr,  what error do you get?  Did you unzip the SWC to see if has the
>> expected files?  If you get an error using the SWC in the main app, what
>> options are you using in MXMLC for the main app?
>>
>> -Alex
>>
>> On 9/13/18, 12:42 AM, "Piotr Zarzycki" <pi...@gmail.com>
>> wrote:
>>
>>     Ok We have a bit miss lead from the main thread which is important to
>> me
>>     and probably to other users of Moonshine. In a nut shell I'm not able
>> to
>>     use in Royale application SWC which was build as JS only. - In the
>> other
>>     words I have in the config COMPILE::JS = true and COMPILE::SWF=false.
>>
>>     Commands used for the build are [1]. Can it be problem with compiler ?
>>
>>     [1]
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FlXtd&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258501681&amp;sdata=8nUMt8fyyL5fXhilc2Apf4FFmoicdAgxefU5IsVYcW0%3D&amp;reserved=0
>>
>>     czw., 13 wrz 2018 o 09:38 Carlos Rovira <ca...@apache.org>
>>     napisał(a):
>>
>>     > Hi Piotr,
>>     >
>>     > thanks!, now I understand :)
>>     >
>>     > El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
>>     > piotrzarzycki21@gmail.com>) escribió:
>>     >
>>     > > Carlos,
>>     > >
>>     > > "I must to admit that still doesn't understand totally. Jewel is
>>     > compiling
>>     > > to html and flash (although the later compile but doesn't work
>> yet).
>>     > AFAIK,
>>     > > we have two targets now flash and html, so if flash is SWF, what
>> is
>>     > > html/js/css? JSRoyale"
>>     > >
>>     > > If you use anything from Apache Royale framework you as a
>> application
>>     > > developer should use JSRoyale.
>>     > >
>>     > > If you do not use anything from Royale but just writing pure AS3
>> code or
>>     > > maybe with some pure JS stuff - You should use JS.
>>     > >
>>     > > Does that make more clear ?
>>     > >
>>     > > Piotr
>>     > >
>>     > > śr., 12 wrz 2018 o 18:06 Carlos Rovira <ca...@apache.org>
>>     > > napisał(a):
>>     > >
>>     > > > Hi,
>>     > > >
>>     > > > I must to admit that still doesn't understand totally. Jewel is
>>     > compiling
>>     > > > to html and flash (although the later compile but doesn't work
>> yet).
>>     > > AFAIK,
>>     > > > we have two targets now flash and html, so if flash is SWF,
>> what is
>>     > > > html/js/css? JSRoyale or JS? and the other what is for? I'm
>> trying to
>>     > > > understand what is what and if we have 3 kind of compilations
>> but 2
>>     > only
>>     > > > targets,  why we need the third.
>>     > > >
>>     > > > Until yesterday, for me we had only SWF and JSRoyale, then Josh
>> come
>>     > with
>>     > > > JS that I was not aware of.
>>     > > >
>>     > > > @Piotr, one things aside, now that you are releasing. consider
>> that all
>>     > > > config xml maybe doesn't have the new libraries like Jewel,
>> Icons, MX
>>     > and
>>     > > > Spark, and in themes I see Basic Theme but Jewel Theme and the
>> rest are
>>     > > not
>>     > > > listed. I suppose those files should be updated with the paths
>> of
>>     > > manifest
>>     > > > to those libraries. Maybe I could be wrong...
>>     > > >
>>     > > > thanks
>>     > > >
>>     > > >
>>     > > >
>>     > > >
>>     > > >
>>     > > >
>>     > > > El mié., 12 sept. 2018 a las 17:57, Piotr Zarzycki (<
>>     > > > piotrzarzycki21@gmail.com>) escribió:
>>     > > >
>>     > > > > JSRoyale is connected with royale-config.xml, so you
>> basically can
>>     > have
>>     > > > in
>>     > > > > your project some components from our framework. If you put
>> JS you
>>     > > > probably
>>     > > > > got fail because those components will not be recognized.
>>     > > > >
>>     > > > > At least this is how I understand it. :)
>>     > > > >
>>     > > > > Thanks,
>>     > > > > Piotr
>>     > > > >
>>     > > > > śr., 12 wrz 2018 o 17:52 Carlos Rovira <
>> carlosrovira@apache.org>
>>     > > > > napisał(a):
>>     > > > >
>>     > > > > > Hi,
>>     > > > > > ok maybe I didn't understand this ok. I though JSRoyale was
>> old
>>     > > config
>>     > > > > and
>>     > > > > > JS was the new. So if we want a flash and HTML we must use
>> SWF +
>>     > JS,
>>     > > if
>>     > > > > we
>>     > > > > > want only flash use SWF and if we want html we use JS only.
>> So if
>>     > > > > JSRoyale
>>     > > > > > and JS are different things what's targeting JSRoyale?
>>     > > > > >
>>     > > > > > thanks
>>     > > > > >
>>     > > > > > El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (<
>>     > > > > > piotrzarzycki21@gmail.com>) escribió:
>>     > > > > >
>>     > > > > > > Hi Carlos,
>>     > > > > > >
>>     > > > > > > As I understand you are using JS in connection with
>> appropriate
>>     > > > config.
>>     > > > > > > However why are you trying to use JS config to build
>> Jewel stuff?
>>     > > JS
>>     > > > is
>>     > > > > > > suppose to be used for pure JS projects as far as I
>> understand.
>>     > > > > > >
>>     > > > > > > Thanks,
>>     > > > > > > Piotr
>>     > > > > > >
>>     > > > > > > On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <
>>     > > carlosrovira@apache.org
>>     > > > >
>>     > > > > > > wrote:
>>     > > > > > >
>>     > > > > > > > Hi I tried JS instead of JSRoyale but I think I have
>> something
>>     > > > wrong
>>     > > > > > > > configured in Jewel, JewelTheme and JewelExample.
>>     > > > > > > > Josh, could you check this project configurations and
>> suggest
>>     > > what
>>     > > > > > could
>>     > > > > > > be
>>     > > > > > > > the best config for those? If you can, that would be
>> something
>>     > > > like a
>>     > > > > > > > "template" to use. In the meanwhile, I'll continue
>> building
>>     > with
>>     > > > > Maven.
>>     > > > > > > > thanks in advance
>>     > > > > > > >
>>     > > > > > > >
>>     > > > > > > > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<
>>     > > > > > > joshtynjala@apache.org
>>     > > > > > > > >)
>>     > > > > > > > escribió:
>>     > > > > > > >
>>     > > > > > > > > Yeah, it makes sense to use JSRoyale with
>> js-config.xml to
>>     > > > exclude
>>     > > > > > > parts
>>     > > > > > > > > of the framework referenced in royale-config.xml.
>> Unexpected
>>     > > > > changes
>>     > > > > > to
>>     > > > > > > > > js-config.xml in the future could possibly cause some
>>     > > surprises,
>>     > > > > but
>>     > > > > > if
>>     > > > > > > > > that's probably not a huge risk. This would be a
>> decent
>>     > > exception
>>     > > > > to
>>     > > > > > > the
>>     > > > > > > > > rule.
>>     > > > > > > > >
>>     > > > > > > > > - Josh
>>     > > > > > > > >
>>     > > > > > > > > On 2018/09/11 17:47:41, Alex Harui
>> <aharui@adobe.com.INVALID
>>     > >
>>     > > > > wrote:
>>     > > > > > > > > > FWIW, I think the framework swcs are built using
>> the config
>>     > > > Piotr
>>     > > > > > is
>>     > > > > > > > > using since want JSRoyale output, but we don't want
>> to assume
>>     > > SWC
>>     > > > > > > > > dependencies specified in royale-config (because we
>> are
>>     > > building
>>     > > > > the
>>     > > > > > > SWCs
>>     > > > > > > > > in those dependencies).
>>     > > > > > > > > >
>>     > > > > > > > > > However, you are correct for most SWCs that
>> application
>>     > > > > developers
>>     > > > > > > will
>>     > > > > > > > > be building.
>>     > > > > > > > > >
>>     > > > > > > > > > Of course, I could be wrong...
>>     > > > > > > > > > -Alex
>>     > > > > > > > > >
>>     > > > > > > > > > On 9/11/18, 10:21 AM, "Josh Tynjala" <
>>     > > joshtynjala@apache.org>
>>     > > > > > > wrote:
>>     > > > > > > > > >
>>     > > > > > > > > >     Hey Piotr,
>>     > > > > > > > > >
>>     > > > > > > > > >     There's something a little strange in your
>> compiler
>>     > > options
>>     > > > > > that
>>     > > > > > > > you
>>     > > > > > > > > should probably fix:
>>     > > > > > > > > >
>>     > > > > > > > > >     You're specifying JSRoyale and js-config.xml
>> together,
>>     > > but
>>     > > > > > these
>>     > > > > > > > two
>>     > > > > > > > > aren't necessarily compatible. Here's what you have
>> in your
>>     > > > > compiler
>>     > > > > > > > > options:
>>     > > > > > > > > >
>>     > > > > > > > > >     -compiler.targets=SWF,JSRoyale
>>     > > > > > > > > >
>>     > > > >
>> -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
>>     > > > > > > > > >
>>     > > > > > > > > >     However, it should either be this:
>>     > > > > > > > > >
>>     > > > > > > > > >     -compiler.targets=SWF,JSRoyale
>>     > > > > > > > > >
>>     > > > > > >
>>     > -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
>>     > > > > > > > > >
>>     > > > > > > > > >     or maybe this (depending on if you want Royale
>>     > components
>>     > > > or
>>     > > > > > pure
>>     > > > > > > > > JS):
>>     > > > > > > > > >
>>     > > > > > > > > >     -compiler.targets=SWF,JS
>>     > > > > > > > > >
>>     > > > >
>> -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
>>     > > > > > > > > >
>>     > > > > > > > > >     Basically, you use JSRoyale with
>> royale-config.xml, or
>>     > > you
>>     > > > > use
>>     > > > > > JS
>>     > > > > > > > > with js-config.xml. The JSRoyale and JS targets
>> produce very
>>     > > > > similar
>>     > > > > > > > > output, but it's best not to assume that they're
>> exactly the
>>     > > same
>>     > > > > in
>>     > > > > > > all
>>     > > > > > > > > cases.
>>     > > > > > > > > >
>>     > > > > > > > > >     (As a side note, it's worth mentioning that
>> there's
>>     > also
>>     > > > the
>>     > > > > > > JSNode
>>     > > > > > > > > target that's meant to work with node-config.xml.
>> JSNode also
>>     > > > > > produces
>>     > > > > > > > > different output than JSRoyale or JS because it
>> generates
>>     > code
>>     > > > for
>>     > > > > > > > Node.js)
>>     > > > > > > > > >
>>     > > > > > > > > >     One last thing. In order to use
>>     > -compiler.targets=SWF,JS
>>     > > to
>>     > > > > > > build a
>>     > > > > > > > > SWC, you'll need my compiler changes from yesterday.
>> For some
>>     > > > > reason,
>>     > > > > > > > that
>>     > > > > > > > > was throwing an exception, while
>>     > -compiler.targets=SWF,JSRoyale
>>     > > > did
>>     > > > > > > not.
>>     > > > > > > > I
>>     > > > > > > > > suspect that this may be why you were using JSRoyale
>> instead
>>     > of
>>     > > > JS,
>>     > > > > > but
>>     > > > > > > > now
>>     > > > > > > > > JS should work too!
>>     > > > > > > > > >
>>     > > > > > > > > >     - Josh
>>     > > > > > > > > >
>>     > > > > > > > > >     On 2018/09/11 09:45:52, Piotr Zarzycki <
>>     > > > > > > piotrzarzycki21@gmail.com>
>>     > > > > > > > > wrote:
>>     > > > > > > > > >     > Hi Guys,
>>     > > > > > > > > >     >
>>     > > > > > > > > >     > I'm having difficulties with using created
>> Royale SWC
>>     > > in
>>     > > > > some
>>     > > > > > > > > project. I
>>     > > > > > > > > >     > have two projects. (I've uploaded them on
>> onedrive so
>>     > > you
>>     > > > > can
>>     > > > > > > try
>>     > > > > > > > > it
>>     > > > > > > > > >     > yourself).
>>     > > > > > > > > >     >
>>     > > > > > > > > >     > Using SWF version of prepared swc I'm able to
>> build
>>     > > > project
>>     > > > > > > with
>>     > > > > > > > > >     > compiler.targets=SWF. Unfortunately using JS
>> version
>>     > of
>>     > > > > that
>>     > > > > > > SWC
>>     > > > > > > > > I'm not
>>     > > > > > > > > >     > able to build project with it. [1]
>>     > > > > > > > > >     >
>>     > > > > > > > > >     > 1. Library itself [2] - It contains
>> configurations
>>     > > > > > > > > compile-swf-config.xml
>>     > > > > > > > > >     > and compile-js-config.xml. Folder "bin" has
>> swc JS
>>     > and
>>     > > > SWF
>>     > > > > > > > version.
>>     > > > > > > > > >     >
>>     > > > > > > > > >     > 2. Consumer of library [3] - This one is
>> configured
>>     > > with
>>     > > > > > > > Moonshine
>>     > > > > > > > > and
>>     > > > > > > > > >     > VSCode.
>>     > > > > > > > > >     >
>>     > > > > > > > > >     > I'm building JS and SWF version of SWC using
>>     > following
>>     > > > > > command
>>     > > > > > > > > lines [4]
>>     > > > > > > > > >     >
>>     > > > > > > > > >     > Does anyone is seeing what could be wrong ?
>> Those
>>     > > command
>>     > > > > > lines
>>     > > > > > > > > [4] are
>>     > > > > > > > > >     > based on how Royale is building swcs Basic,
>> Jewel
>>     > etc.
>>     > > > > > > > > >     >
>>     > > > > > > > > >     > [1]
>>     > > > > > > > >
>>     > > > > > > >
>>     > > > > > >
>>     > > > > >
>>     > > > >
>>     > > >
>>     > >
>>     >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258501681&amp;sdata=ac1EoxHr76KBjZD%2FiT2K7gfuDk%2FIB6YhHaqMcK6Tpho%3D&amp;reserved=0
>>     > > > > > > > > >     > [2]
>>     > > > > > > > >
>>     > > > > > > >
>>     > > > > > >
>>     > > > > >
>>     > > > >
>>     > > >
>>     > >
>>     >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=DOXlEBWniJB1fOnRVINGEd4RQm0fDvNV98OmqnCqw9w%3D&amp;reserved=0
>>     > > > > > > > > >     > [3]
>>     > > > > > > > >
>>     > > > > > > >
>>     > > > > > >
>>     > > > > >
>>     > > > >
>>     > > >
>>     > >
>>     >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QqEMxNOk7k%2FgyZxaksCHIqel9Ftl3mWRMfpz3d%2BqAZ0%3D&amp;reserved=0
>>     > > > > > > > > >     > [4]
>>     > > > > > > > >
>>     > > > > > > >
>>     > > > > > >
>>     > > > > >
>>     > > > >
>>     > > >
>>     > >
>>     >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=qkYLOLioUygBnF4FsFjdxhhC6zK2NCWlHb9E9MFuWLU%3D&amp;reserved=0
>>     > > > > > > > > >     >
>>     > > > > > > > > >     > Thanks,
>>     > > > > > > > > >     > --
>>     > > > > > > > > >     >
>>     > > > > > > > > >     > Piotr Zarzycki
>>     > > > > > > > > >     >
>>     > > > > > > > > >     > Patreon: *
>>     > > > > > > > >
>>     > > > > > > >
>>     > > > > > >
>>     > > > > >
>>     > > > >
>>     > > >
>>     > >
>>     >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>>     > > > > > > > > >     > <
>>     > > > > > > > >
>>     > > > > > > >
>>     > > > > > >
>>     > > > > >
>>     > > > >
>>     > > >
>>     > >
>>     >
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>>     > > > > > > > > >*
>>     > > > > > > > > >     >
>>     > > > > > > > > >
>>     > > > > > > > > >
>>     > > > > > > > > >
>>     > > > > > > > >
>>     > > > > > > >
>>     > > > > > > >
>>     > > > > > > > --
>>     > > > > > > > Carlos Rovira
>>     > > > > > > >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
>>     > > > > > > >
>>     > > > > > >
>>     > > > > >
>>     > > > > >
>>     > > > > > --
>>     > > > > > Carlos Rovira
>>     > > > > >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
>>     > > > > >
>>     > > > >
>>     > > > >
>>     > > > > --
>>     > > > >
>>     > > > > Piotr Zarzycki
>>     > > > >
>>     > > > > Patreon: *
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>>     > > > > <
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>> >*
>>     > > > >
>>     > > >
>>     > > >
>>     > > > --
>>     > > > Carlos Rovira
>>     > > >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
>>     > > >
>>     > >
>>     > >
>>     > > --
>>     > >
>>     > > Piotr Zarzycki
>>     > >
>>     > > Patreon: *
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>>     > > <
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>> >*
>>     > >
>>     >
>>     >
>>     > --
>>     > Carlos Rovira
>>     >
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
>>     >
>>
>>
>>     --
>>
>>     Piotr Zarzycki
>>
>>     Patreon: *
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>>     <
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258521700&amp;sdata=jYQHvCnwibVRbFsEOB8oP7DcLkeRruOsdE99CyGuKa4%3D&amp;reserved=0
>> >*
>>
>>
>>
>
> --
>
> 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: Difficulties with using in project JS version of Royale swc

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

During swc build I don't get any errors. When I'm using that swc I got that
one [1]. - You can download project from my links to see the code.

Here is the options which is being used by the project which consuming that
swc [2]. Here is the config [3] which you are seeing in [2].

[1]
http://apache-royale-development.20373.n8.nabble.com/file/t1/error_compiler.png
[2] https://paste.apache.org/voyL
[3] https://paste.apache.org/BnHN

Thanks,
Piotr


czw., 13 wrz 2018 o 09:51 Alex Harui <ah...@adobe.com.invalid> napisał(a):

> Piotr,  what error do you get?  Did you unzip the SWC to see if has the
> expected files?  If you get an error using the SWC in the main app, what
> options are you using in MXMLC for the main app?
>
> -Alex
>
> On 9/13/18, 12:42 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
>     Ok We have a bit miss lead from the main thread which is important to
> me
>     and probably to other users of Moonshine. In a nut shell I'm not able
> to
>     use in Royale application SWC which was build as JS only. - In the
> other
>     words I have in the config COMPILE::JS = true and COMPILE::SWF=false.
>
>     Commands used for the build are [1]. Can it be problem with compiler ?
>
>     [1]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FlXtd&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258501681&amp;sdata=8nUMt8fyyL5fXhilc2Apf4FFmoicdAgxefU5IsVYcW0%3D&amp;reserved=0
>
>     czw., 13 wrz 2018 o 09:38 Carlos Rovira <ca...@apache.org>
>     napisał(a):
>
>     > Hi Piotr,
>     >
>     > thanks!, now I understand :)
>     >
>     > El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
>     > piotrzarzycki21@gmail.com>) escribió:
>     >
>     > > Carlos,
>     > >
>     > > "I must to admit that still doesn't understand totally. Jewel is
>     > compiling
>     > > to html and flash (although the later compile but doesn't work
> yet).
>     > AFAIK,
>     > > we have two targets now flash and html, so if flash is SWF, what is
>     > > html/js/css? JSRoyale"
>     > >
>     > > If you use anything from Apache Royale framework you as a
> application
>     > > developer should use JSRoyale.
>     > >
>     > > If you do not use anything from Royale but just writing pure AS3
> code or
>     > > maybe with some pure JS stuff - You should use JS.
>     > >
>     > > Does that make more clear ?
>     > >
>     > > Piotr
>     > >
>     > > śr., 12 wrz 2018 o 18:06 Carlos Rovira <ca...@apache.org>
>     > > napisał(a):
>     > >
>     > > > Hi,
>     > > >
>     > > > I must to admit that still doesn't understand totally. Jewel is
>     > compiling
>     > > > to html and flash (although the later compile but doesn't work
> yet).
>     > > AFAIK,
>     > > > we have two targets now flash and html, so if flash is SWF, what
> is
>     > > > html/js/css? JSRoyale or JS? and the other what is for? I'm
> trying to
>     > > > understand what is what and if we have 3 kind of compilations
> but 2
>     > only
>     > > > targets,  why we need the third.
>     > > >
>     > > > Until yesterday, for me we had only SWF and JSRoyale, then Josh
> come
>     > with
>     > > > JS that I was not aware of.
>     > > >
>     > > > @Piotr, one things aside, now that you are releasing. consider
> that all
>     > > > config xml maybe doesn't have the new libraries like Jewel,
> Icons, MX
>     > and
>     > > > Spark, and in themes I see Basic Theme but Jewel Theme and the
> rest are
>     > > not
>     > > > listed. I suppose those files should be updated with the paths of
>     > > manifest
>     > > > to those libraries. Maybe I could be wrong...
>     > > >
>     > > > thanks
>     > > >
>     > > >
>     > > >
>     > > >
>     > > >
>     > > >
>     > > > El mié., 12 sept. 2018 a las 17:57, Piotr Zarzycki (<
>     > > > piotrzarzycki21@gmail.com>) escribió:
>     > > >
>     > > > > JSRoyale is connected with royale-config.xml, so you basically
> can
>     > have
>     > > > in
>     > > > > your project some components from our framework. If you put JS
> you
>     > > > probably
>     > > > > got fail because those components will not be recognized.
>     > > > >
>     > > > > At least this is how I understand it. :)
>     > > > >
>     > > > > Thanks,
>     > > > > Piotr
>     > > > >
>     > > > > śr., 12 wrz 2018 o 17:52 Carlos Rovira <
> carlosrovira@apache.org>
>     > > > > napisał(a):
>     > > > >
>     > > > > > Hi,
>     > > > > > ok maybe I didn't understand this ok. I though JSRoyale was
> old
>     > > config
>     > > > > and
>     > > > > > JS was the new. So if we want a flash and HTML we must use
> SWF +
>     > JS,
>     > > if
>     > > > > we
>     > > > > > want only flash use SWF and if we want html we use JS only.
> So if
>     > > > > JSRoyale
>     > > > > > and JS are different things what's targeting JSRoyale?
>     > > > > >
>     > > > > > thanks
>     > > > > >
>     > > > > > El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (<
>     > > > > > piotrzarzycki21@gmail.com>) escribió:
>     > > > > >
>     > > > > > > Hi Carlos,
>     > > > > > >
>     > > > > > > As I understand you are using JS in connection with
> appropriate
>     > > > config.
>     > > > > > > However why are you trying to use JS config to build Jewel
> stuff?
>     > > JS
>     > > > is
>     > > > > > > suppose to be used for pure JS projects as far as I
> understand.
>     > > > > > >
>     > > > > > > Thanks,
>     > > > > > > Piotr
>     > > > > > >
>     > > > > > > On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <
>     > > carlosrovira@apache.org
>     > > > >
>     > > > > > > wrote:
>     > > > > > >
>     > > > > > > > Hi I tried JS instead of JSRoyale but I think I have
> something
>     > > > wrong
>     > > > > > > > configured in Jewel, JewelTheme and JewelExample.
>     > > > > > > > Josh, could you check this project configurations and
> suggest
>     > > what
>     > > > > > could
>     > > > > > > be
>     > > > > > > > the best config for those? If you can, that would be
> something
>     > > > like a
>     > > > > > > > "template" to use. In the meanwhile, I'll continue
> building
>     > with
>     > > > > Maven.
>     > > > > > > > thanks in advance
>     > > > > > > >
>     > > > > > > >
>     > > > > > > > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<
>     > > > > > > joshtynjala@apache.org
>     > > > > > > > >)
>     > > > > > > > escribió:
>     > > > > > > >
>     > > > > > > > > Yeah, it makes sense to use JSRoyale with
> js-config.xml to
>     > > > exclude
>     > > > > > > parts
>     > > > > > > > > of the framework referenced in royale-config.xml.
> Unexpected
>     > > > > changes
>     > > > > > to
>     > > > > > > > > js-config.xml in the future could possibly cause some
>     > > surprises,
>     > > > > but
>     > > > > > if
>     > > > > > > > > that's probably not a huge risk. This would be a decent
>     > > exception
>     > > > > to
>     > > > > > > the
>     > > > > > > > > rule.
>     > > > > > > > >
>     > > > > > > > > - Josh
>     > > > > > > > >
>     > > > > > > > > On 2018/09/11 17:47:41, Alex Harui
> <aharui@adobe.com.INVALID
>     > >
>     > > > > wrote:
>     > > > > > > > > > FWIW, I think the framework swcs are built using the
> config
>     > > > Piotr
>     > > > > > is
>     > > > > > > > > using since want JSRoyale output, but we don't want to
> assume
>     > > SWC
>     > > > > > > > > dependencies specified in royale-config (because we are
>     > > building
>     > > > > the
>     > > > > > > SWCs
>     > > > > > > > > in those dependencies).
>     > > > > > > > > >
>     > > > > > > > > > However, you are correct for most SWCs that
> application
>     > > > > developers
>     > > > > > > will
>     > > > > > > > > be building.
>     > > > > > > > > >
>     > > > > > > > > > Of course, I could be wrong...
>     > > > > > > > > > -Alex
>     > > > > > > > > >
>     > > > > > > > > > On 9/11/18, 10:21 AM, "Josh Tynjala" <
>     > > joshtynjala@apache.org>
>     > > > > > > wrote:
>     > > > > > > > > >
>     > > > > > > > > >     Hey Piotr,
>     > > > > > > > > >
>     > > > > > > > > >     There's something a little strange in your
> compiler
>     > > options
>     > > > > > that
>     > > > > > > > you
>     > > > > > > > > should probably fix:
>     > > > > > > > > >
>     > > > > > > > > >     You're specifying JSRoyale and js-config.xml
> together,
>     > > but
>     > > > > > these
>     > > > > > > > two
>     > > > > > > > > aren't necessarily compatible. Here's what you have in
> your
>     > > > > compiler
>     > > > > > > > > options:
>     > > > > > > > > >
>     > > > > > > > > >     -compiler.targets=SWF,JSRoyale
>     > > > > > > > > >
>     > > > >  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
>     > > > > > > > > >
>     > > > > > > > > >     However, it should either be this:
>     > > > > > > > > >
>     > > > > > > > > >     -compiler.targets=SWF,JSRoyale
>     > > > > > > > > >
>     > > > > > >
>     > -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
>     > > > > > > > > >
>     > > > > > > > > >     or maybe this (depending on if you want Royale
>     > components
>     > > > or
>     > > > > > pure
>     > > > > > > > > JS):
>     > > > > > > > > >
>     > > > > > > > > >     -compiler.targets=SWF,JS
>     > > > > > > > > >
>     > > > >  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
>     > > > > > > > > >
>     > > > > > > > > >     Basically, you use JSRoyale with
> royale-config.xml, or
>     > > you
>     > > > > use
>     > > > > > JS
>     > > > > > > > > with js-config.xml. The JSRoyale and JS targets
> produce very
>     > > > > similar
>     > > > > > > > > output, but it's best not to assume that they're
> exactly the
>     > > same
>     > > > > in
>     > > > > > > all
>     > > > > > > > > cases.
>     > > > > > > > > >
>     > > > > > > > > >     (As a side note, it's worth mentioning that
> there's
>     > also
>     > > > the
>     > > > > > > JSNode
>     > > > > > > > > target that's meant to work with node-config.xml.
> JSNode also
>     > > > > > produces
>     > > > > > > > > different output than JSRoyale or JS because it
> generates
>     > code
>     > > > for
>     > > > > > > > Node.js)
>     > > > > > > > > >
>     > > > > > > > > >     One last thing. In order to use
>     > -compiler.targets=SWF,JS
>     > > to
>     > > > > > > build a
>     > > > > > > > > SWC, you'll need my compiler changes from yesterday.
> For some
>     > > > > reason,
>     > > > > > > > that
>     > > > > > > > > was throwing an exception, while
>     > -compiler.targets=SWF,JSRoyale
>     > > > did
>     > > > > > > not.
>     > > > > > > > I
>     > > > > > > > > suspect that this may be why you were using JSRoyale
> instead
>     > of
>     > > > JS,
>     > > > > > but
>     > > > > > > > now
>     > > > > > > > > JS should work too!
>     > > > > > > > > >
>     > > > > > > > > >     - Josh
>     > > > > > > > > >
>     > > > > > > > > >     On 2018/09/11 09:45:52, Piotr Zarzycki <
>     > > > > > > piotrzarzycki21@gmail.com>
>     > > > > > > > > wrote:
>     > > > > > > > > >     > Hi Guys,
>     > > > > > > > > >     >
>     > > > > > > > > >     > I'm having difficulties with using created
> Royale SWC
>     > > in
>     > > > > some
>     > > > > > > > > project. I
>     > > > > > > > > >     > have two projects. (I've uploaded them on
> onedrive so
>     > > you
>     > > > > can
>     > > > > > > try
>     > > > > > > > > it
>     > > > > > > > > >     > yourself).
>     > > > > > > > > >     >
>     > > > > > > > > >     > Using SWF version of prepared swc I'm able to
> build
>     > > > project
>     > > > > > > with
>     > > > > > > > > >     > compiler.targets=SWF. Unfortunately using JS
> version
>     > of
>     > > > > that
>     > > > > > > SWC
>     > > > > > > > > I'm not
>     > > > > > > > > >     > able to build project with it. [1]
>     > > > > > > > > >     >
>     > > > > > > > > >     > 1. Library itself [2] - It contains
> configurations
>     > > > > > > > > compile-swf-config.xml
>     > > > > > > > > >     > and compile-js-config.xml. Folder "bin" has
> swc JS
>     > and
>     > > > SWF
>     > > > > > > > version.
>     > > > > > > > > >     >
>     > > > > > > > > >     > 2. Consumer of library [3] - This one is
> configured
>     > > with
>     > > > > > > > Moonshine
>     > > > > > > > > and
>     > > > > > > > > >     > VSCode.
>     > > > > > > > > >     >
>     > > > > > > > > >     > I'm building JS and SWF version of SWC using
>     > following
>     > > > > > command
>     > > > > > > > > lines [4]
>     > > > > > > > > >     >
>     > > > > > > > > >     > Does anyone is seeing what could be wrong ?
> Those
>     > > command
>     > > > > > lines
>     > > > > > > > > [4] are
>     > > > > > > > > >     > based on how Royale is building swcs Basic,
> Jewel
>     > etc.
>     > > > > > > > > >     >
>     > > > > > > > > >     > [1]
>     > > > > > > > >
>     > > > > > > >
>     > > > > > >
>     > > > > >
>     > > > >
>     > > >
>     > >
>     >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258501681&amp;sdata=ac1EoxHr76KBjZD%2FiT2K7gfuDk%2FIB6YhHaqMcK6Tpho%3D&amp;reserved=0
>     > > > > > > > > >     > [2]
>     > > > > > > > >
>     > > > > > > >
>     > > > > > >
>     > > > > >
>     > > > >
>     > > >
>     > >
>     >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=DOXlEBWniJB1fOnRVINGEd4RQm0fDvNV98OmqnCqw9w%3D&amp;reserved=0
>     > > > > > > > > >     > [3]
>     > > > > > > > >
>     > > > > > > >
>     > > > > > >
>     > > > > >
>     > > > >
>     > > >
>     > >
>     >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QqEMxNOk7k%2FgyZxaksCHIqel9Ftl3mWRMfpz3d%2BqAZ0%3D&amp;reserved=0
>     > > > > > > > > >     > [4]
>     > > > > > > > >
>     > > > > > > >
>     > > > > > >
>     > > > > >
>     > > > >
>     > > >
>     > >
>     >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=qkYLOLioUygBnF4FsFjdxhhC6zK2NCWlHb9E9MFuWLU%3D&amp;reserved=0
>     > > > > > > > > >     >
>     > > > > > > > > >     > Thanks,
>     > > > > > > > > >     > --
>     > > > > > > > > >     >
>     > > > > > > > > >     > Piotr Zarzycki
>     > > > > > > > > >     >
>     > > > > > > > > >     > Patreon: *
>     > > > > > > > >
>     > > > > > > >
>     > > > > > >
>     > > > > >
>     > > > >
>     > > >
>     > >
>     >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>     > > > > > > > > >     > <
>     > > > > > > > >
>     > > > > > > >
>     > > > > > >
>     > > > > >
>     > > > >
>     > > >
>     > >
>     >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>     > > > > > > > > >*
>     > > > > > > > > >     >
>     > > > > > > > > >
>     > > > > > > > > >
>     > > > > > > > > >
>     > > > > > > > >
>     > > > > > > >
>     > > > > > > >
>     > > > > > > > --
>     > > > > > > > Carlos Rovira
>     > > > > > > >
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
>     > > > > > > >
>     > > > > > >
>     > > > > >
>     > > > > >
>     > > > > > --
>     > > > > > Carlos Rovira
>     > > > > >
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
>     > > > > >
>     > > > >
>     > > > >
>     > > > > --
>     > > > >
>     > > > > Piotr Zarzycki
>     > > > >
>     > > > > Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>     > > > > <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
> >*
>     > > > >
>     > > >
>     > > >
>     > > > --
>     > > > Carlos Rovira
>     > > >
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
>     > > >
>     > >
>     > >
>     > > --
>     > >
>     > > Piotr Zarzycki
>     > >
>     > > Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>     > > <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
> >*
>     > >
>     >
>     >
>     > --
>     > Carlos Rovira
>     >
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
>     >
>
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
>     <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258521700&amp;sdata=jYQHvCnwibVRbFsEOB8oP7DcLkeRruOsdE99CyGuKa4%3D&amp;reserved=0
> >*
>
>
>

-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Piotr,  what error do you get?  Did you unzip the SWC to see if has the expected files?  If you get an error using the SWC in the main app, what options are you using in MXMLC for the main app?

-Alex

On 9/13/18, 12:42 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

    Ok We have a bit miss lead from the main thread which is important to me
    and probably to other users of Moonshine. In a nut shell I'm not able to
    use in Royale application SWC which was build as JS only. - In the other
    words I have in the config COMPILE::JS = true and COMPILE::SWF=false.
    
    Commands used for the build are [1]. Can it be problem with compiler ?
    
    [1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FlXtd&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258501681&amp;sdata=8nUMt8fyyL5fXhilc2Apf4FFmoicdAgxefU5IsVYcW0%3D&amp;reserved=0
    
    czw., 13 wrz 2018 o 09:38 Carlos Rovira <ca...@apache.org>
    napisał(a):
    
    > Hi Piotr,
    >
    > thanks!, now I understand :)
    >
    > El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
    > piotrzarzycki21@gmail.com>) escribió:
    >
    > > Carlos,
    > >
    > > "I must to admit that still doesn't understand totally. Jewel is
    > compiling
    > > to html and flash (although the later compile but doesn't work yet).
    > AFAIK,
    > > we have two targets now flash and html, so if flash is SWF, what is
    > > html/js/css? JSRoyale"
    > >
    > > If you use anything from Apache Royale framework you as a application
    > > developer should use JSRoyale.
    > >
    > > If you do not use anything from Royale but just writing pure AS3 code or
    > > maybe with some pure JS stuff - You should use JS.
    > >
    > > Does that make more clear ?
    > >
    > > Piotr
    > >
    > > śr., 12 wrz 2018 o 18:06 Carlos Rovira <ca...@apache.org>
    > > napisał(a):
    > >
    > > > Hi,
    > > >
    > > > I must to admit that still doesn't understand totally. Jewel is
    > compiling
    > > > to html and flash (although the later compile but doesn't work yet).
    > > AFAIK,
    > > > we have two targets now flash and html, so if flash is SWF, what is
    > > > html/js/css? JSRoyale or JS? and the other what is for? I'm trying to
    > > > understand what is what and if we have 3 kind of compilations but 2
    > only
    > > > targets,  why we need the third.
    > > >
    > > > Until yesterday, for me we had only SWF and JSRoyale, then Josh come
    > with
    > > > JS that I was not aware of.
    > > >
    > > > @Piotr, one things aside, now that you are releasing. consider that all
    > > > config xml maybe doesn't have the new libraries like Jewel, Icons, MX
    > and
    > > > Spark, and in themes I see Basic Theme but Jewel Theme and the rest are
    > > not
    > > > listed. I suppose those files should be updated with the paths of
    > > manifest
    > > > to those libraries. Maybe I could be wrong...
    > > >
    > > > thanks
    > > >
    > > >
    > > >
    > > >
    > > >
    > > >
    > > > El mié., 12 sept. 2018 a las 17:57, Piotr Zarzycki (<
    > > > piotrzarzycki21@gmail.com>) escribió:
    > > >
    > > > > JSRoyale is connected with royale-config.xml, so you basically can
    > have
    > > > in
    > > > > your project some components from our framework. If you put JS you
    > > > probably
    > > > > got fail because those components will not be recognized.
    > > > >
    > > > > At least this is how I understand it. :)
    > > > >
    > > > > Thanks,
    > > > > Piotr
    > > > >
    > > > > śr., 12 wrz 2018 o 17:52 Carlos Rovira <ca...@apache.org>
    > > > > napisał(a):
    > > > >
    > > > > > Hi,
    > > > > > ok maybe I didn't understand this ok. I though JSRoyale was old
    > > config
    > > > > and
    > > > > > JS was the new. So if we want a flash and HTML we must use SWF +
    > JS,
    > > if
    > > > > we
    > > > > > want only flash use SWF and if we want html we use JS only. So if
    > > > > JSRoyale
    > > > > > and JS are different things what's targeting JSRoyale?
    > > > > >
    > > > > > thanks
    > > > > >
    > > > > > El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (<
    > > > > > piotrzarzycki21@gmail.com>) escribió:
    > > > > >
    > > > > > > Hi Carlos,
    > > > > > >
    > > > > > > As I understand you are using JS in connection with appropriate
    > > > config.
    > > > > > > However why are you trying to use JS config to build Jewel stuff?
    > > JS
    > > > is
    > > > > > > suppose to be used for pure JS projects as far as I understand.
    > > > > > >
    > > > > > > Thanks,
    > > > > > > Piotr
    > > > > > >
    > > > > > > On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <
    > > carlosrovira@apache.org
    > > > >
    > > > > > > wrote:
    > > > > > >
    > > > > > > > Hi I tried JS instead of JSRoyale but I think I have something
    > > > wrong
    > > > > > > > configured in Jewel, JewelTheme and JewelExample.
    > > > > > > > Josh, could you check this project configurations and suggest
    > > what
    > > > > > could
    > > > > > > be
    > > > > > > > the best config for those? If you can, that would be something
    > > > like a
    > > > > > > > "template" to use. In the meanwhile, I'll continue building
    > with
    > > > > Maven.
    > > > > > > > thanks in advance
    > > > > > > >
    > > > > > > >
    > > > > > > > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<
    > > > > > > joshtynjala@apache.org
    > > > > > > > >)
    > > > > > > > escribió:
    > > > > > > >
    > > > > > > > > Yeah, it makes sense to use JSRoyale with js-config.xml to
    > > > exclude
    > > > > > > parts
    > > > > > > > > of the framework referenced in royale-config.xml. Unexpected
    > > > > changes
    > > > > > to
    > > > > > > > > js-config.xml in the future could possibly cause some
    > > surprises,
    > > > > but
    > > > > > if
    > > > > > > > > that's probably not a huge risk. This would be a decent
    > > exception
    > > > > to
    > > > > > > the
    > > > > > > > > rule.
    > > > > > > > >
    > > > > > > > > - Josh
    > > > > > > > >
    > > > > > > > > On 2018/09/11 17:47:41, Alex Harui <aharui@adobe.com.INVALID
    > >
    > > > > wrote:
    > > > > > > > > > FWIW, I think the framework swcs are built using the config
    > > > Piotr
    > > > > > is
    > > > > > > > > using since want JSRoyale output, but we don't want to assume
    > > SWC
    > > > > > > > > dependencies specified in royale-config (because we are
    > > building
    > > > > the
    > > > > > > SWCs
    > > > > > > > > in those dependencies).
    > > > > > > > > >
    > > > > > > > > > However, you are correct for most SWCs that application
    > > > > developers
    > > > > > > will
    > > > > > > > > be building.
    > > > > > > > > >
    > > > > > > > > > Of course, I could be wrong...
    > > > > > > > > > -Alex
    > > > > > > > > >
    > > > > > > > > > On 9/11/18, 10:21 AM, "Josh Tynjala" <
    > > joshtynjala@apache.org>
    > > > > > > wrote:
    > > > > > > > > >
    > > > > > > > > >     Hey Piotr,
    > > > > > > > > >
    > > > > > > > > >     There's something a little strange in your compiler
    > > options
    > > > > > that
    > > > > > > > you
    > > > > > > > > should probably fix:
    > > > > > > > > >
    > > > > > > > > >     You're specifying JSRoyale and js-config.xml together,
    > > but
    > > > > > these
    > > > > > > > two
    > > > > > > > > aren't necessarily compatible. Here's what you have in your
    > > > > compiler
    > > > > > > > > options:
    > > > > > > > > >
    > > > > > > > > >     -compiler.targets=SWF,JSRoyale
    > > > > > > > > >
    > > > >  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
    > > > > > > > > >
    > > > > > > > > >     However, it should either be this:
    > > > > > > > > >
    > > > > > > > > >     -compiler.targets=SWF,JSRoyale
    > > > > > > > > >
    > > > > > >
    > -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
    > > > > > > > > >
    > > > > > > > > >     or maybe this (depending on if you want Royale
    > components
    > > > or
    > > > > > pure
    > > > > > > > > JS):
    > > > > > > > > >
    > > > > > > > > >     -compiler.targets=SWF,JS
    > > > > > > > > >
    > > > >  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
    > > > > > > > > >
    > > > > > > > > >     Basically, you use JSRoyale with royale-config.xml, or
    > > you
    > > > > use
    > > > > > JS
    > > > > > > > > with js-config.xml. The JSRoyale and JS targets produce very
    > > > > similar
    > > > > > > > > output, but it's best not to assume that they're exactly the
    > > same
    > > > > in
    > > > > > > all
    > > > > > > > > cases.
    > > > > > > > > >
    > > > > > > > > >     (As a side note, it's worth mentioning that there's
    > also
    > > > the
    > > > > > > JSNode
    > > > > > > > > target that's meant to work with node-config.xml. JSNode also
    > > > > > produces
    > > > > > > > > different output than JSRoyale or JS because it generates
    > code
    > > > for
    > > > > > > > Node.js)
    > > > > > > > > >
    > > > > > > > > >     One last thing. In order to use
    > -compiler.targets=SWF,JS
    > > to
    > > > > > > build a
    > > > > > > > > SWC, you'll need my compiler changes from yesterday. For some
    > > > > reason,
    > > > > > > > that
    > > > > > > > > was throwing an exception, while
    > -compiler.targets=SWF,JSRoyale
    > > > did
    > > > > > > not.
    > > > > > > > I
    > > > > > > > > suspect that this may be why you were using JSRoyale instead
    > of
    > > > JS,
    > > > > > but
    > > > > > > > now
    > > > > > > > > JS should work too!
    > > > > > > > > >
    > > > > > > > > >     - Josh
    > > > > > > > > >
    > > > > > > > > >     On 2018/09/11 09:45:52, Piotr Zarzycki <
    > > > > > > piotrzarzycki21@gmail.com>
    > > > > > > > > wrote:
    > > > > > > > > >     > Hi Guys,
    > > > > > > > > >     >
    > > > > > > > > >     > I'm having difficulties with using created Royale SWC
    > > in
    > > > > some
    > > > > > > > > project. I
    > > > > > > > > >     > have two projects. (I've uploaded them on onedrive so
    > > you
    > > > > can
    > > > > > > try
    > > > > > > > > it
    > > > > > > > > >     > yourself).
    > > > > > > > > >     >
    > > > > > > > > >     > Using SWF version of prepared swc I'm able to build
    > > > project
    > > > > > > with
    > > > > > > > > >     > compiler.targets=SWF. Unfortunately using JS version
    > of
    > > > > that
    > > > > > > SWC
    > > > > > > > > I'm not
    > > > > > > > > >     > able to build project with it. [1]
    > > > > > > > > >     >
    > > > > > > > > >     > 1. Library itself [2] - It contains configurations
    > > > > > > > > compile-swf-config.xml
    > > > > > > > > >     > and compile-js-config.xml. Folder "bin" has swc JS
    > and
    > > > SWF
    > > > > > > > version.
    > > > > > > > > >     >
    > > > > > > > > >     > 2. Consumer of library [3] - This one is configured
    > > with
    > > > > > > > Moonshine
    > > > > > > > > and
    > > > > > > > > >     > VSCode.
    > > > > > > > > >     >
    > > > > > > > > >     > I'm building JS and SWF version of SWC using
    > following
    > > > > > command
    > > > > > > > > lines [4]
    > > > > > > > > >     >
    > > > > > > > > >     > Does anyone is seeing what could be wrong ? Those
    > > command
    > > > > > lines
    > > > > > > > > [4] are
    > > > > > > > > >     > based on how Royale is building swcs Basic, Jewel
    > etc.
    > > > > > > > > >     >
    > > > > > > > > >     > [1]
    > > > > > > > >
    > > > > > > >
    > > > > > >
    > > > > >
    > > > >
    > > >
    > >
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258501681&amp;sdata=ac1EoxHr76KBjZD%2FiT2K7gfuDk%2FIB6YhHaqMcK6Tpho%3D&amp;reserved=0
    > > > > > > > > >     > [2]
    > > > > > > > >
    > > > > > > >
    > > > > > >
    > > > > >
    > > > >
    > > >
    > >
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=DOXlEBWniJB1fOnRVINGEd4RQm0fDvNV98OmqnCqw9w%3D&amp;reserved=0
    > > > > > > > > >     > [3]
    > > > > > > > >
    > > > > > > >
    > > > > > >
    > > > > >
    > > > >
    > > >
    > >
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QqEMxNOk7k%2FgyZxaksCHIqel9Ftl3mWRMfpz3d%2BqAZ0%3D&amp;reserved=0
    > > > > > > > > >     > [4]
    > > > > > > > >
    > > > > > > >
    > > > > > >
    > > > > >
    > > > >
    > > >
    > >
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=qkYLOLioUygBnF4FsFjdxhhC6zK2NCWlHb9E9MFuWLU%3D&amp;reserved=0
    > > > > > > > > >     >
    > > > > > > > > >     > Thanks,
    > > > > > > > > >     > --
    > > > > > > > > >     >
    > > > > > > > > >     > Piotr Zarzycki
    > > > > > > > > >     >
    > > > > > > > > >     > Patreon: *
    > > > > > > > >
    > > > > > > >
    > > > > > >
    > > > > >
    > > > >
    > > >
    > >
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
    > > > > > > > > >     > <
    > > > > > > > >
    > > > > > > >
    > > > > > >
    > > > > >
    > > > >
    > > >
    > >
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
    > > > > > > > > >*
    > > > > > > > > >     >
    > > > > > > > > >
    > > > > > > > > >
    > > > > > > > > >
    > > > > > > > >
    > > > > > > >
    > > > > > > >
    > > > > > > > --
    > > > > > > > Carlos Rovira
    > > > > > > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
    > > > > > > >
    > > > > > >
    > > > > >
    > > > > >
    > > > > > --
    > > > > > Carlos Rovira
    > > > > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
    > > > > >
    > > > >
    > > > >
    > > > > --
    > > > >
    > > > > Piotr Zarzycki
    > > > >
    > > > > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
    > > > > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0>*
    > > > >
    > > >
    > > >
    > > > --
    > > > Carlos Rovira
    > > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
    > > >
    > >
    > >
    > > --
    > >
    > > Piotr Zarzycki
    > >
    > > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
    > > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0>*
    > >
    >
    >
    > --
    > Carlos Rovira
    > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=QSLacbjaQYNTgQFhcwzwvSZSbhM1qyuswHAaRi%2BwG%2Bc%3D&amp;reserved=0
    >
    
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258511695&amp;sdata=foUec4RhjMQj%2BSXKPMt%2BxDuMuzpNlNNbx34jCTb23Io%3D&amp;reserved=0
    <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258521700&amp;sdata=jYQHvCnwibVRbFsEOB8oP7DcLkeRruOsdE99CyGuKa4%3D&amp;reserved=0>*
    


Re: Difficulties with using in project JS version of Royale swc

Posted by Piotr Zarzycki <pi...@gmail.com>.
Ok We have a bit miss lead from the main thread which is important to me
and probably to other users of Moonshine. In a nut shell I'm not able to
use in Royale application SWC which was build as JS only. - In the other
words I have in the config COMPILE::JS = true and COMPILE::SWF=false.

Commands used for the build are [1]. Can it be problem with compiler ?

[1] https://paste.apache.org/lXtd

czw., 13 wrz 2018 o 09:38 Carlos Rovira <ca...@apache.org>
napisał(a):

> Hi Piotr,
>
> thanks!, now I understand :)
>
> El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> > Carlos,
> >
> > "I must to admit that still doesn't understand totally. Jewel is
> compiling
> > to html and flash (although the later compile but doesn't work yet).
> AFAIK,
> > we have two targets now flash and html, so if flash is SWF, what is
> > html/js/css? JSRoyale"
> >
> > If you use anything from Apache Royale framework you as a application
> > developer should use JSRoyale.
> >
> > If you do not use anything from Royale but just writing pure AS3 code or
> > maybe with some pure JS stuff - You should use JS.
> >
> > Does that make more clear ?
> >
> > Piotr
> >
> > śr., 12 wrz 2018 o 18:06 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> > > Hi,
> > >
> > > I must to admit that still doesn't understand totally. Jewel is
> compiling
> > > to html and flash (although the later compile but doesn't work yet).
> > AFAIK,
> > > we have two targets now flash and html, so if flash is SWF, what is
> > > html/js/css? JSRoyale or JS? and the other what is for? I'm trying to
> > > understand what is what and if we have 3 kind of compilations but 2
> only
> > > targets,  why we need the third.
> > >
> > > Until yesterday, for me we had only SWF and JSRoyale, then Josh come
> with
> > > JS that I was not aware of.
> > >
> > > @Piotr, one things aside, now that you are releasing. consider that all
> > > config xml maybe doesn't have the new libraries like Jewel, Icons, MX
> and
> > > Spark, and in themes I see Basic Theme but Jewel Theme and the rest are
> > not
> > > listed. I suppose those files should be updated with the paths of
> > manifest
> > > to those libraries. Maybe I could be wrong...
> > >
> > > thanks
> > >
> > >
> > >
> > >
> > >
> > >
> > > El mié., 12 sept. 2018 a las 17:57, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>) escribió:
> > >
> > > > JSRoyale is connected with royale-config.xml, so you basically can
> have
> > > in
> > > > your project some components from our framework. If you put JS you
> > > probably
> > > > got fail because those components will not be recognized.
> > > >
> > > > At least this is how I understand it. :)
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > > śr., 12 wrz 2018 o 17:52 Carlos Rovira <ca...@apache.org>
> > > > napisał(a):
> > > >
> > > > > Hi,
> > > > > ok maybe I didn't understand this ok. I though JSRoyale was old
> > config
> > > > and
> > > > > JS was the new. So if we want a flash and HTML we must use SWF +
> JS,
> > if
> > > > we
> > > > > want only flash use SWF and if we want html we use JS only. So if
> > > > JSRoyale
> > > > > and JS are different things what's targeting JSRoyale?
> > > > >
> > > > > thanks
> > > > >
> > > > > El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com>) escribió:
> > > > >
> > > > > > Hi Carlos,
> > > > > >
> > > > > > As I understand you are using JS in connection with appropriate
> > > config.
> > > > > > However why are you trying to use JS config to build Jewel stuff?
> > JS
> > > is
> > > > > > suppose to be used for pure JS projects as far as I understand.
> > > > > >
> > > > > > Thanks,
> > > > > > Piotr
> > > > > >
> > > > > > On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <
> > carlosrovira@apache.org
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Hi I tried JS instead of JSRoyale but I think I have something
> > > wrong
> > > > > > > configured in Jewel, JewelTheme and JewelExample.
> > > > > > > Josh, could you check this project configurations and suggest
> > what
> > > > > could
> > > > > > be
> > > > > > > the best config for those? If you can, that would be something
> > > like a
> > > > > > > "template" to use. In the meanwhile, I'll continue building
> with
> > > > Maven.
> > > > > > > thanks in advance
> > > > > > >
> > > > > > >
> > > > > > > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<
> > > > > > joshtynjala@apache.org
> > > > > > > >)
> > > > > > > escribió:
> > > > > > >
> > > > > > > > Yeah, it makes sense to use JSRoyale with js-config.xml to
> > > exclude
> > > > > > parts
> > > > > > > > of the framework referenced in royale-config.xml. Unexpected
> > > > changes
> > > > > to
> > > > > > > > js-config.xml in the future could possibly cause some
> > surprises,
> > > > but
> > > > > if
> > > > > > > > that's probably not a huge risk. This would be a decent
> > exception
> > > > to
> > > > > > the
> > > > > > > > rule.
> > > > > > > >
> > > > > > > > - Josh
> > > > > > > >
> > > > > > > > On 2018/09/11 17:47:41, Alex Harui <aharui@adobe.com.INVALID
> >
> > > > wrote:
> > > > > > > > > FWIW, I think the framework swcs are built using the config
> > > Piotr
> > > > > is
> > > > > > > > using since want JSRoyale output, but we don't want to assume
> > SWC
> > > > > > > > dependencies specified in royale-config (because we are
> > building
> > > > the
> > > > > > SWCs
> > > > > > > > in those dependencies).
> > > > > > > > >
> > > > > > > > > However, you are correct for most SWCs that application
> > > > developers
> > > > > > will
> > > > > > > > be building.
> > > > > > > > >
> > > > > > > > > Of course, I could be wrong...
> > > > > > > > > -Alex
> > > > > > > > >
> > > > > > > > > On 9/11/18, 10:21 AM, "Josh Tynjala" <
> > joshtynjala@apache.org>
> > > > > > wrote:
> > > > > > > > >
> > > > > > > > >     Hey Piotr,
> > > > > > > > >
> > > > > > > > >     There's something a little strange in your compiler
> > options
> > > > > that
> > > > > > > you
> > > > > > > > should probably fix:
> > > > > > > > >
> > > > > > > > >     You're specifying JSRoyale and js-config.xml together,
> > but
> > > > > these
> > > > > > > two
> > > > > > > > aren't necessarily compatible. Here's what you have in your
> > > > compiler
> > > > > > > > options:
> > > > > > > > >
> > > > > > > > >     -compiler.targets=SWF,JSRoyale
> > > > > > > > >
> > > >  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > > > > > > >
> > > > > > > > >     However, it should either be this:
> > > > > > > > >
> > > > > > > > >     -compiler.targets=SWF,JSRoyale
> > > > > > > > >
> > > > > >
> -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
> > > > > > > > >
> > > > > > > > >     or maybe this (depending on if you want Royale
> components
> > > or
> > > > > pure
> > > > > > > > JS):
> > > > > > > > >
> > > > > > > > >     -compiler.targets=SWF,JS
> > > > > > > > >
> > > >  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > > > > > > >
> > > > > > > > >     Basically, you use JSRoyale with royale-config.xml, or
> > you
> > > > use
> > > > > JS
> > > > > > > > with js-config.xml. The JSRoyale and JS targets produce very
> > > > similar
> > > > > > > > output, but it's best not to assume that they're exactly the
> > same
> > > > in
> > > > > > all
> > > > > > > > cases.
> > > > > > > > >
> > > > > > > > >     (As a side note, it's worth mentioning that there's
> also
> > > the
> > > > > > JSNode
> > > > > > > > target that's meant to work with node-config.xml. JSNode also
> > > > > produces
> > > > > > > > different output than JSRoyale or JS because it generates
> code
> > > for
> > > > > > > Node.js)
> > > > > > > > >
> > > > > > > > >     One last thing. In order to use
> -compiler.targets=SWF,JS
> > to
> > > > > > build a
> > > > > > > > SWC, you'll need my compiler changes from yesterday. For some
> > > > reason,
> > > > > > > that
> > > > > > > > was throwing an exception, while
> -compiler.targets=SWF,JSRoyale
> > > did
> > > > > > not.
> > > > > > > I
> > > > > > > > suspect that this may be why you were using JSRoyale instead
> of
> > > JS,
> > > > > but
> > > > > > > now
> > > > > > > > JS should work too!
> > > > > > > > >
> > > > > > > > >     - Josh
> > > > > > > > >
> > > > > > > > >     On 2018/09/11 09:45:52, Piotr Zarzycki <
> > > > > > piotrzarzycki21@gmail.com>
> > > > > > > > wrote:
> > > > > > > > >     > Hi Guys,
> > > > > > > > >     >
> > > > > > > > >     > I'm having difficulties with using created Royale SWC
> > in
> > > > some
> > > > > > > > project. I
> > > > > > > > >     > have two projects. (I've uploaded them on onedrive so
> > you
> > > > can
> > > > > > try
> > > > > > > > it
> > > > > > > > >     > yourself).
> > > > > > > > >     >
> > > > > > > > >     > Using SWF version of prepared swc I'm able to build
> > > project
> > > > > > with
> > > > > > > > >     > compiler.targets=SWF. Unfortunately using JS version
> of
> > > > that
> > > > > > SWC
> > > > > > > > I'm not
> > > > > > > > >     > able to build project with it. [1]
> > > > > > > > >     >
> > > > > > > > >     > 1. Library itself [2] - It contains configurations
> > > > > > > > compile-swf-config.xml
> > > > > > > > >     > and compile-js-config.xml. Folder "bin" has swc JS
> and
> > > SWF
> > > > > > > version.
> > > > > > > > >     >
> > > > > > > > >     > 2. Consumer of library [3] - This one is configured
> > with
> > > > > > > Moonshine
> > > > > > > > and
> > > > > > > > >     > VSCode.
> > > > > > > > >     >
> > > > > > > > >     > I'm building JS and SWF version of SWC using
> following
> > > > > command
> > > > > > > > lines [4]
> > > > > > > > >     >
> > > > > > > > >     > Does anyone is seeing what could be wrong ? Those
> > command
> > > > > lines
> > > > > > > > [4] are
> > > > > > > > >     > based on how Royale is building swcs Basic, Jewel
> etc.
> > > > > > > > >     >
> > > > > > > > >     > [1]
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D&reserved=0
> > > > > > > > >     > [2]
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D&reserved=0
> > > > > > > > >     > [3]
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D&reserved=0
> > > > > > > > >     > [4]
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D&reserved=0
> > > > > > > > >     >
> > > > > > > > >     > Thanks,
> > > > > > > > >     > --
> > > > > > > > >     >
> > > > > > > > >     > Piotr Zarzycki
> > > > > > > > >     >
> > > > > > > > >     > Patreon: *
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > > > > > > >     > <
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > > > > > > >*
> > > > > > > > >     >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Carlos Rovira
> > > > > > > http://about.me/carlosrovira
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Carlos Rovira <ca...@apache.org>.
Hi Piotr,

thanks!, now I understand :)

El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:

> Carlos,
>
> "I must to admit that still doesn't understand totally. Jewel is compiling
> to html and flash (although the later compile but doesn't work yet). AFAIK,
> we have two targets now flash and html, so if flash is SWF, what is
> html/js/css? JSRoyale"
>
> If you use anything from Apache Royale framework you as a application
> developer should use JSRoyale.
>
> If you do not use anything from Royale but just writing pure AS3 code or
> maybe with some pure JS stuff - You should use JS.
>
> Does that make more clear ?
>
> Piotr
>
> śr., 12 wrz 2018 o 18:06 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > I must to admit that still doesn't understand totally. Jewel is compiling
> > to html and flash (although the later compile but doesn't work yet).
> AFAIK,
> > we have two targets now flash and html, so if flash is SWF, what is
> > html/js/css? JSRoyale or JS? and the other what is for? I'm trying to
> > understand what is what and if we have 3 kind of compilations but 2 only
> > targets,  why we need the third.
> >
> > Until yesterday, for me we had only SWF and JSRoyale, then Josh come with
> > JS that I was not aware of.
> >
> > @Piotr, one things aside, now that you are releasing. consider that all
> > config xml maybe doesn't have the new libraries like Jewel, Icons, MX and
> > Spark, and in themes I see Basic Theme but Jewel Theme and the rest are
> not
> > listed. I suppose those files should be updated with the paths of
> manifest
> > to those libraries. Maybe I could be wrong...
> >
> > thanks
> >
> >
> >
> >
> >
> >
> > El mié., 12 sept. 2018 a las 17:57, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>) escribió:
> >
> > > JSRoyale is connected with royale-config.xml, so you basically can have
> > in
> > > your project some components from our framework. If you put JS you
> > probably
> > > got fail because those components will not be recognized.
> > >
> > > At least this is how I understand it. :)
> > >
> > > Thanks,
> > > Piotr
> > >
> > > śr., 12 wrz 2018 o 17:52 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > > Hi,
> > > > ok maybe I didn't understand this ok. I though JSRoyale was old
> config
> > > and
> > > > JS was the new. So if we want a flash and HTML we must use SWF + JS,
> if
> > > we
> > > > want only flash use SWF and if we want html we use JS only. So if
> > > JSRoyale
> > > > and JS are different things what's targeting JSRoyale?
> > > >
> > > > thanks
> > > >
> > > > El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (<
> > > > piotrzarzycki21@gmail.com>) escribió:
> > > >
> > > > > Hi Carlos,
> > > > >
> > > > > As I understand you are using JS in connection with appropriate
> > config.
> > > > > However why are you trying to use JS config to build Jewel stuff?
> JS
> > is
> > > > > suppose to be used for pure JS projects as far as I understand.
> > > > >
> > > > > Thanks,
> > > > > Piotr
> > > > >
> > > > > On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <
> carlosrovira@apache.org
> > >
> > > > > wrote:
> > > > >
> > > > > > Hi I tried JS instead of JSRoyale but I think I have something
> > wrong
> > > > > > configured in Jewel, JewelTheme and JewelExample.
> > > > > > Josh, could you check this project configurations and suggest
> what
> > > > could
> > > > > be
> > > > > > the best config for those? If you can, that would be something
> > like a
> > > > > > "template" to use. In the meanwhile, I'll continue building with
> > > Maven.
> > > > > > thanks in advance
> > > > > >
> > > > > >
> > > > > > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<
> > > > > joshtynjala@apache.org
> > > > > > >)
> > > > > > escribió:
> > > > > >
> > > > > > > Yeah, it makes sense to use JSRoyale with js-config.xml to
> > exclude
> > > > > parts
> > > > > > > of the framework referenced in royale-config.xml. Unexpected
> > > changes
> > > > to
> > > > > > > js-config.xml in the future could possibly cause some
> surprises,
> > > but
> > > > if
> > > > > > > that's probably not a huge risk. This would be a decent
> exception
> > > to
> > > > > the
> > > > > > > rule.
> > > > > > >
> > > > > > > - Josh
> > > > > > >
> > > > > > > On 2018/09/11 17:47:41, Alex Harui <ah...@adobe.com.INVALID>
> > > wrote:
> > > > > > > > FWIW, I think the framework swcs are built using the config
> > Piotr
> > > > is
> > > > > > > using since want JSRoyale output, but we don't want to assume
> SWC
> > > > > > > dependencies specified in royale-config (because we are
> building
> > > the
> > > > > SWCs
> > > > > > > in those dependencies).
> > > > > > > >
> > > > > > > > However, you are correct for most SWCs that application
> > > developers
> > > > > will
> > > > > > > be building.
> > > > > > > >
> > > > > > > > Of course, I could be wrong...
> > > > > > > > -Alex
> > > > > > > >
> > > > > > > > On 9/11/18, 10:21 AM, "Josh Tynjala" <
> joshtynjala@apache.org>
> > > > > wrote:
> > > > > > > >
> > > > > > > >     Hey Piotr,
> > > > > > > >
> > > > > > > >     There's something a little strange in your compiler
> options
> > > > that
> > > > > > you
> > > > > > > should probably fix:
> > > > > > > >
> > > > > > > >     You're specifying JSRoyale and js-config.xml together,
> but
> > > > these
> > > > > > two
> > > > > > > aren't necessarily compatible. Here's what you have in your
> > > compiler
> > > > > > > options:
> > > > > > > >
> > > > > > > >     -compiler.targets=SWF,JSRoyale
> > > > > > > >
> > >  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > > > > > >
> > > > > > > >     However, it should either be this:
> > > > > > > >
> > > > > > > >     -compiler.targets=SWF,JSRoyale
> > > > > > > >
> > > > >  -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
> > > > > > > >
> > > > > > > >     or maybe this (depending on if you want Royale components
> > or
> > > > pure
> > > > > > > JS):
> > > > > > > >
> > > > > > > >     -compiler.targets=SWF,JS
> > > > > > > >
> > >  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > > > > > >
> > > > > > > >     Basically, you use JSRoyale with royale-config.xml, or
> you
> > > use
> > > > JS
> > > > > > > with js-config.xml. The JSRoyale and JS targets produce very
> > > similar
> > > > > > > output, but it's best not to assume that they're exactly the
> same
> > > in
> > > > > all
> > > > > > > cases.
> > > > > > > >
> > > > > > > >     (As a side note, it's worth mentioning that there's also
> > the
> > > > > JSNode
> > > > > > > target that's meant to work with node-config.xml. JSNode also
> > > > produces
> > > > > > > different output than JSRoyale or JS because it generates code
> > for
> > > > > > Node.js)
> > > > > > > >
> > > > > > > >     One last thing. In order to use -compiler.targets=SWF,JS
> to
> > > > > build a
> > > > > > > SWC, you'll need my compiler changes from yesterday. For some
> > > reason,
> > > > > > that
> > > > > > > was throwing an exception, while -compiler.targets=SWF,JSRoyale
> > did
> > > > > not.
> > > > > > I
> > > > > > > suspect that this may be why you were using JSRoyale instead of
> > JS,
> > > > but
> > > > > > now
> > > > > > > JS should work too!
> > > > > > > >
> > > > > > > >     - Josh
> > > > > > > >
> > > > > > > >     On 2018/09/11 09:45:52, Piotr Zarzycki <
> > > > > piotrzarzycki21@gmail.com>
> > > > > > > wrote:
> > > > > > > >     > Hi Guys,
> > > > > > > >     >
> > > > > > > >     > I'm having difficulties with using created Royale SWC
> in
> > > some
> > > > > > > project. I
> > > > > > > >     > have two projects. (I've uploaded them on onedrive so
> you
> > > can
> > > > > try
> > > > > > > it
> > > > > > > >     > yourself).
> > > > > > > >     >
> > > > > > > >     > Using SWF version of prepared swc I'm able to build
> > project
> > > > > with
> > > > > > > >     > compiler.targets=SWF. Unfortunately using JS version of
> > > that
> > > > > SWC
> > > > > > > I'm not
> > > > > > > >     > able to build project with it. [1]
> > > > > > > >     >
> > > > > > > >     > 1. Library itself [2] - It contains configurations
> > > > > > > compile-swf-config.xml
> > > > > > > >     > and compile-js-config.xml. Folder "bin" has swc JS and
> > SWF
> > > > > > version.
> > > > > > > >     >
> > > > > > > >     > 2. Consumer of library [3] - This one is configured
> with
> > > > > > Moonshine
> > > > > > > and
> > > > > > > >     > VSCode.
> > > > > > > >     >
> > > > > > > >     > I'm building JS and SWF version of SWC using following
> > > > command
> > > > > > > lines [4]
> > > > > > > >     >
> > > > > > > >     > Does anyone is seeing what could be wrong ? Those
> command
> > > > lines
> > > > > > > [4] are
> > > > > > > >     > based on how Royale is building swcs Basic, Jewel etc.
> > > > > > > >     >
> > > > > > > >     > [1]
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D&reserved=0
> > > > > > > >     > [2]
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D&reserved=0
> > > > > > > >     > [3]
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D&reserved=0
> > > > > > > >     > [4]
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D&reserved=0
> > > > > > > >     >
> > > > > > > >     > Thanks,
> > > > > > > >     > --
> > > > > > > >     >
> > > > > > > >     > Piotr Zarzycki
> > > > > > > >     >
> > > > > > > >     > Patreon: *
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > > > > > >     > <
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > > > > > >*
> > > > > > > >     >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Carlos Rovira
> > > > > > http://about.me/carlosrovira
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


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

Re: Difficulties with using in project JS version of Royale swc

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

"I must to admit that still doesn't understand totally. Jewel is compiling
to html and flash (although the later compile but doesn't work yet). AFAIK,
we have two targets now flash and html, so if flash is SWF, what is
html/js/css? JSRoyale"

If you use anything from Apache Royale framework you as a application
developer should use JSRoyale.

If you do not use anything from Royale but just writing pure AS3 code or
maybe with some pure JS stuff - You should use JS.

Does that make more clear ?

Piotr

śr., 12 wrz 2018 o 18:06 Carlos Rovira <ca...@apache.org> napisał(a):

> Hi,
>
> I must to admit that still doesn't understand totally. Jewel is compiling
> to html and flash (although the later compile but doesn't work yet). AFAIK,
> we have two targets now flash and html, so if flash is SWF, what is
> html/js/css? JSRoyale or JS? and the other what is for? I'm trying to
> understand what is what and if we have 3 kind of compilations but 2 only
> targets,  why we need the third.
>
> Until yesterday, for me we had only SWF and JSRoyale, then Josh come with
> JS that I was not aware of.
>
> @Piotr, one things aside, now that you are releasing. consider that all
> config xml maybe doesn't have the new libraries like Jewel, Icons, MX and
> Spark, and in themes I see Basic Theme but Jewel Theme and the rest are not
> listed. I suppose those files should be updated with the paths of manifest
> to those libraries. Maybe I could be wrong...
>
> thanks
>
>
>
>
>
>
> El mié., 12 sept. 2018 a las 17:57, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> > JSRoyale is connected with royale-config.xml, so you basically can have
> in
> > your project some components from our framework. If you put JS you
> probably
> > got fail because those components will not be recognized.
> >
> > At least this is how I understand it. :)
> >
> > Thanks,
> > Piotr
> >
> > śr., 12 wrz 2018 o 17:52 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> > > Hi,
> > > ok maybe I didn't understand this ok. I though JSRoyale was old config
> > and
> > > JS was the new. So if we want a flash and HTML we must use SWF + JS, if
> > we
> > > want only flash use SWF and if we want html we use JS only. So if
> > JSRoyale
> > > and JS are different things what's targeting JSRoyale?
> > >
> > > thanks
> > >
> > > El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>) escribió:
> > >
> > > > Hi Carlos,
> > > >
> > > > As I understand you are using JS in connection with appropriate
> config.
> > > > However why are you trying to use JS config to build Jewel stuff? JS
> is
> > > > suppose to be used for pure JS projects as far as I understand.
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > > On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <carlosrovira@apache.org
> >
> > > > wrote:
> > > >
> > > > > Hi I tried JS instead of JSRoyale but I think I have something
> wrong
> > > > > configured in Jewel, JewelTheme and JewelExample.
> > > > > Josh, could you check this project configurations and suggest what
> > > could
> > > > be
> > > > > the best config for those? If you can, that would be something
> like a
> > > > > "template" to use. In the meanwhile, I'll continue building with
> > Maven.
> > > > > thanks in advance
> > > > >
> > > > >
> > > > > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<
> > > > joshtynjala@apache.org
> > > > > >)
> > > > > escribió:
> > > > >
> > > > > > Yeah, it makes sense to use JSRoyale with js-config.xml to
> exclude
> > > > parts
> > > > > > of the framework referenced in royale-config.xml. Unexpected
> > changes
> > > to
> > > > > > js-config.xml in the future could possibly cause some surprises,
> > but
> > > if
> > > > > > that's probably not a huge risk. This would be a decent exception
> > to
> > > > the
> > > > > > rule.
> > > > > >
> > > > > > - Josh
> > > > > >
> > > > > > On 2018/09/11 17:47:41, Alex Harui <ah...@adobe.com.INVALID>
> > wrote:
> > > > > > > FWIW, I think the framework swcs are built using the config
> Piotr
> > > is
> > > > > > using since want JSRoyale output, but we don't want to assume SWC
> > > > > > dependencies specified in royale-config (because we are building
> > the
> > > > SWCs
> > > > > > in those dependencies).
> > > > > > >
> > > > > > > However, you are correct for most SWCs that application
> > developers
> > > > will
> > > > > > be building.
> > > > > > >
> > > > > > > Of course, I could be wrong...
> > > > > > > -Alex
> > > > > > >
> > > > > > > On 9/11/18, 10:21 AM, "Josh Tynjala" <jo...@apache.org>
> > > > wrote:
> > > > > > >
> > > > > > >     Hey Piotr,
> > > > > > >
> > > > > > >     There's something a little strange in your compiler options
> > > that
> > > > > you
> > > > > > should probably fix:
> > > > > > >
> > > > > > >     You're specifying JSRoyale and js-config.xml together, but
> > > these
> > > > > two
> > > > > > aren't necessarily compatible. Here's what you have in your
> > compiler
> > > > > > options:
> > > > > > >
> > > > > > >     -compiler.targets=SWF,JSRoyale
> > > > > > >
> >  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > > > > >
> > > > > > >     However, it should either be this:
> > > > > > >
> > > > > > >     -compiler.targets=SWF,JSRoyale
> > > > > > >
> > > >  -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
> > > > > > >
> > > > > > >     or maybe this (depending on if you want Royale components
> or
> > > pure
> > > > > > JS):
> > > > > > >
> > > > > > >     -compiler.targets=SWF,JS
> > > > > > >
> >  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > > > > >
> > > > > > >     Basically, you use JSRoyale with royale-config.xml, or you
> > use
> > > JS
> > > > > > with js-config.xml. The JSRoyale and JS targets produce very
> > similar
> > > > > > output, but it's best not to assume that they're exactly the same
> > in
> > > > all
> > > > > > cases.
> > > > > > >
> > > > > > >     (As a side note, it's worth mentioning that there's also
> the
> > > > JSNode
> > > > > > target that's meant to work with node-config.xml. JSNode also
> > > produces
> > > > > > different output than JSRoyale or JS because it generates code
> for
> > > > > Node.js)
> > > > > > >
> > > > > > >     One last thing. In order to use -compiler.targets=SWF,JS to
> > > > build a
> > > > > > SWC, you'll need my compiler changes from yesterday. For some
> > reason,
> > > > > that
> > > > > > was throwing an exception, while -compiler.targets=SWF,JSRoyale
> did
> > > > not.
> > > > > I
> > > > > > suspect that this may be why you were using JSRoyale instead of
> JS,
> > > but
> > > > > now
> > > > > > JS should work too!
> > > > > > >
> > > > > > >     - Josh
> > > > > > >
> > > > > > >     On 2018/09/11 09:45:52, Piotr Zarzycki <
> > > > piotrzarzycki21@gmail.com>
> > > > > > wrote:
> > > > > > >     > Hi Guys,
> > > > > > >     >
> > > > > > >     > I'm having difficulties with using created Royale SWC in
> > some
> > > > > > project. I
> > > > > > >     > have two projects. (I've uploaded them on onedrive so you
> > can
> > > > try
> > > > > > it
> > > > > > >     > yourself).
> > > > > > >     >
> > > > > > >     > Using SWF version of prepared swc I'm able to build
> project
> > > > with
> > > > > > >     > compiler.targets=SWF. Unfortunately using JS version of
> > that
> > > > SWC
> > > > > > I'm not
> > > > > > >     > able to build project with it. [1]
> > > > > > >     >
> > > > > > >     > 1. Library itself [2] - It contains configurations
> > > > > > compile-swf-config.xml
> > > > > > >     > and compile-js-config.xml. Folder "bin" has swc JS and
> SWF
> > > > > version.
> > > > > > >     >
> > > > > > >     > 2. Consumer of library [3] - This one is configured with
> > > > > Moonshine
> > > > > > and
> > > > > > >     > VSCode.
> > > > > > >     >
> > > > > > >     > I'm building JS and SWF version of SWC using following
> > > command
> > > > > > lines [4]
> > > > > > >     >
> > > > > > >     > Does anyone is seeing what could be wrong ? Those command
> > > lines
> > > > > > [4] are
> > > > > > >     > based on how Royale is building swcs Basic, Jewel etc.
> > > > > > >     >
> > > > > > >     > [1]
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D&reserved=0
> > > > > > >     > [2]
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D&reserved=0
> > > > > > >     > [3]
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D&reserved=0
> > > > > > >     > [4]
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D&reserved=0
> > > > > > >     >
> > > > > > >     > Thanks,
> > > > > > >     > --
> > > > > > >     >
> > > > > > >     > Piotr Zarzycki
> > > > > > >     >
> > > > > > >     > Patreon: *
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > > > > >     > <
> > > > > >
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > > > > >*
> > > > > > >     >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Carlos Rovira <ca...@apache.org>.
Hi,

I must to admit that still doesn't understand totally. Jewel is compiling
to html and flash (although the later compile but doesn't work yet). AFAIK,
we have two targets now flash and html, so if flash is SWF, what is
html/js/css? JSRoyale or JS? and the other what is for? I'm trying to
understand what is what and if we have 3 kind of compilations but 2 only
targets,  why we need the third.

Until yesterday, for me we had only SWF and JSRoyale, then Josh come with
JS that I was not aware of.

@Piotr, one things aside, now that you are releasing. consider that all
config xml maybe doesn't have the new libraries like Jewel, Icons, MX and
Spark, and in themes I see Basic Theme but Jewel Theme and the rest are not
listed. I suppose those files should be updated with the paths of manifest
to those libraries. Maybe I could be wrong...

thanks






El mié., 12 sept. 2018 a las 17:57, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:

> JSRoyale is connected with royale-config.xml, so you basically can have in
> your project some components from our framework. If you put JS you probably
> got fail because those components will not be recognized.
>
> At least this is how I understand it. :)
>
> Thanks,
> Piotr
>
> śr., 12 wrz 2018 o 17:52 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> > ok maybe I didn't understand this ok. I though JSRoyale was old config
> and
> > JS was the new. So if we want a flash and HTML we must use SWF + JS, if
> we
> > want only flash use SWF and if we want html we use JS only. So if
> JSRoyale
> > and JS are different things what's targeting JSRoyale?
> >
> > thanks
> >
> > El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>) escribió:
> >
> > > Hi Carlos,
> > >
> > > As I understand you are using JS in connection with appropriate config.
> > > However why are you trying to use JS config to build Jewel stuff? JS is
> > > suppose to be used for pure JS projects as far as I understand.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <ca...@apache.org>
> > > wrote:
> > >
> > > > Hi I tried JS instead of JSRoyale but I think I have something wrong
> > > > configured in Jewel, JewelTheme and JewelExample.
> > > > Josh, could you check this project configurations and suggest what
> > could
> > > be
> > > > the best config for those? If you can, that would be something like a
> > > > "template" to use. In the meanwhile, I'll continue building with
> Maven.
> > > > thanks in advance
> > > >
> > > >
> > > > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<
> > > joshtynjala@apache.org
> > > > >)
> > > > escribió:
> > > >
> > > > > Yeah, it makes sense to use JSRoyale with js-config.xml to exclude
> > > parts
> > > > > of the framework referenced in royale-config.xml. Unexpected
> changes
> > to
> > > > > js-config.xml in the future could possibly cause some surprises,
> but
> > if
> > > > > that's probably not a huge risk. This would be a decent exception
> to
> > > the
> > > > > rule.
> > > > >
> > > > > - Josh
> > > > >
> > > > > On 2018/09/11 17:47:41, Alex Harui <ah...@adobe.com.INVALID>
> wrote:
> > > > > > FWIW, I think the framework swcs are built using the config Piotr
> > is
> > > > > using since want JSRoyale output, but we don't want to assume SWC
> > > > > dependencies specified in royale-config (because we are building
> the
> > > SWCs
> > > > > in those dependencies).
> > > > > >
> > > > > > However, you are correct for most SWCs that application
> developers
> > > will
> > > > > be building.
> > > > > >
> > > > > > Of course, I could be wrong...
> > > > > > -Alex
> > > > > >
> > > > > > On 9/11/18, 10:21 AM, "Josh Tynjala" <jo...@apache.org>
> > > wrote:
> > > > > >
> > > > > >     Hey Piotr,
> > > > > >
> > > > > >     There's something a little strange in your compiler options
> > that
> > > > you
> > > > > should probably fix:
> > > > > >
> > > > > >     You're specifying JSRoyale and js-config.xml together, but
> > these
> > > > two
> > > > > aren't necessarily compatible. Here's what you have in your
> compiler
> > > > > options:
> > > > > >
> > > > > >     -compiler.targets=SWF,JSRoyale
> > > > > >
>  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > > > >
> > > > > >     However, it should either be this:
> > > > > >
> > > > > >     -compiler.targets=SWF,JSRoyale
> > > > > >
> > >  -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
> > > > > >
> > > > > >     or maybe this (depending on if you want Royale components or
> > pure
> > > > > JS):
> > > > > >
> > > > > >     -compiler.targets=SWF,JS
> > > > > >
>  -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > > > >
> > > > > >     Basically, you use JSRoyale with royale-config.xml, or you
> use
> > JS
> > > > > with js-config.xml. The JSRoyale and JS targets produce very
> similar
> > > > > output, but it's best not to assume that they're exactly the same
> in
> > > all
> > > > > cases.
> > > > > >
> > > > > >     (As a side note, it's worth mentioning that there's also the
> > > JSNode
> > > > > target that's meant to work with node-config.xml. JSNode also
> > produces
> > > > > different output than JSRoyale or JS because it generates code for
> > > > Node.js)
> > > > > >
> > > > > >     One last thing. In order to use -compiler.targets=SWF,JS to
> > > build a
> > > > > SWC, you'll need my compiler changes from yesterday. For some
> reason,
> > > > that
> > > > > was throwing an exception, while -compiler.targets=SWF,JSRoyale did
> > > not.
> > > > I
> > > > > suspect that this may be why you were using JSRoyale instead of JS,
> > but
> > > > now
> > > > > JS should work too!
> > > > > >
> > > > > >     - Josh
> > > > > >
> > > > > >     On 2018/09/11 09:45:52, Piotr Zarzycki <
> > > piotrzarzycki21@gmail.com>
> > > > > wrote:
> > > > > >     > Hi Guys,
> > > > > >     >
> > > > > >     > I'm having difficulties with using created Royale SWC in
> some
> > > > > project. I
> > > > > >     > have two projects. (I've uploaded them on onedrive so you
> can
> > > try
> > > > > it
> > > > > >     > yourself).
> > > > > >     >
> > > > > >     > Using SWF version of prepared swc I'm able to build project
> > > with
> > > > > >     > compiler.targets=SWF. Unfortunately using JS version of
> that
> > > SWC
> > > > > I'm not
> > > > > >     > able to build project with it. [1]
> > > > > >     >
> > > > > >     > 1. Library itself [2] - It contains configurations
> > > > > compile-swf-config.xml
> > > > > >     > and compile-js-config.xml. Folder "bin" has swc JS and SWF
> > > > version.
> > > > > >     >
> > > > > >     > 2. Consumer of library [3] - This one is configured with
> > > > Moonshine
> > > > > and
> > > > > >     > VSCode.
> > > > > >     >
> > > > > >     > I'm building JS and SWF version of SWC using following
> > command
> > > > > lines [4]
> > > > > >     >
> > > > > >     > Does anyone is seeing what could be wrong ? Those command
> > lines
> > > > > [4] are
> > > > > >     > based on how Royale is building swcs Basic, Jewel etc.
> > > > > >     >
> > > > > >     > [1]
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D&reserved=0
> > > > > >     > [2]
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D&reserved=0
> > > > > >     > [3]
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D&reserved=0
> > > > > >     > [4]
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D&reserved=0
> > > > > >     >
> > > > > >     > Thanks,
> > > > > >     > --
> > > > > >     >
> > > > > >     > Piotr Zarzycki
> > > > > >     >
> > > > > >     > Patreon: *
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > > > >     > <
> > > > >
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > > > >*
> > > > > >     >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


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

Re: Difficulties with using in project JS version of Royale swc

Posted by Piotr Zarzycki <pi...@gmail.com>.
JSRoyale is connected with royale-config.xml, so you basically can have in
your project some components from our framework. If you put JS you probably
got fail because those components will not be recognized.

At least this is how I understand it. :)

Thanks,
Piotr

śr., 12 wrz 2018 o 17:52 Carlos Rovira <ca...@apache.org> napisał(a):

> Hi,
> ok maybe I didn't understand this ok. I though JSRoyale was old config and
> JS was the new. So if we want a flash and HTML we must use SWF + JS, if we
> want only flash use SWF and if we want html we use JS only. So if JSRoyale
> and JS are different things what's targeting JSRoyale?
>
> thanks
>
> El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> > Hi Carlos,
> >
> > As I understand you are using JS in connection with appropriate config.
> > However why are you trying to use JS config to build Jewel stuff? JS is
> > suppose to be used for pure JS projects as far as I understand.
> >
> > Thanks,
> > Piotr
> >
> > On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <ca...@apache.org>
> > wrote:
> >
> > > Hi I tried JS instead of JSRoyale but I think I have something wrong
> > > configured in Jewel, JewelTheme and JewelExample.
> > > Josh, could you check this project configurations and suggest what
> could
> > be
> > > the best config for those? If you can, that would be something like a
> > > "template" to use. In the meanwhile, I'll continue building with Maven.
> > > thanks in advance
> > >
> > >
> > > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<
> > joshtynjala@apache.org
> > > >)
> > > escribió:
> > >
> > > > Yeah, it makes sense to use JSRoyale with js-config.xml to exclude
> > parts
> > > > of the framework referenced in royale-config.xml. Unexpected changes
> to
> > > > js-config.xml in the future could possibly cause some surprises, but
> if
> > > > that's probably not a huge risk. This would be a decent exception to
> > the
> > > > rule.
> > > >
> > > > - Josh
> > > >
> > > > On 2018/09/11 17:47:41, Alex Harui <ah...@adobe.com.INVALID> wrote:
> > > > > FWIW, I think the framework swcs are built using the config Piotr
> is
> > > > using since want JSRoyale output, but we don't want to assume SWC
> > > > dependencies specified in royale-config (because we are building the
> > SWCs
> > > > in those dependencies).
> > > > >
> > > > > However, you are correct for most SWCs that application developers
> > will
> > > > be building.
> > > > >
> > > > > Of course, I could be wrong...
> > > > > -Alex
> > > > >
> > > > > On 9/11/18, 10:21 AM, "Josh Tynjala" <jo...@apache.org>
> > wrote:
> > > > >
> > > > >     Hey Piotr,
> > > > >
> > > > >     There's something a little strange in your compiler options
> that
> > > you
> > > > should probably fix:
> > > > >
> > > > >     You're specifying JSRoyale and js-config.xml together, but
> these
> > > two
> > > > aren't necessarily compatible. Here's what you have in your compiler
> > > > options:
> > > > >
> > > > >     -compiler.targets=SWF,JSRoyale
> > > > >     -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > > >
> > > > >     However, it should either be this:
> > > > >
> > > > >     -compiler.targets=SWF,JSRoyale
> > > > >
> >  -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
> > > > >
> > > > >     or maybe this (depending on if you want Royale components or
> pure
> > > > JS):
> > > > >
> > > > >     -compiler.targets=SWF,JS
> > > > >     -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > > >
> > > > >     Basically, you use JSRoyale with royale-config.xml, or you use
> JS
> > > > with js-config.xml. The JSRoyale and JS targets produce very similar
> > > > output, but it's best not to assume that they're exactly the same in
> > all
> > > > cases.
> > > > >
> > > > >     (As a side note, it's worth mentioning that there's also the
> > JSNode
> > > > target that's meant to work with node-config.xml. JSNode also
> produces
> > > > different output than JSRoyale or JS because it generates code for
> > > Node.js)
> > > > >
> > > > >     One last thing. In order to use -compiler.targets=SWF,JS to
> > build a
> > > > SWC, you'll need my compiler changes from yesterday. For some reason,
> > > that
> > > > was throwing an exception, while -compiler.targets=SWF,JSRoyale did
> > not.
> > > I
> > > > suspect that this may be why you were using JSRoyale instead of JS,
> but
> > > now
> > > > JS should work too!
> > > > >
> > > > >     - Josh
> > > > >
> > > > >     On 2018/09/11 09:45:52, Piotr Zarzycki <
> > piotrzarzycki21@gmail.com>
> > > > wrote:
> > > > >     > Hi Guys,
> > > > >     >
> > > > >     > I'm having difficulties with using created Royale SWC in some
> > > > project. I
> > > > >     > have two projects. (I've uploaded them on onedrive so you can
> > try
> > > > it
> > > > >     > yourself).
> > > > >     >
> > > > >     > Using SWF version of prepared swc I'm able to build project
> > with
> > > > >     > compiler.targets=SWF. Unfortunately using JS version of that
> > SWC
> > > > I'm not
> > > > >     > able to build project with it. [1]
> > > > >     >
> > > > >     > 1. Library itself [2] - It contains configurations
> > > > compile-swf-config.xml
> > > > >     > and compile-js-config.xml. Folder "bin" has swc JS and SWF
> > > version.
> > > > >     >
> > > > >     > 2. Consumer of library [3] - This one is configured with
> > > Moonshine
> > > > and
> > > > >     > VSCode.
> > > > >     >
> > > > >     > I'm building JS and SWF version of SWC using following
> command
> > > > lines [4]
> > > > >     >
> > > > >     > Does anyone is seeing what could be wrong ? Those command
> lines
> > > > [4] are
> > > > >     > based on how Royale is building swcs Basic, Jewel etc.
> > > > >     >
> > > > >     > [1]
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D&reserved=0
> > > > >     > [2]
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D&reserved=0
> > > > >     > [3]
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D&reserved=0
> > > > >     > [4]
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D&reserved=0
> > > > >     >
> > > > >     > Thanks,
> > > > >     > --
> > > > >     >
> > > > >     > Piotr Zarzycki
> > > > >     >
> > > > >     > Patreon: *
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > > >     > <
> > > >
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > > >*
> > > > >     >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

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

Re: Difficulties with using in project JS version of Royale swc

Posted by Carlos Rovira <ca...@apache.org>.
Hi,
ok maybe I didn't understand this ok. I though JSRoyale was old config and
JS was the new. So if we want a flash and HTML we must use SWF + JS, if we
want only flash use SWF and if we want html we use JS only. So if JSRoyale
and JS are different things what's targeting JSRoyale?

thanks

El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:

> Hi Carlos,
>
> As I understand you are using JS in connection with appropriate config.
> However why are you trying to use JS config to build Jewel stuff? JS is
> suppose to be used for pure JS projects as far as I understand.
>
> Thanks,
> Piotr
>
> On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <ca...@apache.org>
> wrote:
>
> > Hi I tried JS instead of JSRoyale but I think I have something wrong
> > configured in Jewel, JewelTheme and JewelExample.
> > Josh, could you check this project configurations and suggest what could
> be
> > the best config for those? If you can, that would be something like a
> > "template" to use. In the meanwhile, I'll continue building with Maven.
> > thanks in advance
> >
> >
> > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<
> joshtynjala@apache.org
> > >)
> > escribió:
> >
> > > Yeah, it makes sense to use JSRoyale with js-config.xml to exclude
> parts
> > > of the framework referenced in royale-config.xml. Unexpected changes to
> > > js-config.xml in the future could possibly cause some surprises, but if
> > > that's probably not a huge risk. This would be a decent exception to
> the
> > > rule.
> > >
> > > - Josh
> > >
> > > On 2018/09/11 17:47:41, Alex Harui <ah...@adobe.com.INVALID> wrote:
> > > > FWIW, I think the framework swcs are built using the config Piotr is
> > > using since want JSRoyale output, but we don't want to assume SWC
> > > dependencies specified in royale-config (because we are building the
> SWCs
> > > in those dependencies).
> > > >
> > > > However, you are correct for most SWCs that application developers
> will
> > > be building.
> > > >
> > > > Of course, I could be wrong...
> > > > -Alex
> > > >
> > > > On 9/11/18, 10:21 AM, "Josh Tynjala" <jo...@apache.org>
> wrote:
> > > >
> > > >     Hey Piotr,
> > > >
> > > >     There's something a little strange in your compiler options that
> > you
> > > should probably fix:
> > > >
> > > >     You're specifying JSRoyale and js-config.xml together, but these
> > two
> > > aren't necessarily compatible. Here's what you have in your compiler
> > > options:
> > > >
> > > >     -compiler.targets=SWF,JSRoyale
> > > >     -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > >
> > > >     However, it should either be this:
> > > >
> > > >     -compiler.targets=SWF,JSRoyale
> > > >
>  -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
> > > >
> > > >     or maybe this (depending on if you want Royale components or pure
> > > JS):
> > > >
> > > >     -compiler.targets=SWF,JS
> > > >     -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > > >
> > > >     Basically, you use JSRoyale with royale-config.xml, or you use JS
> > > with js-config.xml. The JSRoyale and JS targets produce very similar
> > > output, but it's best not to assume that they're exactly the same in
> all
> > > cases.
> > > >
> > > >     (As a side note, it's worth mentioning that there's also the
> JSNode
> > > target that's meant to work with node-config.xml. JSNode also produces
> > > different output than JSRoyale or JS because it generates code for
> > Node.js)
> > > >
> > > >     One last thing. In order to use -compiler.targets=SWF,JS to
> build a
> > > SWC, you'll need my compiler changes from yesterday. For some reason,
> > that
> > > was throwing an exception, while -compiler.targets=SWF,JSRoyale did
> not.
> > I
> > > suspect that this may be why you were using JSRoyale instead of JS, but
> > now
> > > JS should work too!
> > > >
> > > >     - Josh
> > > >
> > > >     On 2018/09/11 09:45:52, Piotr Zarzycki <
> piotrzarzycki21@gmail.com>
> > > wrote:
> > > >     > Hi Guys,
> > > >     >
> > > >     > I'm having difficulties with using created Royale SWC in some
> > > project. I
> > > >     > have two projects. (I've uploaded them on onedrive so you can
> try
> > > it
> > > >     > yourself).
> > > >     >
> > > >     > Using SWF version of prepared swc I'm able to build project
> with
> > > >     > compiler.targets=SWF. Unfortunately using JS version of that
> SWC
> > > I'm not
> > > >     > able to build project with it. [1]
> > > >     >
> > > >     > 1. Library itself [2] - It contains configurations
> > > compile-swf-config.xml
> > > >     > and compile-js-config.xml. Folder "bin" has swc JS and SWF
> > version.
> > > >     >
> > > >     > 2. Consumer of library [3] - This one is configured with
> > Moonshine
> > > and
> > > >     > VSCode.
> > > >     >
> > > >     > I'm building JS and SWF version of SWC using following command
> > > lines [4]
> > > >     >
> > > >     > Does anyone is seeing what could be wrong ? Those command lines
> > > [4] are
> > > >     > based on how Royale is building swcs Basic, Jewel etc.
> > > >     >
> > > >     > [1]
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D&reserved=0
> > > >     > [2]
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D&reserved=0
> > > >     > [3]
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D&reserved=0
> > > >     > [4]
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D&reserved=0
> > > >     >
> > > >     > Thanks,
> > > >     > --
> > > >     >
> > > >     > Piotr Zarzycki
> > > >     >
> > > >     > Patreon: *
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > >     > <
> > >
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > > >*
> > > >     >
> > > >
> > > >
> > > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>


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

Re: Difficulties with using in project JS version of Royale swc

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

As I understand you are using JS in connection with appropriate config.
However why are you trying to use JS config to build Jewel stuff? JS is
suppose to be used for pure JS projects as far as I understand.

Thanks,
Piotr

On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira <ca...@apache.org> wrote:

> Hi I tried JS instead of JSRoyale but I think I have something wrong
> configured in Jewel, JewelTheme and JewelExample.
> Josh, could you check this project configurations and suggest what could be
> the best config for those? If you can, that would be something like a
> "template" to use. In the meanwhile, I'll continue building with Maven.
> thanks in advance
>
>
> El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<joshtynjala@apache.org
> >)
> escribió:
>
> > Yeah, it makes sense to use JSRoyale with js-config.xml to exclude parts
> > of the framework referenced in royale-config.xml. Unexpected changes to
> > js-config.xml in the future could possibly cause some surprises, but if
> > that's probably not a huge risk. This would be a decent exception to the
> > rule.
> >
> > - Josh
> >
> > On 2018/09/11 17:47:41, Alex Harui <ah...@adobe.com.INVALID> wrote:
> > > FWIW, I think the framework swcs are built using the config Piotr is
> > using since want JSRoyale output, but we don't want to assume SWC
> > dependencies specified in royale-config (because we are building the SWCs
> > in those dependencies).
> > >
> > > However, you are correct for most SWCs that application developers will
> > be building.
> > >
> > > Of course, I could be wrong...
> > > -Alex
> > >
> > > On 9/11/18, 10:21 AM, "Josh Tynjala" <jo...@apache.org> wrote:
> > >
> > >     Hey Piotr,
> > >
> > >     There's something a little strange in your compiler options that
> you
> > should probably fix:
> > >
> > >     You're specifying JSRoyale and js-config.xml together, but these
> two
> > aren't necessarily compatible. Here's what you have in your compiler
> > options:
> > >
> > >     -compiler.targets=SWF,JSRoyale
> > >     -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > >
> > >     However, it should either be this:
> > >
> > >     -compiler.targets=SWF,JSRoyale
> > >     -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
> > >
> > >     or maybe this (depending on if you want Royale components or pure
> > JS):
> > >
> > >     -compiler.targets=SWF,JS
> > >     -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> > >
> > >     Basically, you use JSRoyale with royale-config.xml, or you use JS
> > with js-config.xml. The JSRoyale and JS targets produce very similar
> > output, but it's best not to assume that they're exactly the same in all
> > cases.
> > >
> > >     (As a side note, it's worth mentioning that there's also the JSNode
> > target that's meant to work with node-config.xml. JSNode also produces
> > different output than JSRoyale or JS because it generates code for
> Node.js)
> > >
> > >     One last thing. In order to use -compiler.targets=SWF,JS to build a
> > SWC, you'll need my compiler changes from yesterday. For some reason,
> that
> > was throwing an exception, while -compiler.targets=SWF,JSRoyale did not.
> I
> > suspect that this may be why you were using JSRoyale instead of JS, but
> now
> > JS should work too!
> > >
> > >     - Josh
> > >
> > >     On 2018/09/11 09:45:52, Piotr Zarzycki <pi...@gmail.com>
> > wrote:
> > >     > Hi Guys,
> > >     >
> > >     > I'm having difficulties with using created Royale SWC in some
> > project. I
> > >     > have two projects. (I've uploaded them on onedrive so you can try
> > it
> > >     > yourself).
> > >     >
> > >     > Using SWF version of prepared swc I'm able to build project with
> > >     > compiler.targets=SWF. Unfortunately using JS version of that SWC
> > I'm not
> > >     > able to build project with it. [1]
> > >     >
> > >     > 1. Library itself [2] - It contains configurations
> > compile-swf-config.xml
> > >     > and compile-js-config.xml. Folder "bin" has swc JS and SWF
> version.
> > >     >
> > >     > 2. Consumer of library [3] - This one is configured with
> Moonshine
> > and
> > >     > VSCode.
> > >     >
> > >     > I'm building JS and SWF version of SWC using following command
> > lines [4]
> > >     >
> > >     > Does anyone is seeing what could be wrong ? Those command lines
> > [4] are
> > >     > based on how Royale is building swcs Basic, Jewel etc.
> > >     >
> > >     > [1]
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D&reserved=0
> > >     > [2]
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D&reserved=0
> > >     > [3]
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D&reserved=0
> > >     > [4]
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D&reserved=0
> > >     >
> > >     > Thanks,
> > >     > --
> > >     >
> > >     > Piotr Zarzycki
> > >     >
> > >     > Patreon: *
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > >     > <
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> > >*
> > >     >
> > >
> > >
> > >
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>

Re: Difficulties with using in project JS version of Royale swc

Posted by Carlos Rovira <ca...@apache.org>.
Hi I tried JS instead of JSRoyale but I think I have something wrong
configured in Jewel, JewelTheme and JewelExample.
Josh, could you check this project configurations and suggest what could be
the best config for those? If you can, that would be something like a
"template" to use. In the meanwhile, I'll continue building with Maven.
thanks in advance


El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (<jo...@apache.org>)
escribió:

> Yeah, it makes sense to use JSRoyale with js-config.xml to exclude parts
> of the framework referenced in royale-config.xml. Unexpected changes to
> js-config.xml in the future could possibly cause some surprises, but if
> that's probably not a huge risk. This would be a decent exception to the
> rule.
>
> - Josh
>
> On 2018/09/11 17:47:41, Alex Harui <ah...@adobe.com.INVALID> wrote:
> > FWIW, I think the framework swcs are built using the config Piotr is
> using since want JSRoyale output, but we don't want to assume SWC
> dependencies specified in royale-config (because we are building the SWCs
> in those dependencies).
> >
> > However, you are correct for most SWCs that application developers will
> be building.
> >
> > Of course, I could be wrong...
> > -Alex
> >
> > On 9/11/18, 10:21 AM, "Josh Tynjala" <jo...@apache.org> wrote:
> >
> >     Hey Piotr,
> >
> >     There's something a little strange in your compiler options that you
> should probably fix:
> >
> >     You're specifying JSRoyale and js-config.xml together, but these two
> aren't necessarily compatible. Here's what you have in your compiler
> options:
> >
> >     -compiler.targets=SWF,JSRoyale
> >     -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> >
> >     However, it should either be this:
> >
> >     -compiler.targets=SWF,JSRoyale
> >     -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
> >
> >     or maybe this (depending on if you want Royale components or pure
> JS):
> >
> >     -compiler.targets=SWF,JS
> >     -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
> >
> >     Basically, you use JSRoyale with royale-config.xml, or you use JS
> with js-config.xml. The JSRoyale and JS targets produce very similar
> output, but it's best not to assume that they're exactly the same in all
> cases.
> >
> >     (As a side note, it's worth mentioning that there's also the JSNode
> target that's meant to work with node-config.xml. JSNode also produces
> different output than JSRoyale or JS because it generates code for Node.js)
> >
> >     One last thing. In order to use -compiler.targets=SWF,JS to build a
> SWC, you'll need my compiler changes from yesterday. For some reason, that
> was throwing an exception, while -compiler.targets=SWF,JSRoyale did not. I
> suspect that this may be why you were using JSRoyale instead of JS, but now
> JS should work too!
> >
> >     - Josh
> >
> >     On 2018/09/11 09:45:52, Piotr Zarzycki <pi...@gmail.com>
> wrote:
> >     > Hi Guys,
> >     >
> >     > I'm having difficulties with using created Royale SWC in some
> project. I
> >     > have two projects. (I've uploaded them on onedrive so you can try
> it
> >     > yourself).
> >     >
> >     > Using SWF version of prepared swc I'm able to build project with
> >     > compiler.targets=SWF. Unfortunately using JS version of that SWC
> I'm not
> >     > able to build project with it. [1]
> >     >
> >     > 1. Library itself [2] - It contains configurations
> compile-swf-config.xml
> >     > and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
> >     >
> >     > 2. Consumer of library [3] - This one is configured with Moonshine
> and
> >     > VSCode.
> >     >
> >     > I'm building JS and SWF version of SWC using following command
> lines [4]
> >     >
> >     > Does anyone is seeing what could be wrong ? Those command lines
> [4] are
> >     > based on how Royale is building swcs Basic, Jewel etc.
> >     >
> >     > [1]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D&reserved=0
> >     > [2]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D&reserved=0
> >     > [3]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D&reserved=0
> >     > [4]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D&reserved=0
> >     >
> >     > Thanks,
> >     > --
> >     >
> >     > Piotr Zarzycki
> >     >
> >     > Patreon: *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> >     > <
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
> >*
> >     >
> >
> >
> >
>


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

Re: Difficulties with using in project JS version of Royale swc

Posted by Josh Tynjala <jo...@apache.org>.
Yeah, it makes sense to use JSRoyale with js-config.xml to exclude parts of the framework referenced in royale-config.xml. Unexpected changes to js-config.xml in the future could possibly cause some surprises, but if that's probably not a huge risk. This would be a decent exception to the rule.

- Josh

On 2018/09/11 17:47:41, Alex Harui <ah...@adobe.com.INVALID> wrote: 
> FWIW, I think the framework swcs are built using the config Piotr is using since want JSRoyale output, but we don't want to assume SWC dependencies specified in royale-config (because we are building the SWCs in those dependencies).
> 
> However, you are correct for most SWCs that application developers will be building.
> 
> Of course, I could be wrong...
> -Alex
> 
> On 9/11/18, 10:21 AM, "Josh Tynjala" <jo...@apache.org> wrote:
> 
>     Hey Piotr,
>     
>     There's something a little strange in your compiler options that you should probably fix:
>     
>     You're specifying JSRoyale and js-config.xml together, but these two aren't necessarily compatible. Here's what you have in your compiler options:
>     
>     -compiler.targets=SWF,JSRoyale
>     -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
>     
>     However, it should either be this:
>     
>     -compiler.targets=SWF,JSRoyale
>     -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
>     
>     or maybe this (depending on if you want Royale components or pure JS):
>     
>     -compiler.targets=SWF,JS
>     -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
>     
>     Basically, you use JSRoyale with royale-config.xml, or you use JS with js-config.xml. The JSRoyale and JS targets produce very similar output, but it's best not to assume that they're exactly the same in all cases.
>     
>     (As a side note, it's worth mentioning that there's also the JSNode target that's meant to work with node-config.xml. JSNode also produces different output than JSRoyale or JS because it generates code for Node.js)
>     
>     One last thing. In order to use -compiler.targets=SWF,JS to build a SWC, you'll need my compiler changes from yesterday. For some reason, that was throwing an exception, while -compiler.targets=SWF,JSRoyale did not. I suspect that this may be why you were using JSRoyale instead of JS, but now JS should work too!
>     
>     - Josh
>     
>     On 2018/09/11 09:45:52, Piotr Zarzycki <pi...@gmail.com> wrote: 
>     > Hi Guys,
>     > 
>     > I'm having difficulties with using created Royale SWC in some project. I
>     > have two projects. (I've uploaded them on onedrive so you can try it
>     > yourself).
>     > 
>     > Using SWF version of prepared swc I'm able to build project with
>     > compiler.targets=SWF. Unfortunately using JS version of that SWC I'm not
>     > able to build project with it. [1]
>     > 
>     > 1. Library itself [2] - It contains configurations compile-swf-config.xml
>     > and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
>     > 
>     > 2. Consumer of library [3] - This one is configured with Moonshine and
>     > VSCode.
>     > 
>     > I'm building JS and SWF version of SWC using following command lines [4]
>     > 
>     > Does anyone is seeing what could be wrong ? Those command lines [4] are
>     > based on how Royale is building swcs Basic, Jewel etc.
>     > 
>     > [1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D&reserved=0
>     > [2] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D&reserved=0
>     > [3] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D&reserved=0
>     > [4] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D&reserved=0
>     > 
>     > Thanks,
>     > -- 
>     > 
>     > Piotr Zarzycki
>     > 
>     > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0
>     > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0>*
>     > 
>     
> 
> 

Re: Difficulties with using in project JS version of Royale swc

Posted by Alex Harui <ah...@adobe.com.INVALID>.
FWIW, I think the framework swcs are built using the config Piotr is using since want JSRoyale output, but we don't want to assume SWC dependencies specified in royale-config (because we are building the SWCs in those dependencies).

However, you are correct for most SWCs that application developers will be building.

Of course, I could be wrong...
-Alex

On 9/11/18, 10:21 AM, "Josh Tynjala" <jo...@apache.org> wrote:

    Hey Piotr,
    
    There's something a little strange in your compiler options that you should probably fix:
    
    You're specifying JSRoyale and js-config.xml together, but these two aren't necessarily compatible. Here's what you have in your compiler options:
    
    -compiler.targets=SWF,JSRoyale
    -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
    
    However, it should either be this:
    
    -compiler.targets=SWF,JSRoyale
    -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
    
    or maybe this (depending on if you want Royale components or pure JS):
    
    -compiler.targets=SWF,JS
    -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
    
    Basically, you use JSRoyale with royale-config.xml, or you use JS with js-config.xml. The JSRoyale and JS targets produce very similar output, but it's best not to assume that they're exactly the same in all cases.
    
    (As a side note, it's worth mentioning that there's also the JSNode target that's meant to work with node-config.xml. JSNode also produces different output than JSRoyale or JS because it generates code for Node.js)
    
    One last thing. In order to use -compiler.targets=SWF,JS to build a SWC, you'll need my compiler changes from yesterday. For some reason, that was throwing an exception, while -compiler.targets=SWF,JSRoyale did not. I suspect that this may be why you were using JSRoyale instead of JS, but now JS should work too!
    
    - Josh
    
    On 2018/09/11 09:45:52, Piotr Zarzycki <pi...@gmail.com> wrote: 
    > Hi Guys,
    > 
    > I'm having difficulties with using created Royale SWC in some project. I
    > have two projects. (I've uploaded them on onedrive so you can try it
    > yourself).
    > 
    > Using SWF version of prepared swc I'm able to build project with
    > compiler.targets=SWF. Unfortunately using JS version of that SWC I'm not
    > able to build project with it. [1]
    > 
    > 1. Library itself [2] - It contains configurations compile-swf-config.xml
    > and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
    > 
    > 2. Consumer of library [3] - This one is configured with Moonshine and
    > VSCode.
    > 
    > I'm building JS and SWF version of SWC using following command lines [4]
    > 
    > Does anyone is seeing what could be wrong ? Those command lines [4] are
    > based on how Royale is building swcs Basic, Jewel etc.
    > 
    > [1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&amp;data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&amp;sdata=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D&amp;reserved=0
    > [2] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&amp;data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&amp;sdata=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D&amp;reserved=0
    > [3] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&amp;data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&amp;sdata=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D&amp;reserved=0
    > [4] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&amp;data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&amp;sdata=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D&amp;reserved=0
    > 
    > Thanks,
    > -- 
    > 
    > Piotr Zarzycki
    > 
    > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&amp;sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&amp;reserved=0
    > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&amp;sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&amp;reserved=0>*
    > 
    


Re: Difficulties with using in project JS version of Royale swc

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Jewel will probably need JSRoyale

On 9/11/18, 1:31 PM, "Carlos Rovira" <ca...@apache.org> wrote:

    That's oool Josh!, I'll try to try "JS" instead of "JSRoyale", that seems
    more correct.
    
    thanks! :)
    
    El mar., 11 sept. 2018 a las 19:21, Josh Tynjala (<jo...@apache.org>)
    escribió:
    
    > Hey Piotr,
    >
    > There's something a little strange in your compiler options that you
    > should probably fix:
    >
    > You're specifying JSRoyale and js-config.xml together, but these two
    > aren't necessarily compatible. Here's what you have in your compiler
    > options:
    >
    > -compiler.targets=SWF,JSRoyale
    > -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
    >
    > However, it should either be this:
    >
    > -compiler.targets=SWF,JSRoyale
    > -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
    >
    > or maybe this (depending on if you want Royale components or pure JS):
    >
    > -compiler.targets=SWF,JS
    > -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
    >
    > Basically, you use JSRoyale with royale-config.xml, or you use JS with
    > js-config.xml. The JSRoyale and JS targets produce very similar output, but
    > it's best not to assume that they're exactly the same in all cases.
    >
    > (As a side note, it's worth mentioning that there's also the JSNode target
    > that's meant to work with node-config.xml. JSNode also produces different
    > output than JSRoyale or JS because it generates code for Node.js)
    >
    > One last thing. In order to use -compiler.targets=SWF,JS to build a SWC,
    > you'll need my compiler changes from yesterday. For some reason, that was
    > throwing an exception, while -compiler.targets=SWF,JSRoyale did not. I
    > suspect that this may be why you were using JSRoyale instead of JS, but now
    > JS should work too!
    >
    > - Josh
    >
    > On 2018/09/11 09:45:52, Piotr Zarzycki <pi...@gmail.com> wrote:
    > > Hi Guys,
    > >
    > > I'm having difficulties with using created Royale SWC in some project. I
    > > have two projects. (I've uploaded them on onedrive so you can try it
    > > yourself).
    > >
    > > Using SWF version of prepared swc I'm able to build project with
    > > compiler.targets=SWF. Unfortunately using JS version of that SWC I'm not
    > > able to build project with it. [1]
    > >
    > > 1. Library itself [2] - It contains configurations compile-swf-config.xml
    > > and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
    > >
    > > 2. Consumer of library [3] - This one is configured with Moonshine and
    > > VSCode.
    > >
    > > I'm building JS and SWF version of SWC using following command lines [4]
    > >
    > > Does anyone is seeing what could be wrong ? Those command lines [4] are
    > > based on how Royale is building swcs Basic, Jewel etc.
    > >
    > > [1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940896698&amp;sdata=B2094%2FbUr5UagOsLyev0GvyGNfG9mOGHTAcHwoAXofo%3D&amp;reserved=0
    > > [2] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=di98xHqUTNgQpS1fO7BQXzIRWIyx2OGBCVJl93mh5IQ%3D&amp;reserved=0
    > > [3] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=BK35o1j4c4gLQFQ1fU0VBXJzL22D5VKG13SKTPEHDdQ%3D&amp;reserved=0
    > > [4] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=tLE%2B2741ffC30d3Nz7MW%2BjjNhyicr%2B38%2BcVH155On4E%3D&amp;reserved=0
    > >
    > > Thanks,
    > > --
    > >
    > > Piotr Zarzycki
    > >
    > > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=i8vsvL1leBKljSGLnJ7RF7%2FzBsAjRd5HrNV1HG51ntw%3D&amp;reserved=0
    > > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=i8vsvL1leBKljSGLnJ7RF7%2FzBsAjRd5HrNV1HG51ntw%3D&amp;reserved=0>*
    > >
    >
    
    
    -- 
    Carlos Rovira
    https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=b%2FBTw9QPdidBGwPDOLEwxTbjasQtWotNLVwbm%2Bv4K14%3D&amp;reserved=0
    


Re: Difficulties with using in project JS version of Royale swc

Posted by Carlos Rovira <ca...@apache.org>.
That's oool Josh!, I'll try to try "JS" instead of "JSRoyale", that seems
more correct.

thanks! :)

El mar., 11 sept. 2018 a las 19:21, Josh Tynjala (<jo...@apache.org>)
escribió:

> Hey Piotr,
>
> There's something a little strange in your compiler options that you
> should probably fix:
>
> You're specifying JSRoyale and js-config.xml together, but these two
> aren't necessarily compatible. Here's what you have in your compiler
> options:
>
> -compiler.targets=SWF,JSRoyale
> -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
>
> However, it should either be this:
>
> -compiler.targets=SWF,JSRoyale
> -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
>
> or maybe this (depending on if you want Royale components or pure JS):
>
> -compiler.targets=SWF,JS
> -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
>
> Basically, you use JSRoyale with royale-config.xml, or you use JS with
> js-config.xml. The JSRoyale and JS targets produce very similar output, but
> it's best not to assume that they're exactly the same in all cases.
>
> (As a side note, it's worth mentioning that there's also the JSNode target
> that's meant to work with node-config.xml. JSNode also produces different
> output than JSRoyale or JS because it generates code for Node.js)
>
> One last thing. In order to use -compiler.targets=SWF,JS to build a SWC,
> you'll need my compiler changes from yesterday. For some reason, that was
> throwing an exception, while -compiler.targets=SWF,JSRoyale did not. I
> suspect that this may be why you were using JSRoyale instead of JS, but now
> JS should work too!
>
> - Josh
>
> On 2018/09/11 09:45:52, Piotr Zarzycki <pi...@gmail.com> wrote:
> > Hi Guys,
> >
> > I'm having difficulties with using created Royale SWC in some project. I
> > have two projects. (I've uploaded them on onedrive so you can try it
> > yourself).
> >
> > Using SWF version of prepared swc I'm able to build project with
> > compiler.targets=SWF. Unfortunately using JS version of that SWC I'm not
> > able to build project with it. [1]
> >
> > 1. Library itself [2] - It contains configurations compile-swf-config.xml
> > and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
> >
> > 2. Consumer of library [3] - This one is configured with Moonshine and
> > VSCode.
> >
> > I'm building JS and SWF version of SWC using following command lines [4]
> >
> > Does anyone is seeing what could be wrong ? Those command lines [4] are
> > based on how Royale is building swcs Basic, Jewel etc.
> >
> > [1] https://paste.apache.org/tvhY
> > [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
> > [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
> > [4] https://paste.apache.org/OtDR
> >
> > Thanks,
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>


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

Re: Difficulties with using in project JS version of Royale swc

Posted by Josh Tynjala <jo...@apache.org>.
Hey Piotr,

There's something a little strange in your compiler options that you should probably fix:

You're specifying JSRoyale and js-config.xml together, but these two aren't necessarily compatible. Here's what you have in your compiler options:

-compiler.targets=SWF,JSRoyale
-load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml

However, it should either be this:

-compiler.targets=SWF,JSRoyale
-load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml

or maybe this (depending on if you want Royale components or pure JS):

-compiler.targets=SWF,JS
-load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml

Basically, you use JSRoyale with royale-config.xml, or you use JS with js-config.xml. The JSRoyale and JS targets produce very similar output, but it's best not to assume that they're exactly the same in all cases.

(As a side note, it's worth mentioning that there's also the JSNode target that's meant to work with node-config.xml. JSNode also produces different output than JSRoyale or JS because it generates code for Node.js)

One last thing. In order to use -compiler.targets=SWF,JS to build a SWC, you'll need my compiler changes from yesterday. For some reason, that was throwing an exception, while -compiler.targets=SWF,JSRoyale did not. I suspect that this may be why you were using JSRoyale instead of JS, but now JS should work too!

- Josh

On 2018/09/11 09:45:52, Piotr Zarzycki <pi...@gmail.com> wrote: 
> Hi Guys,
> 
> I'm having difficulties with using created Royale SWC in some project. I
> have two projects. (I've uploaded them on onedrive so you can try it
> yourself).
> 
> Using SWF version of prepared swc I'm able to build project with
> compiler.targets=SWF. Unfortunately using JS version of that SWC I'm not
> able to build project with it. [1]
> 
> 1. Library itself [2] - It contains configurations compile-swf-config.xml
> and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
> 
> 2. Consumer of library [3] - This one is configured with Moonshine and
> VSCode.
> 
> I'm building JS and SWF version of SWC using following command lines [4]
> 
> Does anyone is seeing what could be wrong ? Those command lines [4] are
> based on how Royale is building swcs Basic, Jewel etc.
> 
> [1] https://paste.apache.org/tvhY
> [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ
> [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g
> [4] https://paste.apache.org/OtDR
> 
> Thanks,
> -- 
> 
> Piotr Zarzycki
> 
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>