Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

classic Classic list List threaded Threaded
30 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Piotr Zarzycki
Hi Guys,

It looks like we have broken royale-config in released SDK. Andrew raised
in Moonshine GitHub issue that he couldn't build Hello World project. I
tried Moonshine and downloaded JS-only version of SDK. I get following
error [1].
I downloaded JS-SWF version and tried compile project again - this time it
went fine.

JS-only version of released 0.9.6 contains in section  <library-path> -
list of swc. - Those swc doesn't exists in JS-only.

Fragment of config

> <library-path>
>          <path-element>libs/Basic.swc</path-element>
>          <path-element>libs/Binding.swc</path-element>
>          <path-element>libs/Charts.swc</path-element>
>          <path-element>libs/Collections.swc</path-element>
>          <path-element>libs/Core.swc</path-element>
> ....


JS-only nightly build of 0.9.7 - doesn't contains in that section anything

>       <library-path>
>       </library-path>


[1] https://paste.apache.org/2lgvk

Thanks,
--

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Josh Tynjala-2
I just installed @apache-royale/royale-js from npm, and I'm seeing the same
errors.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <[hidden email]>
wrote:

> Hi Guys,
>
> It looks like we have broken royale-config in released SDK. Andrew raised
> in Moonshine GitHub issue that he couldn't build Hello World project. I
> tried Moonshine and downloaded JS-only version of SDK. I get following
> error [1].
> I downloaded JS-SWF version and tried compile project again - this time it
> went fine.
>
> JS-only version of released 0.9.6 contains in section  <library-path> -
> list of swc. - Those swc doesn't exists in JS-only.
>
> Fragment of config
>
> > <library-path>
> >          <path-element>libs/Basic.swc</path-element>
> >          <path-element>libs/Binding.swc</path-element>
> >          <path-element>libs/Charts.swc</path-element>
> >          <path-element>libs/Collections.swc</path-element>
> >          <path-element>libs/Core.swc</path-element>
> > ....
>
>
> JS-only nightly build of 0.9.7 - doesn't contains in that section anything
>
> >       <library-path>
> >       </library-path>
>
>
> [1] https://paste.apache.org/2lgvk
>
> Thanks,
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Josh Tynjala-2
In reply to this post by Piotr Zarzycki
It looks like the Ant target that updates the library-path for the JS-only
build is called tweak-for-jsonly. Copied here for convenience:

https://paste.apache.org/asn0i

I see that it has unless="env.AIR_HOME", which means that this target is
skipped if the AIR_HOME environment variable is set. With that in mind, I'm
guessing that AIR_HOME needs to be set for the js-swf build, but cleared
for the js-only build.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <[hidden email]>
wrote:

> Hi Guys,
>
> It looks like we have broken royale-config in released SDK. Andrew raised
> in Moonshine GitHub issue that he couldn't build Hello World project. I
> tried Moonshine and downloaded JS-only version of SDK. I get following
> error [1].
> I downloaded JS-SWF version and tried compile project again - this time it
> went fine.
>
> JS-only version of released 0.9.6 contains in section  <library-path> -
> list of swc. - Those swc doesn't exists in JS-only.
>
> Fragment of config
>
> > <library-path>
> >          <path-element>libs/Basic.swc</path-element>
> >          <path-element>libs/Binding.swc</path-element>
> >          <path-element>libs/Charts.swc</path-element>
> >          <path-element>libs/Collections.swc</path-element>
> >          <path-element>libs/Core.swc</path-element>
> > ....
>
>
> JS-only nightly build of 0.9.7 - doesn't contains in that section anything
>
> >       <library-path>
> >       </library-path>
>
>
> [1] https://paste.apache.org/2lgvk
>
> Thanks,
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Alex Harui-2
When you build with AIR_HOME (which is required to create release artifacts, since we want to produce both jsonly and js-swf in one run), a different target called "jsonly-package" run and tries to muck with some files before packaging the js-only artifacts.  It could be that the jsonly-package needs updating now that SWF SWCs are listed in royale-config.xml.  That means we've had this bug for months and nobody noticed until now.

-Alex

On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]> wrote:

    It looks like the Ant target that updates the library-path for the JS-only
    build is called tweak-for-jsonly. Copied here for convenience:
   
    https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
   
    I see that it has unless="env.AIR_HOME", which means that this target is
    skipped if the AIR_HOME environment variable is set. With that in mind, I'm
    guessing that AIR_HOME needs to be set for the js-swf build, but cleared
    for the js-only build.
   
    --
    Josh Tynjala
    Bowler Hat LLC <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0>
   
   
    On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <[hidden email]>
    wrote:
   
    > Hi Guys,
    >
    > It looks like we have broken royale-config in released SDK. Andrew raised
    > in Moonshine GitHub issue that he couldn't build Hello World project. I
    > tried Moonshine and downloaded JS-only version of SDK. I get following
    > error [1].
    > I downloaded JS-SWF version and tried compile project again - this time it
    > went fine.
    >
    > JS-only version of released 0.9.6 contains in section  <library-path> -
    > list of swc. - Those swc doesn't exists in JS-only.
    >
    > Fragment of config
    >
    > > <library-path>
    > >          <path-element>libs/Basic.swc</path-element>
    > >          <path-element>libs/Binding.swc</path-element>
    > >          <path-element>libs/Charts.swc</path-element>
    > >          <path-element>libs/Collections.swc</path-element>
    > >          <path-element>libs/Core.swc</path-element>
    > > ....
    >
    >
    > JS-only nightly build of 0.9.7 - doesn't contains in that section anything
    >
    > >       <library-path>
    > >       </library-path>
    >
    >
    > [1] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
    >
    > Thanks,
    > --
    >
    > Piotr Zarzycki
    >
    > Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
    > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0>*
    >
   

Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Andrew Wetmore
I wiped out the previous project and tried again with the Royale JS-SWF
version. When I try to compile the project in Moonshine for either JS or
Flash, I see this error message: "This SDK does not contains
playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc. Download
playerglobal here". When I look in the package for the JS-only version,
playerglobal is there. I do not see it in the JS_SWF version.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]> wrote:

> When you build with AIR_HOME (which is required to create release
> artifacts, since we want to produce both jsonly and js-swf in one run), a
> different target called "jsonly-package" run and tries to muck with some
> files before packaging the js-only artifacts.  It could be that the
> jsonly-package needs updating now that SWF SWCs are listed in
> royale-config.xml.  That means we've had this bug for months and nobody
> noticed until now.
>
> -Alex
>
> On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]> wrote:
>
>     It looks like the Ant target that updates the library-path for the
> JS-only
>     build is called tweak-for-jsonly. Copied here for convenience:
>
>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
>
>     I see that it has unless="env.AIR_HOME", which means that this target
> is
>     skipped if the AIR_HOME environment variable is set. With that in
> mind, I'm
>     guessing that AIR_HOME needs to be set for the js-swf build, but
> cleared
>     for the js-only build.
>
>     --
>     Josh Tynjala
>     Bowler Hat LLC <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
> >
>
>
>     On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
> [hidden email]>
>     wrote:
>
>     > Hi Guys,
>     >
>     > It looks like we have broken royale-config in released SDK. Andrew
> raised
>     > in Moonshine GitHub issue that he couldn't build Hello World
> project. I
>     > tried Moonshine and downloaded JS-only version of SDK. I get
> following
>     > error [1].
>     > I downloaded JS-SWF version and tried compile project again - this
> time it
>     > went fine.
>     >
>     > JS-only version of released 0.9.6 contains in section
> <library-path> -
>     > list of swc. - Those swc doesn't exists in JS-only.
>     >
>     > Fragment of config
>     >
>     > > <library-path>
>     > >          <path-element>libs/Basic.swc</path-element>
>     > >          <path-element>libs/Binding.swc</path-element>
>     > >          <path-element>libs/Charts.swc</path-element>
>     > >          <path-element>libs/Collections.swc</path-element>
>     > >          <path-element>libs/Core.swc</path-element>
>     > > ....
>     >
>     >
>     > JS-only nightly build of 0.9.7 - doesn't contains in that section
> anything
>     >
>     > >       <library-path>
>     > >       </library-path>
>     >
>     >
>     > [1]
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
>     >
>     > Thanks,
>     > --
>     >
>     > Piotr Zarzycki
>     >
>     > Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
>     > <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> >*
>     >
>
>
>

--
Andrew Wetmore

http://cottage14.blogspot.com/





<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Josh Tynjala-2
If you downloaded the js-swf binary distribution, you need to add the Adobe
dependencies manually. We cannot distribute them.

The playerglobal.swc in the js-only version is not the real one from Adobe.
It's just a placeholder to make certain IDEs happy. I think it's just a
copy of js.swc.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]> wrote:

> I wiped out the previous project and tried again with the Royale JS-SWF
> version. When I try to compile the project in Moonshine for either JS or
> Flash, I see this error message: "This SDK does not contains
> playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc. Download
> playerglobal here". When I look in the package for the JS-only version,
> playerglobal is there. I do not see it in the JS_SWF version.
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> Virus-free.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]>
> wrote:
>
> > When you build with AIR_HOME (which is required to create release
> > artifacts, since we want to produce both jsonly and js-swf in one run), a
> > different target called "jsonly-package" run and tries to muck with some
> > files before packaging the js-only artifacts.  It could be that the
> > jsonly-package needs updating now that SWF SWCs are listed in
> > royale-config.xml.  That means we've had this bug for months and nobody
> > noticed until now.
> >
> > -Alex
> >
> > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]> wrote:
> >
> >     It looks like the Ant target that updates the library-path for the
> > JS-only
> >     build is called tweak-for-jsonly. Copied here for convenience:
> >
> >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
> >
> >     I see that it has unless="env.AIR_HOME", which means that this target
> > is
> >     skipped if the AIR_HOME environment variable is set. With that in
> > mind, I'm
> >     guessing that AIR_HOME needs to be set for the js-swf build, but
> > cleared
> >     for the js-only build.
> >
> >     --
> >     Josh Tynjala
> >     Bowler Hat LLC <
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
> > >
> >
> >
> >     On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
> > [hidden email]>
> >     wrote:
> >
> >     > Hi Guys,
> >     >
> >     > It looks like we have broken royale-config in released SDK. Andrew
> > raised
> >     > in Moonshine GitHub issue that he couldn't build Hello World
> > project. I
> >     > tried Moonshine and downloaded JS-only version of SDK. I get
> > following
> >     > error [1].
> >     > I downloaded JS-SWF version and tried compile project again - this
> > time it
> >     > went fine.
> >     >
> >     > JS-only version of released 0.9.6 contains in section
> > <library-path> -
> >     > list of swc. - Those swc doesn't exists in JS-only.
> >     >
> >     > Fragment of config
> >     >
> >     > > <library-path>
> >     > >          <path-element>libs/Basic.swc</path-element>
> >     > >          <path-element>libs/Binding.swc</path-element>
> >     > >          <path-element>libs/Charts.swc</path-element>
> >     > >          <path-element>libs/Collections.swc</path-element>
> >     > >          <path-element>libs/Core.swc</path-element>
> >     > > ....
> >     >
> >     >
> >     > JS-only nightly build of 0.9.7 - doesn't contains in that section
> > anything
> >     >
> >     > >       <library-path>
> >     > >       </library-path>
> >     >
> >     >
> >     > [1]
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
> >     >
> >     > Thanks,
> >     > --
> >     >
> >     > Piotr Zarzycki
> >     >
> >     > Patreon: *
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> >     > <
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> > >*
> >     >
> >
> >
> >
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
>
>
>
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> Virus-free.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Andrew Wetmore
Thanks @Josh Tynjala <[hidden email]> . Do we say that anywhere
in the instructions where a new user would run into it?

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <[hidden email]>
wrote:

> If you downloaded the js-swf binary distribution, you need to add the Adobe
> dependencies manually. We cannot distribute them.
>
> The playerglobal.swc in the js-only version is not the real one from Adobe.
> It's just a placeholder to make certain IDEs happy. I think it's just a
> copy of js.swc.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]> wrote:
>
> > I wiped out the previous project and tried again with the Royale JS-SWF
> > version. When I try to compile the project in Moonshine for either JS or
> > Flash, I see this error message: "This SDK does not contains
> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.
> Download
> > playerglobal here". When I look in the package for the JS-only version,
> > playerglobal is there. I do not see it in the JS_SWF version.
> >
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > Virus-free.
> > www.avast.com
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]>
> > wrote:
> >
> > > When you build with AIR_HOME (which is required to create release
> > > artifacts, since we want to produce both jsonly and js-swf in one
> run), a
> > > different target called "jsonly-package" run and tries to muck with
> some
> > > files before packaging the js-only artifacts.  It could be that the
> > > jsonly-package needs updating now that SWF SWCs are listed in
> > > royale-config.xml.  That means we've had this bug for months and nobody
> > > noticed until now.
> > >
> > > -Alex
> > >
> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>
> wrote:
> > >
> > >     It looks like the Ant target that updates the library-path for the
> > > JS-only
> > >     build is called tweak-for-jsonly. Copied here for convenience:
> > >
> > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
> > >
> > >     I see that it has unless="env.AIR_HOME", which means that this
> target
> > > is
> > >     skipped if the AIR_HOME environment variable is set. With that in
> > > mind, I'm
> > >     guessing that AIR_HOME needs to be set for the js-swf build, but
> > > cleared
> > >     for the js-only build.
> > >
> > >     --
> > >     Josh Tynjala
> > >     Bowler Hat LLC <
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
> > > >
> > >
> > >
> > >     On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
> > > [hidden email]>
> > >     wrote:
> > >
> > >     > Hi Guys,
> > >     >
> > >     > It looks like we have broken royale-config in released SDK.
> Andrew
> > > raised
> > >     > in Moonshine GitHub issue that he couldn't build Hello World
> > > project. I
> > >     > tried Moonshine and downloaded JS-only version of SDK. I get
> > > following
> > >     > error [1].
> > >     > I downloaded JS-SWF version and tried compile project again -
> this
> > > time it
> > >     > went fine.
> > >     >
> > >     > JS-only version of released 0.9.6 contains in section
> > > <library-path> -
> > >     > list of swc. - Those swc doesn't exists in JS-only.
> > >     >
> > >     > Fragment of config
> > >     >
> > >     > > <library-path>
> > >     > >          <path-element>libs/Basic.swc</path-element>
> > >     > >          <path-element>libs/Binding.swc</path-element>
> > >     > >          <path-element>libs/Charts.swc</path-element>
> > >     > >          <path-element>libs/Collections.swc</path-element>
> > >     > >          <path-element>libs/Core.swc</path-element>
> > >     > > ....
> > >     >
> > >     >
> > >     > JS-only nightly build of 0.9.7 - doesn't contains in that section
> > > anything
> > >     >
> > >     > >       <library-path>
> > >     > >       </library-path>
> > >     >
> > >     >
> > >     > [1]
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
> > >     >
> > >     > Thanks,
> > >     > --
> > >     >
> > >     > Piotr Zarzycki
> > >     >
> > >     > Patreon: *
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> > >     > <
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> > > >*
> > >     >
> > >
> > >
> > >
> >
> > --
> > Andrew Wetmore
> >
> > http://cottage14.blogspot.com/
> >
> >
> >
> >
> >
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > Virus-free.
> > www.avast.com
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
>


--
Andrew Wetmore

http://cottage14.blogspot.com/





<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Josh Tynjala-2
The main royale-asjs README mentions the Adobe stuff as optional
dependencies, but the instructions seem to be aimed at contributors:

https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output

What a non-contributor user is expected to do appears to be mentioned on
this page (it requires running the InstallAdobeSDKs.xml Ant script):

https://apache.github.io/royale-docs/get-started/download-royale

I recall that if you install the npm version of Royale, it will ask to
download the Adobe dependencies for you. That's probably the easiest way
for a new user to get started.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]> wrote:

> Thanks @Josh Tynjala <[hidden email]> . Do we say that
> anywhere in the instructions where a new user would run into it?
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <[hidden email]>
> wrote:
>
>> If you downloaded the js-swf binary distribution, you need to add the
>> Adobe
>> dependencies manually. We cannot distribute them.
>>
>> The playerglobal.swc in the js-only version is not the real one from
>> Adobe.
>> It's just a placeholder to make certain IDEs happy. I think it's just a
>> copy of js.swc.
>>
>> --
>> Josh Tynjala
>> Bowler Hat LLC <https://bowlerhat.dev>
>>
>>
>> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>
>> wrote:
>>
>> > I wiped out the previous project and tried again with the Royale JS-SWF
>> > version. When I try to compile the project in Moonshine for either JS or
>> > Flash, I see this error message: "This SDK does not contains
>> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.
>> Download
>> > playerglobal here". When I look in the package for the JS-only version,
>> > playerglobal is there. I do not see it in the JS_SWF version.
>> >
>> > <
>> >
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> > >
>> > Virus-free.
>> > www.avast.com
>> > <
>> >
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> > >
>> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> >
>> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]>
>> > wrote:
>> >
>> > > When you build with AIR_HOME (which is required to create release
>> > > artifacts, since we want to produce both jsonly and js-swf in one
>> run), a
>> > > different target called "jsonly-package" run and tries to muck with
>> some
>> > > files before packaging the js-only artifacts.  It could be that the
>> > > jsonly-package needs updating now that SWF SWCs are listed in
>> > > royale-config.xml.  That means we've had this bug for months and
>> nobody
>> > > noticed until now.
>> > >
>> > > -Alex
>> > >
>> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>
>> wrote:
>> > >
>> > >     It looks like the Ant target that updates the library-path for the
>> > > JS-only
>> > >     build is called tweak-for-jsonly. Copied here for convenience:
>> > >
>> > >
>> > >
>> >
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
>> > >
>> > >     I see that it has unless="env.AIR_HOME", which means that this
>> target
>> > > is
>> > >     skipped if the AIR_HOME environment variable is set. With that in
>> > > mind, I'm
>> > >     guessing that AIR_HOME needs to be set for the js-swf build, but
>> > > cleared
>> > >     for the js-only build.
>> > >
>> > >     --
>> > >     Josh Tynjala
>> > >     Bowler Hat LLC <
>> > >
>> >
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
>> > > >
>> > >
>> > >
>> > >     On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
>> > > [hidden email]>
>> > >     wrote:
>> > >
>> > >     > Hi Guys,
>> > >     >
>> > >     > It looks like we have broken royale-config in released SDK.
>> Andrew
>> > > raised
>> > >     > in Moonshine GitHub issue that he couldn't build Hello World
>> > > project. I
>> > >     > tried Moonshine and downloaded JS-only version of SDK. I get
>> > > following
>> > >     > error [1].
>> > >     > I downloaded JS-SWF version and tried compile project again -
>> this
>> > > time it
>> > >     > went fine.
>> > >     >
>> > >     > JS-only version of released 0.9.6 contains in section
>> > > <library-path> -
>> > >     > list of swc. - Those swc doesn't exists in JS-only.
>> > >     >
>> > >     > Fragment of config
>> > >     >
>> > >     > > <library-path>
>> > >     > >          <path-element>libs/Basic.swc</path-element>
>> > >     > >          <path-element>libs/Binding.swc</path-element>
>> > >     > >          <path-element>libs/Charts.swc</path-element>
>> > >     > >          <path-element>libs/Collections.swc</path-element>
>> > >     > >          <path-element>libs/Core.swc</path-element>
>> > >     > > ....
>> > >     >
>> > >     >
>> > >     > JS-only nightly build of 0.9.7 - doesn't contains in that
>> section
>> > > anything
>> > >     >
>> > >     > >       <library-path>
>> > >     > >       </library-path>
>> > >     >
>> > >     >
>> > >     > [1]
>> > >
>> >
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
>> > >     >
>> > >     > Thanks,
>> > >     > --
>> > >     >
>> > >     > Piotr Zarzycki
>> > >     >
>> > >     > Patreon: *
>> > >
>> >
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
>> > >     > <
>> > >
>> >
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
>> > > >*
>> > >     >
>> > >
>> > >
>> > >
>> >
>> > --
>> > Andrew Wetmore
>> >
>> > http://cottage14.blogspot.com/
>> >
>> >
>> >
>> >
>> >
>> > <
>> >
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> > >
>> > Virus-free.
>> > www.avast.com
>> > <
>> >
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> > >
>> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> >
>>
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
>
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Andrew Wetmore
Instructions that require Ant or npm are not, in my humble opinion,
entry-level instructions. I should not have to be an SDK constructor in
order to use Royale to build the apps I want to build.

The instructions need to be a TON clearer, and more obvious from the
typical entry points where a new user would encounter Royale. We should
possibly also add qualifiers to any statements that an IDE like Moonshine
supports Royale. It does not support Royale as we deliver it, but only
after it has been tweaked by processes that are obvious to those developing
Royale but not to the world at large.

Sorry if I sound irked, but consider that my reaction may mirror that of
many who want to try Royale out but trip over the starting line.

Andrew

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>
wrote:

> The main royale-asjs README mentions the Adobe stuff as optional
> dependencies, but the instructions seem to be aimed at contributors:
>
>
> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output
>
> What a non-contributor user is expected to do appears to be mentioned on
> this page (it requires running the InstallAdobeSDKs.xml Ant script):
>
> https://apache.github.io/royale-docs/get-started/download-royale
>
> I recall that if you install the npm version of Royale, it will ask to
> download the Adobe dependencies for you. That's probably the easiest way
> for a new user to get started.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]> wrote:
>
> > Thanks @Josh Tynjala <[hidden email]> . Do we say that
> > anywhere in the instructions where a new user would run into it?
> >
> >
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Virus-free.
> > www.avast.com
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
> > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <[hidden email]>
> > wrote:
> >
> >> If you downloaded the js-swf binary distribution, you need to add the
> >> Adobe
> >> dependencies manually. We cannot distribute them.
> >>
> >> The playerglobal.swc in the js-only version is not the real one from
> >> Adobe.
> >> It's just a placeholder to make certain IDEs happy. I think it's just a
> >> copy of js.swc.
> >>
> >> --
> >> Josh Tynjala
> >> Bowler Hat LLC <https://bowlerhat.dev>
> >>
> >>
> >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>
> >> wrote:
> >>
> >> > I wiped out the previous project and tried again with the Royale
> JS-SWF
> >> > version. When I try to compile the project in Moonshine for either JS
> or
> >> > Flash, I see this error message: "This SDK does not contains
> >> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.
> >> Download
> >> > playerglobal here". When I look in the package for the JS-only
> version,
> >> > playerglobal is there. I do not see it in the JS_SWF version.
> >> >
> >> > <
> >> >
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> > >
> >> > Virus-free.
> >> > www.avast.com
> >> > <
> >> >
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> > >
> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> >
> >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]>
> >> > wrote:
> >> >
> >> > > When you build with AIR_HOME (which is required to create release
> >> > > artifacts, since we want to produce both jsonly and js-swf in one
> >> run), a
> >> > > different target called "jsonly-package" run and tries to muck with
> >> some
> >> > > files before packaging the js-only artifacts.  It could be that the
> >> > > jsonly-package needs updating now that SWF SWCs are listed in
> >> > > royale-config.xml.  That means we've had this bug for months and
> >> nobody
> >> > > noticed until now.
> >> > >
> >> > > -Alex
> >> > >
> >> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>
> >> wrote:
> >> > >
> >> > >     It looks like the Ant target that updates the library-path for
> the
> >> > > JS-only
> >> > >     build is called tweak-for-jsonly. Copied here for convenience:
> >> > >
> >> > >
> >> > >
> >> >
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
> >> > >
> >> > >     I see that it has unless="env.AIR_HOME", which means that this
> >> target
> >> > > is
> >> > >     skipped if the AIR_HOME environment variable is set. With that
> in
> >> > > mind, I'm
> >> > >     guessing that AIR_HOME needs to be set for the js-swf build, but
> >> > > cleared
> >> > >     for the js-only build.
> >> > >
> >> > >     --
> >> > >     Josh Tynjala
> >> > >     Bowler Hat LLC <
> >> > >
> >> >
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
> >> > > >
> >> > >
> >> > >
> >> > >     On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
> >> > > [hidden email]>
> >> > >     wrote:
> >> > >
> >> > >     > Hi Guys,
> >> > >     >
> >> > >     > It looks like we have broken royale-config in released SDK.
> >> Andrew
> >> > > raised
> >> > >     > in Moonshine GitHub issue that he couldn't build Hello World
> >> > > project. I
> >> > >     > tried Moonshine and downloaded JS-only version of SDK. I get
> >> > > following
> >> > >     > error [1].
> >> > >     > I downloaded JS-SWF version and tried compile project again -
> >> this
> >> > > time it
> >> > >     > went fine.
> >> > >     >
> >> > >     > JS-only version of released 0.9.6 contains in section
> >> > > <library-path> -
> >> > >     > list of swc. - Those swc doesn't exists in JS-only.
> >> > >     >
> >> > >     > Fragment of config
> >> > >     >
> >> > >     > > <library-path>
> >> > >     > >          <path-element>libs/Basic.swc</path-element>
> >> > >     > >          <path-element>libs/Binding.swc</path-element>
> >> > >     > >          <path-element>libs/Charts.swc</path-element>
> >> > >     > >          <path-element>libs/Collections.swc</path-element>
> >> > >     > >          <path-element>libs/Core.swc</path-element>
> >> > >     > > ....
> >> > >     >
> >> > >     >
> >> > >     > JS-only nightly build of 0.9.7 - doesn't contains in that
> >> section
> >> > > anything
> >> > >     >
> >> > >     > >       <library-path>
> >> > >     > >       </library-path>
> >> > >     >
> >> > >     >
> >> > >     > [1]
> >> > >
> >> >
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
> >> > >     >
> >> > >     > Thanks,
> >> > >     > --
> >> > >     >
> >> > >     > Piotr Zarzycki
> >> > >     >
> >> > >     > Patreon: *
> >> > >
> >> >
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> >> > >     > <
> >> > >
> >> >
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> >> > > >*
> >> > >     >
> >> > >
> >> > >
> >> > >
> >> >
> >> > --
> >> > Andrew Wetmore
> >> >
> >> > http://cottage14.blogspot.com/
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > <
> >> >
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> > >
> >> > Virus-free.
> >> > www.avast.com
> >> > <
> >> >
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> > >
> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> >
> >>
> >
> >
> > --
> > Andrew Wetmore
> >
> > http://cottage14.blogspot.com/
> >
> >
> >
> >
> >
> >
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Virus-free.
> > www.avast.com
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
>


--
Andrew Wetmore

http://cottage14.blogspot.com/





<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Andrew Wetmore
I recently had a hard drive crash, so I have a new hard drive without many
past artifacts, a virgin system. I was using 0.9.4 in Moonshine before the
crash without, as far as I know, any Ant or npm magic. Have things changed
significantly between that release and this one?

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Oct 9, 2019 at 6:40 PM Andrew Wetmore <[hidden email]> wrote:

> Instructions that require Ant or npm are not, in my humble opinion,
> entry-level instructions. I should not have to be an SDK constructor in
> order to use Royale to build the apps I want to build.
>
> The instructions need to be a TON clearer, and more obvious from the
> typical entry points where a new user would encounter Royale. We should
> possibly also add qualifiers to any statements that an IDE like Moonshine
> supports Royale. It does not support Royale as we deliver it, but only
> after it has been tweaked by processes that are obvious to those developing
> Royale but not to the world at large.
>
> Sorry if I sound irked, but consider that my reaction may mirror that of
> many who want to try Royale out but trip over the starting line.
>
> Andrew
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_-6424551647352680386_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>
> wrote:
>
>> The main royale-asjs README mentions the Adobe stuff as optional
>> dependencies, but the instructions seem to be aimed at contributors:
>>
>>
>> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output
>>
>> What a non-contributor user is expected to do appears to be mentioned on
>> this page (it requires running the InstallAdobeSDKs.xml Ant script):
>>
>> https://apache.github.io/royale-docs/get-started/download-royale
>>
>> I recall that if you install the npm version of Royale, it will ask to
>> download the Adobe dependencies for you. That's probably the easiest way
>> for a new user to get started.
>>
>> --
>> Josh Tynjala
>> Bowler Hat LLC <https://bowlerhat.dev>
>>
>>
>> On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]>
>> wrote:
>>
>> > Thanks @Josh Tynjala <[hidden email]> . Do we say that
>> > anywhere in the instructions where a new user would run into it?
>> >
>> >
>> > <
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>> Virus-free.
>> > www.avast.com
>> > <
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> >
>> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> >
>> > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <[hidden email]>
>> > wrote:
>> >
>> >> If you downloaded the js-swf binary distribution, you need to add the
>> >> Adobe
>> >> dependencies manually. We cannot distribute them.
>> >>
>> >> The playerglobal.swc in the js-only version is not the real one from
>> >> Adobe.
>> >> It's just a placeholder to make certain IDEs happy. I think it's just a
>> >> copy of js.swc.
>> >>
>> >> --
>> >> Josh Tynjala
>> >> Bowler Hat LLC <https://bowlerhat.dev>
>> >>
>> >>
>> >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>
>> >> wrote:
>> >>
>> >> > I wiped out the previous project and tried again with the Royale
>> JS-SWF
>> >> > version. When I try to compile the project in Moonshine for either
>> JS or
>> >> > Flash, I see this error message: "This SDK does not contains
>> >> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.
>> >> Download
>> >> > playerglobal here". When I look in the package for the JS-only
>> version,
>> >> > playerglobal is there. I do not see it in the JS_SWF version.
>> >> >
>> >> > <
>> >> >
>> >>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> >> > >
>> >> > Virus-free.
>> >> > www.avast.com
>> >> > <
>> >> >
>> >>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> >> > >
>> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> >> >
>> >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]>
>> >> > wrote:
>> >> >
>> >> > > When you build with AIR_HOME (which is required to create release
>> >> > > artifacts, since we want to produce both jsonly and js-swf in one
>> >> run), a
>> >> > > different target called "jsonly-package" run and tries to muck with
>> >> some
>> >> > > files before packaging the js-only artifacts.  It could be that the
>> >> > > jsonly-package needs updating now that SWF SWCs are listed in
>> >> > > royale-config.xml.  That means we've had this bug for months and
>> >> nobody
>> >> > > noticed until now.
>> >> > >
>> >> > > -Alex
>> >> > >
>> >> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>
>> >> wrote:
>> >> > >
>> >> > >     It looks like the Ant target that updates the library-path for
>> the
>> >> > > JS-only
>> >> > >     build is called tweak-for-jsonly. Copied here for convenience:
>> >> > >
>> >> > >
>> >> > >
>> >> >
>> >>
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
>> >> > >
>> >> > >     I see that it has unless="env.AIR_HOME", which means that this
>> >> target
>> >> > > is
>> >> > >     skipped if the AIR_HOME environment variable is set. With that
>> in
>> >> > > mind, I'm
>> >> > >     guessing that AIR_HOME needs to be set for the js-swf build,
>> but
>> >> > > cleared
>> >> > >     for the js-only build.
>> >> > >
>> >> > >     --
>> >> > >     Josh Tynjala
>> >> > >     Bowler Hat LLC <
>> >> > >
>> >> >
>> >>
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
>> >> > > >
>> >> > >
>> >> > >
>> >> > >     On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
>> >> > > [hidden email]>
>> >> > >     wrote:
>> >> > >
>> >> > >     > Hi Guys,
>> >> > >     >
>> >> > >     > It looks like we have broken royale-config in released SDK.
>> >> Andrew
>> >> > > raised
>> >> > >     > in Moonshine GitHub issue that he couldn't build Hello World
>> >> > > project. I
>> >> > >     > tried Moonshine and downloaded JS-only version of SDK. I get
>> >> > > following
>> >> > >     > error [1].
>> >> > >     > I downloaded JS-SWF version and tried compile project again -
>> >> this
>> >> > > time it
>> >> > >     > went fine.
>> >> > >     >
>> >> > >     > JS-only version of released 0.9.6 contains in section
>> >> > > <library-path> -
>> >> > >     > list of swc. - Those swc doesn't exists in JS-only.
>> >> > >     >
>> >> > >     > Fragment of config
>> >> > >     >
>> >> > >     > > <library-path>
>> >> > >     > >          <path-element>libs/Basic.swc</path-element>
>> >> > >     > >          <path-element>libs/Binding.swc</path-element>
>> >> > >     > >          <path-element>libs/Charts.swc</path-element>
>> >> > >     > >          <path-element>libs/Collections.swc</path-element>
>> >> > >     > >          <path-element>libs/Core.swc</path-element>
>> >> > >     > > ....
>> >> > >     >
>> >> > >     >
>> >> > >     > JS-only nightly build of 0.9.7 - doesn't contains in that
>> >> section
>> >> > > anything
>> >> > >     >
>> >> > >     > >       <library-path>
>> >> > >     > >       </library-path>
>> >> > >     >
>> >> > >     >
>> >> > >     > [1]
>> >> > >
>> >> >
>> >>
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
>> >> > >     >
>> >> > >     > Thanks,
>> >> > >     > --
>> >> > >     >
>> >> > >     > Piotr Zarzycki
>> >> > >     >
>> >> > >     > Patreon: *
>> >> > >
>> >> >
>> >>
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
>> >> > >     > <
>> >> > >
>> >> >
>> >>
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
>> >> > > >*
>> >> > >     >
>> >> > >
>> >> > >
>> >> > >
>> >> >
>> >> > --
>> >> > Andrew Wetmore
>> >> >
>> >> > http://cottage14.blogspot.com/
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > <
>> >> >
>> >>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> >> > >
>> >> > Virus-free.
>> >> > www.avast.com
>> >> > <
>> >> >
>> >>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> >> > >
>> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> >> >
>> >>
>> >
>> >
>> > --
>> > Andrew Wetmore
>> >
>> > http://cottage14.blogspot.com/
>> >
>> >
>> >
>> >
>> >
>> >
>> > <
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>> Virus-free.
>> > www.avast.com
>> > <
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> >
>> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> >
>>
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
>
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_-6424551647352680386_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>


--
Andrew Wetmore

http://cottage14.blogspot.com/
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Richard Hirstle
In reply to this post by Piotr Zarzycki
Well said Andrew - couldn’t agree more.

I am a long time Flex developer (back to the beta) and have tried
many times to get started with Royale, so that we can move all our existing
apps over,  but have fallen at the first hurdle every time.

We have now given up and are moving most over to Angular  - but still
have high hopes for Royale.

Richard

-- 
Richard Hirstle
Sent with Airmail

On 10 October 2019 at 8:10:44 am, Andrew Wetmore ([hidden email]) wrote:

Instructions that require Ant or npm are not, in my humble opinion,  
entry-level instructions. I should not have to be an SDK constructor in  
order to use Royale to build the apps I want to build.  

The instructions need to be a TON clearer, and more obvious from the  
typical entry points where a new user would encounter Royale. We should  
possibly also add qualifiers to any statements that an IDE like Moonshine  
supports Royale. It does not support Royale as we deliver it, but only  
after it has been tweaked by processes that are obvious to those developing  
Royale but not to the world at large.  

Sorry if I sound irked, but consider that my reaction may mirror that of  
many who want to try Royale out but trip over the starting line.  

Andrew  

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
Virus-free.  
www.avast.com  
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  

On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>  
wrote:  

> The main royale-asjs README mentions the Adobe stuff as optional  
> dependencies, but the instructions seem to be aimed at contributors:  
>  
>  
> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output 
>  
> What a non-contributor user is expected to do appears to be mentioned on  
> this page (it requires running the InstallAdobeSDKs.xml Ant script):  
>  
> https://apache.github.io/royale-docs/get-started/download-royale 
>  
> I recall that if you install the npm version of Royale, it will ask to  
> download the Adobe dependencies for you. That's probably the easiest way  
> for a new user to get started.  
>  
> --  
> Josh Tynjala  
> Bowler Hat LLC <https://bowlerhat.dev>  
>  
>  
> On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]> wrote:  
>  
> > Thanks @Josh Tynjala <[hidden email]> . Do we say that  
> > anywhere in the instructions where a new user would run into it?  
> >  
> >  
> > <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
> Virus-free.  
> > www.avast.com  
> > <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
> >  
> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> >  
> > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <[hidden email]>  
> > wrote:  
> >  
> >> If you downloaded the js-swf binary distribution, you need to add the  
> >> Adobe  
> >> dependencies manually. We cannot distribute them.  
> >>  
> >> The playerglobal.swc in the js-only version is not the real one from  
> >> Adobe.  
> >> It's just a placeholder to make certain IDEs happy. I think it's just a  
> >> copy of js.swc.  
> >>  
> >> --  
> >> Josh Tynjala  
> >> Bowler Hat LLC <https://bowlerhat.dev>  
> >>  
> >>  
> >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>  
> >> wrote:  
> >>  
> >> > I wiped out the previous project and tried again with the Royale  
> JS-SWF  
> >> > version. When I try to compile the project in Moonshine for either JS  
> or  
> >> > Flash, I see this error message: "This SDK does not contains  
> >> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.  
> >> Download  
> >> > playerglobal here". When I look in the package for the JS-only  
> version,  
> >> > playerglobal is there. I do not see it in the JS_SWF version.  
> >> >  
> >> > <  
> >> >  
> >>  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
> >> > >  
> >> > Virus-free.  
> >> > www.avast.com  
> >> > <  
> >> >  
> >>  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
> >> > >  
> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> >> >  
> >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]>  
> >> > wrote:  
> >> >  
> >> > > When you build with AIR_HOME (which is required to create release  
> >> > > artifacts, since we want to produce both jsonly and js-swf in one  
> >> run), a  
> >> > > different target called "jsonly-package" run and tries to muck with  
> >> some  
> >> > > files before packaging the js-only artifacts. It could be that the  
> >> > > jsonly-package needs updating now that SWF SWCs are listed in  
> >> > > royale-config.xml. That means we've had this bug for months and  
> >> nobody  
> >> > > noticed until now.  
> >> > >  
> >> > > -Alex  
> >> > >  
> >> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>  
> >> wrote:  
> >> > >  
> >> > > It looks like the Ant target that updates the library-path for  
> the  
> >> > > JS-only  
> >> > > build is called tweak-for-jsonly. Copied here for convenience:  
> >> > >  
> >> > >  
> >> > >  
> >> >  
> >>  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0 
> >> > >  
> >> > > I see that it has unless="env.AIR_HOME", which means that this  
> >> target  
> >> > > is  
> >> > > skipped if the AIR_HOME environment variable is set. With that  
> in  
> >> > > mind, I'm  
> >> > > guessing that AIR_HOME needs to be set for the js-swf build, but  
> >> > > cleared  
> >> > > for the js-only build.  
> >> > >  
> >> > > --  
> >> > > Josh Tynjala  
> >> > > Bowler Hat LLC <  
> >> > >  
> >> >  
> >>  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0 
> >> > > >  
> >> > >  
> >> > >  
> >> > > On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <  
> >> > > [hidden email]>  
> >> > > wrote:  
> >> > >  
> >> > > > Hi Guys,  
> >> > > >  
> >> > > > It looks like we have broken royale-config in released SDK.  
> >> Andrew  
> >> > > raised  
> >> > > > in Moonshine GitHub issue that he couldn't build Hello World  
> >> > > project. I  
> >> > > > tried Moonshine and downloaded JS-only version of SDK. I get  
> >> > > following  
> >> > > > error [1].  
> >> > > > I downloaded JS-SWF version and tried compile project again -  
> >> this  
> >> > > time it  
> >> > > > went fine.  
> >> > > >  
> >> > > > JS-only version of released 0.9.6 contains in section  
> >> > > <library-path> -  
> >> > > > list of swc. - Those swc doesn't exists in JS-only.  
> >> > > >  
> >> > > > Fragment of config  
> >> > > >  
> >> > > > > <library-path>  
> >> > > > > <path-element>libs/Basic.swc</path-element>  
> >> > > > > <path-element>libs/Binding.swc</path-element>  
> >> > > > > <path-element>libs/Charts.swc</path-element>  
> >> > > > > <path-element>libs/Collections.swc</path-element>  
> >> > > > > <path-element>libs/Core.swc</path-element>  
> >> > > > > ....  
> >> > > >  
> >> > > >  
> >> > > > JS-only nightly build of 0.9.7 - doesn't contains in that  
> >> section  
> >> > > anything  
> >> > > >  
> >> > > > > <library-path>  
> >> > > > > </library-path>  
> >> > > >  
> >> > > >  
> >> > > > [1]  
> >> > >  
> >> >  
> >>  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0 
> >> > > >  
> >> > > > Thanks,  
> >> > > > --  
> >> > > >  
> >> > > > Piotr Zarzycki  
> >> > > >  
> >> > > > Patreon: *  
> >> > >  
> >> >  
> >>  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0 
> >> > > > <  
> >> > >  
> >> >  
> >>  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0 
> >> > > >*  
> >> > > >  
> >> > >  
> >> > >  
> >> > >  
> >> >  
> >> > --  
> >> > Andrew Wetmore  
> >> >  
> >> > http://cottage14.blogspot.com/ 
> >> >  
> >> >  
> >> >  
> >> >  
> >> >  
> >> > <  
> >> >  
> >>  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
> >> > >  
> >> > Virus-free.  
> >> > www.avast.com  
> >> > <  
> >> >  
> >>  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
> >> > >  
> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> >> >  
> >>  
> >  
> >  
> > --  
> > Andrew Wetmore  
> >  
> > http://cottage14.blogspot.com/ 
> >  
> >  
> >  
> >  
> >  
> >  
> > <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
> Virus-free.  
> > www.avast.com  
> > <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
> >  
> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> >  
>  


--  
Andrew Wetmore  

http://cottage14.blogspot.com/ 





<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
Virus-free.  
www.avast.com  
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Josh Tynjala-2
In reply to this post by Andrew Wetmore
Node/npm is pretty normal prerequisite for most JS development these days,
but I understand your point.

Ideally, we should be encouraging developers to start with the JS-only
version, which doesn't require any of those special dependencies (other
than Java, which is necessary to run the compiler).

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Wed, Oct 9, 2019 at 2:41 PM Andrew Wetmore <[hidden email]> wrote:

> Instructions that require Ant or npm are not, in my humble opinion,
> entry-level instructions. I should not have to be an SDK constructor in
> order to use Royale to build the apps I want to build.
>
> The instructions need to be a TON clearer, and more obvious from the
> typical entry points where a new user would encounter Royale. We should
> possibly also add qualifiers to any statements that an IDE like Moonshine
> supports Royale. It does not support Royale as we deliver it, but only
> after it has been tweaked by processes that are obvious to those developing
> Royale but not to the world at large.
>
> Sorry if I sound irked, but consider that my reaction may mirror that of
> many who want to try Royale out but trip over the starting line.
>
> Andrew
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> Virus-free.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>
> wrote:
>
> > The main royale-asjs README mentions the Adobe stuff as optional
> > dependencies, but the instructions seem to be aimed at contributors:
> >
> >
> >
> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output
> >
> > What a non-contributor user is expected to do appears to be mentioned on
> > this page (it requires running the InstallAdobeSDKs.xml Ant script):
> >
> > https://apache.github.io/royale-docs/get-started/download-royale
> >
> > I recall that if you install the npm version of Royale, it will ask to
> > download the Adobe dependencies for you. That's probably the easiest way
> > for a new user to get started.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]>
> wrote:
> >
> > > Thanks @Josh Tynjala <[hidden email]> . Do we say that
> > > anywhere in the instructions where a new user would run into it?
> > >
> > >
> > > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> > Virus-free.
> > > www.avast.com
> > > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > >
> > > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <[hidden email]
> >
> > > wrote:
> > >
> > >> If you downloaded the js-swf binary distribution, you need to add the
> > >> Adobe
> > >> dependencies manually. We cannot distribute them.
> > >>
> > >> The playerglobal.swc in the js-only version is not the real one from
> > >> Adobe.
> > >> It's just a placeholder to make certain IDEs happy. I think it's just
> a
> > >> copy of js.swc.
> > >>
> > >> --
> > >> Josh Tynjala
> > >> Bowler Hat LLC <https://bowlerhat.dev>
> > >>
> > >>
> > >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>
> > >> wrote:
> > >>
> > >> > I wiped out the previous project and tried again with the Royale
> > JS-SWF
> > >> > version. When I try to compile the project in Moonshine for either
> JS
> > or
> > >> > Flash, I see this error message: "This SDK does not contains
> > >> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.
> > >> Download
> > >> > playerglobal here". When I look in the package for the JS-only
> > version,
> > >> > playerglobal is there. I do not see it in the JS_SWF version.
> > >> >
> > >> > <
> > >> >
> > >>
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >> > >
> > >> > Virus-free.
> > >> > www.avast.com
> > >> > <
> > >> >
> > >>
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >> > >
> > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > >> >
> > >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]
> >
> > >> > wrote:
> > >> >
> > >> > > When you build with AIR_HOME (which is required to create release
> > >> > > artifacts, since we want to produce both jsonly and js-swf in one
> > >> run), a
> > >> > > different target called "jsonly-package" run and tries to muck
> with
> > >> some
> > >> > > files before packaging the js-only artifacts.  It could be that
> the
> > >> > > jsonly-package needs updating now that SWF SWCs are listed in
> > >> > > royale-config.xml.  That means we've had this bug for months and
> > >> nobody
> > >> > > noticed until now.
> > >> > >
> > >> > > -Alex
> > >> > >
> > >> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>
> > >> wrote:
> > >> > >
> > >> > >     It looks like the Ant target that updates the library-path for
> > the
> > >> > > JS-only
> > >> > >     build is called tweak-for-jsonly. Copied here for convenience:
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
> > >> > >
> > >> > >     I see that it has unless="env.AIR_HOME", which means that this
> > >> target
> > >> > > is
> > >> > >     skipped if the AIR_HOME environment variable is set. With that
> > in
> > >> > > mind, I'm
> > >> > >     guessing that AIR_HOME needs to be set for the js-swf build,
> but
> > >> > > cleared
> > >> > >     for the js-only build.
> > >> > >
> > >> > >     --
> > >> > >     Josh Tynjala
> > >> > >     Bowler Hat LLC <
> > >> > >
> > >> >
> > >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
> > >> > > >
> > >> > >
> > >> > >
> > >> > >     On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
> > >> > > [hidden email]>
> > >> > >     wrote:
> > >> > >
> > >> > >     > Hi Guys,
> > >> > >     >
> > >> > >     > It looks like we have broken royale-config in released SDK.
> > >> Andrew
> > >> > > raised
> > >> > >     > in Moonshine GitHub issue that he couldn't build Hello World
> > >> > > project. I
> > >> > >     > tried Moonshine and downloaded JS-only version of SDK. I get
> > >> > > following
> > >> > >     > error [1].
> > >> > >     > I downloaded JS-SWF version and tried compile project again
> -
> > >> this
> > >> > > time it
> > >> > >     > went fine.
> > >> > >     >
> > >> > >     > JS-only version of released 0.9.6 contains in section
> > >> > > <library-path> -
> > >> > >     > list of swc. - Those swc doesn't exists in JS-only.
> > >> > >     >
> > >> > >     > Fragment of config
> > >> > >     >
> > >> > >     > > <library-path>
> > >> > >     > >          <path-element>libs/Basic.swc</path-element>
> > >> > >     > >          <path-element>libs/Binding.swc</path-element>
> > >> > >     > >          <path-element>libs/Charts.swc</path-element>
> > >> > >     > >          <path-element>libs/Collections.swc</path-element>
> > >> > >     > >          <path-element>libs/Core.swc</path-element>
> > >> > >     > > ....
> > >> > >     >
> > >> > >     >
> > >> > >     > JS-only nightly build of 0.9.7 - doesn't contains in that
> > >> section
> > >> > > anything
> > >> > >     >
> > >> > >     > >       <library-path>
> > >> > >     > >       </library-path>
> > >> > >     >
> > >> > >     >
> > >> > >     > [1]
> > >> > >
> > >> >
> > >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
> > >> > >     >
> > >> > >     > Thanks,
> > >> > >     > --
> > >> > >     >
> > >> > >     > Piotr Zarzycki
> > >> > >     >
> > >> > >     > Patreon: *
> > >> > >
> > >> >
> > >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> > >> > >     > <
> > >> > >
> > >> >
> > >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> > >> > > >*
> > >> > >     >
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >> > --
> > >> > Andrew Wetmore
> > >> >
> > >> > http://cottage14.blogspot.com/
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > <
> > >> >
> > >>
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >> > >
> > >> > Virus-free.
> > >> > www.avast.com
> > >> > <
> > >> >
> > >>
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >> > >
> > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > >> >
> > >>
> > >
> > >
> > > --
> > > Andrew Wetmore
> > >
> > > http://cottage14.blogspot.com/
> > >
> > >
> > >
> > >
> > >
> > >
> > > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> > Virus-free.
> > > www.avast.com
> > > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > >
> >
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
>
>
>
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> Virus-free.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Andrew Wetmore
That would be fine. I am stuck, evidently, at something in the 0.9.6
release of the JS-only version being broken.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Oct 9, 2019 at 7:09 PM Josh Tynjala <[hidden email]>
wrote:

> Node/npm is pretty normal prerequisite for most JS development these days,
> but I understand your point.
>
> Ideally, we should be encouraging developers to start with the JS-only
> version, which doesn't require any of those special dependencies (other
> than Java, which is necessary to run the compiler).
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Wed, Oct 9, 2019 at 2:41 PM Andrew Wetmore <[hidden email]> wrote:
>
> > Instructions that require Ant or npm are not, in my humble opinion,
> > entry-level instructions. I should not have to be an SDK constructor in
> > order to use Royale to build the apps I want to build.
> >
> > The instructions need to be a TON clearer, and more obvious from the
> > typical entry points where a new user would encounter Royale. We should
> > possibly also add qualifiers to any statements that an IDE like Moonshine
> > supports Royale. It does not support Royale as we deliver it, but only
> > after it has been tweaked by processes that are obvious to those
> developing
> > Royale but not to the world at large.
> >
> > Sorry if I sound irked, but consider that my reaction may mirror that of
> > many who want to try Royale out but trip over the starting line.
> >
> > Andrew
> >
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > Virus-free.
> > www.avast.com
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
> > On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>
> > wrote:
> >
> > > The main royale-asjs README mentions the Adobe stuff as optional
> > > dependencies, but the instructions seem to be aimed at contributors:
> > >
> > >
> > >
> >
> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output
> > >
> > > What a non-contributor user is expected to do appears to be mentioned
> on
> > > this page (it requires running the InstallAdobeSDKs.xml Ant script):
> > >
> > > https://apache.github.io/royale-docs/get-started/download-royale
> > >
> > > I recall that if you install the npm version of Royale, it will ask to
> > > download the Adobe dependencies for you. That's probably the easiest
> way
> > > for a new user to get started.
> > >
> > > --
> > > Josh Tynjala
> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >
> > >
> > > On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]>
> > wrote:
> > >
> > > > Thanks @Josh Tynjala <[hidden email]> . Do we say that
> > > > anywhere in the instructions where a new user would run into it?
> > > >
> > > >
> > > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > > Virus-free.
> > > > www.avast.com
> > > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > > >
> > > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > > >
> > > > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <
> [hidden email]
> > >
> > > > wrote:
> > > >
> > > >> If you downloaded the js-swf binary distribution, you need to add
> the
> > > >> Adobe
> > > >> dependencies manually. We cannot distribute them.
> > > >>
> > > >> The playerglobal.swc in the js-only version is not the real one from
> > > >> Adobe.
> > > >> It's just a placeholder to make certain IDEs happy. I think it's
> just
> > a
> > > >> copy of js.swc.
> > > >>
> > > >> --
> > > >> Josh Tynjala
> > > >> Bowler Hat LLC <https://bowlerhat.dev>
> > > >>
> > > >>
> > > >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>
> > > >> wrote:
> > > >>
> > > >> > I wiped out the previous project and tried again with the Royale
> > > JS-SWF
> > > >> > version. When I try to compile the project in Moonshine for either
> > JS
> > > or
> > > >> > Flash, I see this error message: "This SDK does not contains
> > > >> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.
> > > >> Download
> > > >> > playerglobal here". When I look in the package for the JS-only
> > > version,
> > > >> > playerglobal is there. I do not see it in the JS_SWF version.
> > > >> >
> > > >> > <
> > > >> >
> > > >>
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > > >> > >
> > > >> > Virus-free.
> > > >> > www.avast.com
> > > >> > <
> > > >> >
> > > >>
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > > >> > >
> > > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > > >> >
> > > >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui
> <[hidden email]
> > >
> > > >> > wrote:
> > > >> >
> > > >> > > When you build with AIR_HOME (which is required to create
> release
> > > >> > > artifacts, since we want to produce both jsonly and js-swf in
> one
> > > >> run), a
> > > >> > > different target called "jsonly-package" run and tries to muck
> > with
> > > >> some
> > > >> > > files before packaging the js-only artifacts.  It could be that
> > the
> > > >> > > jsonly-package needs updating now that SWF SWCs are listed in
> > > >> > > royale-config.xml.  That means we've had this bug for months and
> > > >> nobody
> > > >> > > noticed until now.
> > > >> > >
> > > >> > > -Alex
> > > >> > >
> > > >> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]
> >
> > > >> wrote:
> > > >> > >
> > > >> > >     It looks like the Ant target that updates the library-path
> for
> > > the
> > > >> > > JS-only
> > > >> > >     build is called tweak-for-jsonly. Copied here for
> convenience:
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
> > > >> > >
> > > >> > >     I see that it has unless="env.AIR_HOME", which means that
> this
> > > >> target
> > > >> > > is
> > > >> > >     skipped if the AIR_HOME environment variable is set. With
> that
> > > in
> > > >> > > mind, I'm
> > > >> > >     guessing that AIR_HOME needs to be set for the js-swf build,
> > but
> > > >> > > cleared
> > > >> > >     for the js-only build.
> > > >> > >
> > > >> > >     --
> > > >> > >     Josh Tynjala
> > > >> > >     Bowler Hat LLC <
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >     On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
> > > >> > > [hidden email]>
> > > >> > >     wrote:
> > > >> > >
> > > >> > >     > Hi Guys,
> > > >> > >     >
> > > >> > >     > It looks like we have broken royale-config in released
> SDK.
> > > >> Andrew
> > > >> > > raised
> > > >> > >     > in Moonshine GitHub issue that he couldn't build Hello
> World
> > > >> > > project. I
> > > >> > >     > tried Moonshine and downloaded JS-only version of SDK. I
> get
> > > >> > > following
> > > >> > >     > error [1].
> > > >> > >     > I downloaded JS-SWF version and tried compile project
> again
> > -
> > > >> this
> > > >> > > time it
> > > >> > >     > went fine.
> > > >> > >     >
> > > >> > >     > JS-only version of released 0.9.6 contains in section
> > > >> > > <library-path> -
> > > >> > >     > list of swc. - Those swc doesn't exists in JS-only.
> > > >> > >     >
> > > >> > >     > Fragment of config
> > > >> > >     >
> > > >> > >     > > <library-path>
> > > >> > >     > >          <path-element>libs/Basic.swc</path-element>
> > > >> > >     > >          <path-element>libs/Binding.swc</path-element>
> > > >> > >     > >          <path-element>libs/Charts.swc</path-element>
> > > >> > >     > >
> <path-element>libs/Collections.swc</path-element>
> > > >> > >     > >          <path-element>libs/Core.swc</path-element>
> > > >> > >     > > ....
> > > >> > >     >
> > > >> > >     >
> > > >> > >     > JS-only nightly build of 0.9.7 - doesn't contains in that
> > > >> section
> > > >> > > anything
> > > >> > >     >
> > > >> > >     > >       <library-path>
> > > >> > >     > >       </library-path>
> > > >> > >     >
> > > >> > >     >
> > > >> > >     > [1]
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
> > > >> > >     >
> > > >> > >     > Thanks,
> > > >> > >     > --
> > > >> > >     >
> > > >> > >     > Piotr Zarzycki
> > > >> > >     >
> > > >> > >     > Patreon: *
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> > > >> > >     > <
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> > > >> > > >*
> > > >> > >     >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> > --
> > > >> > Andrew Wetmore
> > > >> >
> > > >> > http://cottage14.blogspot.com/
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> > <
> > > >> >
> > > >>
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > > >> > >
> > > >> > Virus-free.
> > > >> > www.avast.com
> > > >> > <
> > > >> >
> > > >>
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > > >> > >
> > > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > > >> >
> > > >>
> > > >
> > > >
> > > > --
> > > > Andrew Wetmore
> > > >
> > > > http://cottage14.blogspot.com/
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > > Virus-free.
> > > > www.avast.com
> > > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > > >
> > > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > > >
> > >
> >
> >
> > --
> > Andrew Wetmore
> >
> > http://cottage14.blogspot.com/
> >
> >
> >
> >
> >
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > Virus-free.
> > www.avast.com
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
>


--
Andrew Wetmore

http://cottage14.blogspot.com/





<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Josh Tynjala-2
In reply to this post by Andrew Wetmore
You were probably using the JS-only version of 0.9.4. As I said, the
JS-only version does not require Ant or npm.

You're not missing any new requirements/dependencies that were added
between 0.9.4 and 0.9.6. *The JS-only version of 0.9.6 is simply broken.*
Something in the build went wrong, and we failed to discover it during the
release process. If I were to guess, it's probably because nightly builds
were always working correctly, and we didn't do enough manual testing of
the release candidate. Anyway, this is obviously a critical issue that we
need to get fixed ASAP.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Wed, Oct 9, 2019 at 3:21 PM Andrew Wetmore <[hidden email]> wrote:

> I recently had a hard drive crash, so I have a new hard drive without many
> past artifacts, a virgin system. I was using 0.9.4 in Moonshine before the
> crash without, as far as I know, any Ant or npm magic. Have things changed
> significantly between that release and this one?
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> Virus-free.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Wed, Oct 9, 2019 at 6:40 PM Andrew Wetmore <[hidden email]> wrote:
>
> > Instructions that require Ant or npm are not, in my humble opinion,
> > entry-level instructions. I should not have to be an SDK constructor in
> > order to use Royale to build the apps I want to build.
> >
> > The instructions need to be a TON clearer, and more obvious from the
> > typical entry points where a new user would encounter Royale. We should
> > possibly also add qualifiers to any statements that an IDE like Moonshine
> > supports Royale. It does not support Royale as we deliver it, but only
> > after it has been tweaked by processes that are obvious to those
> developing
> > Royale but not to the world at large.
> >
> > Sorry if I sound irked, but consider that my reaction may mirror that of
> > many who want to try Royale out but trip over the starting line.
> >
> > Andrew
> >
> >
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Virus-free.
> > www.avast.com
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> > <#m_-6424551647352680386_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
> > On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>
> > wrote:
> >
> >> The main royale-asjs README mentions the Adobe stuff as optional
> >> dependencies, but the instructions seem to be aimed at contributors:
> >>
> >>
> >>
> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output
> >>
> >> What a non-contributor user is expected to do appears to be mentioned on
> >> this page (it requires running the InstallAdobeSDKs.xml Ant script):
> >>
> >> https://apache.github.io/royale-docs/get-started/download-royale
> >>
> >> I recall that if you install the npm version of Royale, it will ask to
> >> download the Adobe dependencies for you. That's probably the easiest way
> >> for a new user to get started.
> >>
> >> --
> >> Josh Tynjala
> >> Bowler Hat LLC <https://bowlerhat.dev>
> >>
> >>
> >> On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]>
> >> wrote:
> >>
> >> > Thanks @Josh Tynjala <[hidden email]> . Do we say that
> >> > anywhere in the instructions where a new user would run into it?
> >> >
> >> >
> >> > <
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> >> Virus-free.
> >> > www.avast.com
> >> > <
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >
> >> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> >
> >> > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <
> [hidden email]>
> >> > wrote:
> >> >
> >> >> If you downloaded the js-swf binary distribution, you need to add the
> >> >> Adobe
> >> >> dependencies manually. We cannot distribute them.
> >> >>
> >> >> The playerglobal.swc in the js-only version is not the real one from
> >> >> Adobe.
> >> >> It's just a placeholder to make certain IDEs happy. I think it's
> just a
> >> >> copy of js.swc.
> >> >>
> >> >> --
> >> >> Josh Tynjala
> >> >> Bowler Hat LLC <https://bowlerhat.dev>
> >> >>
> >> >>
> >> >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>
> >> >> wrote:
> >> >>
> >> >> > I wiped out the previous project and tried again with the Royale
> >> JS-SWF
> >> >> > version. When I try to compile the project in Moonshine for either
> >> JS or
> >> >> > Flash, I see this error message: "This SDK does not contains
> >> >> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.
> >> >> Download
> >> >> > playerglobal here". When I look in the package for the JS-only
> >> version,
> >> >> > playerglobal is there. I do not see it in the JS_SWF version.
> >> >> >
> >> >> > <
> >> >> >
> >> >>
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >> > >
> >> >> > Virus-free.
> >> >> > www.avast.com
> >> >> > <
> >> >> >
> >> >>
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >> > >
> >> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> >> >
> >> >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]
> >
> >> >> > wrote:
> >> >> >
> >> >> > > When you build with AIR_HOME (which is required to create release
> >> >> > > artifacts, since we want to produce both jsonly and js-swf in one
> >> >> run), a
> >> >> > > different target called "jsonly-package" run and tries to muck
> with
> >> >> some
> >> >> > > files before packaging the js-only artifacts.  It could be that
> the
> >> >> > > jsonly-package needs updating now that SWF SWCs are listed in
> >> >> > > royale-config.xml.  That means we've had this bug for months and
> >> >> nobody
> >> >> > > noticed until now.
> >> >> > >
> >> >> > > -Alex
> >> >> > >
> >> >> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>
> >> >> wrote:
> >> >> > >
> >> >> > >     It looks like the Ant target that updates the library-path
> for
> >> the
> >> >> > > JS-only
> >> >> > >     build is called tweak-for-jsonly. Copied here for
> convenience:
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
> >> >> > >
> >> >> > >     I see that it has unless="env.AIR_HOME", which means that
> this
> >> >> target
> >> >> > > is
> >> >> > >     skipped if the AIR_HOME environment variable is set. With
> that
> >> in
> >> >> > > mind, I'm
> >> >> > >     guessing that AIR_HOME needs to be set for the js-swf build,
> >> but
> >> >> > > cleared
> >> >> > >     for the js-only build.
> >> >> > >
> >> >> > >     --
> >> >> > >     Josh Tynjala
> >> >> > >     Bowler Hat LLC <
> >> >> > >
> >> >> >
> >> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
> >> >> > > >
> >> >> > >
> >> >> > >
> >> >> > >     On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
> >> >> > > [hidden email]>
> >> >> > >     wrote:
> >> >> > >
> >> >> > >     > Hi Guys,
> >> >> > >     >
> >> >> > >     > It looks like we have broken royale-config in released SDK.
> >> >> Andrew
> >> >> > > raised
> >> >> > >     > in Moonshine GitHub issue that he couldn't build Hello
> World
> >> >> > > project. I
> >> >> > >     > tried Moonshine and downloaded JS-only version of SDK. I
> get
> >> >> > > following
> >> >> > >     > error [1].
> >> >> > >     > I downloaded JS-SWF version and tried compile project
> again -
> >> >> this
> >> >> > > time it
> >> >> > >     > went fine.
> >> >> > >     >
> >> >> > >     > JS-only version of released 0.9.6 contains in section
> >> >> > > <library-path> -
> >> >> > >     > list of swc. - Those swc doesn't exists in JS-only.
> >> >> > >     >
> >> >> > >     > Fragment of config
> >> >> > >     >
> >> >> > >     > > <library-path>
> >> >> > >     > >          <path-element>libs/Basic.swc</path-element>
> >> >> > >     > >          <path-element>libs/Binding.swc</path-element>
> >> >> > >     > >          <path-element>libs/Charts.swc</path-element>
> >> >> > >     > >
> <path-element>libs/Collections.swc</path-element>
> >> >> > >     > >          <path-element>libs/Core.swc</path-element>
> >> >> > >     > > ....
> >> >> > >     >
> >> >> > >     >
> >> >> > >     > JS-only nightly build of 0.9.7 - doesn't contains in that
> >> >> section
> >> >> > > anything
> >> >> > >     >
> >> >> > >     > >       <library-path>
> >> >> > >     > >       </library-path>
> >> >> > >     >
> >> >> > >     >
> >> >> > >     > [1]
> >> >> > >
> >> >> >
> >> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
> >> >> > >     >
> >> >> > >     > Thanks,
> >> >> > >     > --
> >> >> > >     >
> >> >> > >     > Piotr Zarzycki
> >> >> > >     >
> >> >> > >     > Patreon: *
> >> >> > >
> >> >> >
> >> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> >> >> > >     > <
> >> >> > >
> >> >> >
> >> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> >> >> > > >*
> >> >> > >     >
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> >
> >> >> > --
> >> >> > Andrew Wetmore
> >> >> >
> >> >> > http://cottage14.blogspot.com/
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > <
> >> >> >
> >> >>
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >> > >
> >> >> > Virus-free.
> >> >> > www.avast.com
> >> >> > <
> >> >> >
> >> >>
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >> > >
> >> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> >> >
> >> >>
> >> >
> >> >
> >> > --
> >> > Andrew Wetmore
> >> >
> >> > http://cottage14.blogspot.com/
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > <
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> >> Virus-free.
> >> > www.avast.com
> >> > <
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >
> >> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> >
> >>
> >
> >
> > --
> > Andrew Wetmore
> >
> > http://cottage14.blogspot.com/
> >
> >
> >
> >
> >
> >
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Virus-free.
> > www.avast.com
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> > <#m_-6424551647352680386_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
Reply | Threaded
Open this post in threaded view
|

Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Piotr Zarzycki
In reply to this post by Andrew Wetmore
Hey Andrew,

I recommend you make small workaround.
1) Take again JS only version of Royale 0.9.6
2) Open framework/royale-config.xml
3) Remove everything what is inside tag library-path
4) Try rebuild

Thanks,
Piotr

On Thu, Oct 10, 2019, 12:21 AM Andrew Wetmore <[hidden email]> wrote:

> I recently had a hard drive crash, so I have a new hard drive without many
> past artifacts, a virgin system. I was using 0.9.4 in Moonshine before the
> crash without, as far as I know, any Ant or npm magic. Have things changed
> significantly between that release and this one?
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> Virus-free.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Wed, Oct 9, 2019 at 6:40 PM Andrew Wetmore <[hidden email]> wrote:
>
> > Instructions that require Ant or npm are not, in my humble opinion,
> > entry-level instructions. I should not have to be an SDK constructor in
> > order to use Royale to build the apps I want to build.
> >
> > The instructions need to be a TON clearer, and more obvious from the
> > typical entry points where a new user would encounter Royale. We should
> > possibly also add qualifiers to any statements that an IDE like Moonshine
> > supports Royale. It does not support Royale as we deliver it, but only
> > after it has been tweaked by processes that are obvious to those
> developing
> > Royale but not to the world at large.
> >
> > Sorry if I sound irked, but consider that my reaction may mirror that of
> > many who want to try Royale out but trip over the starting line.
> >
> > Andrew
> >
> >
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Virus-free.
> > www.avast.com
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> > <#m_-6424551647352680386_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
> > On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>
> > wrote:
> >
> >> The main royale-asjs README mentions the Adobe stuff as optional
> >> dependencies, but the instructions seem to be aimed at contributors:
> >>
> >>
> >>
> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output
> >>
> >> What a non-contributor user is expected to do appears to be mentioned on
> >> this page (it requires running the InstallAdobeSDKs.xml Ant script):
> >>
> >> https://apache.github.io/royale-docs/get-started/download-royale
> >>
> >> I recall that if you install the npm version of Royale, it will ask to
> >> download the Adobe dependencies for you. That's probably the easiest way
> >> for a new user to get started.
> >>
> >> --
> >> Josh Tynjala
> >> Bowler Hat LLC <https://bowlerhat.dev>
> >>
> >>
> >> On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]>
> >> wrote:
> >>
> >> > Thanks @Josh Tynjala <[hidden email]> . Do we say that
> >> > anywhere in the instructions where a new user would run into it?
> >> >
> >> >
> >> > <
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> >> Virus-free.
> >> > www.avast.com
> >> > <
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >
> >> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> >
> >> > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <
> [hidden email]>
> >> > wrote:
> >> >
> >> >> If you downloaded the js-swf binary distribution, you need to add the
> >> >> Adobe
> >> >> dependencies manually. We cannot distribute them.
> >> >>
> >> >> The playerglobal.swc in the js-only version is not the real one from
> >> >> Adobe.
> >> >> It's just a placeholder to make certain IDEs happy. I think it's
> just a
> >> >> copy of js.swc.
> >> >>
> >> >> --
> >> >> Josh Tynjala
> >> >> Bowler Hat LLC <https://bowlerhat.dev>
> >> >>
> >> >>
> >> >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>
> >> >> wrote:
> >> >>
> >> >> > I wiped out the previous project and tried again with the Royale
> >> JS-SWF
> >> >> > version. When I try to compile the project in Moonshine for either
> >> JS or
> >> >> > Flash, I see this error message: "This SDK does not contains
> >> >> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.
> >> >> Download
> >> >> > playerglobal here". When I look in the package for the JS-only
> >> version,
> >> >> > playerglobal is there. I do not see it in the JS_SWF version.
> >> >> >
> >> >> > <
> >> >> >
> >> >>
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >> > >
> >> >> > Virus-free.
> >> >> > www.avast.com
> >> >> > <
> >> >> >
> >> >>
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >> > >
> >> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> >> >
> >> >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]
> >
> >> >> > wrote:
> >> >> >
> >> >> > > When you build with AIR_HOME (which is required to create release
> >> >> > > artifacts, since we want to produce both jsonly and js-swf in one
> >> >> run), a
> >> >> > > different target called "jsonly-package" run and tries to muck
> with
> >> >> some
> >> >> > > files before packaging the js-only artifacts.  It could be that
> the
> >> >> > > jsonly-package needs updating now that SWF SWCs are listed in
> >> >> > > royale-config.xml.  That means we've had this bug for months and
> >> >> nobody
> >> >> > > noticed until now.
> >> >> > >
> >> >> > > -Alex
> >> >> > >
> >> >> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>
> >> >> wrote:
> >> >> > >
> >> >> > >     It looks like the Ant target that updates the library-path
> for
> >> the
> >> >> > > JS-only
> >> >> > >     build is called tweak-for-jsonly. Copied here for
> convenience:
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
> >> >> > >
> >> >> > >     I see that it has unless="env.AIR_HOME", which means that
> this
> >> >> target
> >> >> > > is
> >> >> > >     skipped if the AIR_HOME environment variable is set. With
> that
> >> in
> >> >> > > mind, I'm
> >> >> > >     guessing that AIR_HOME needs to be set for the js-swf build,
> >> but
> >> >> > > cleared
> >> >> > >     for the js-only build.
> >> >> > >
> >> >> > >     --
> >> >> > >     Josh Tynjala
> >> >> > >     Bowler Hat LLC <
> >> >> > >
> >> >> >
> >> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
> >> >> > > >
> >> >> > >
> >> >> > >
> >> >> > >     On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
> >> >> > > [hidden email]>
> >> >> > >     wrote:
> >> >> > >
> >> >> > >     > Hi Guys,
> >> >> > >     >
> >> >> > >     > It looks like we have broken royale-config in released SDK.
> >> >> Andrew
> >> >> > > raised
> >> >> > >     > in Moonshine GitHub issue that he couldn't build Hello
> World
> >> >> > > project. I
> >> >> > >     > tried Moonshine and downloaded JS-only version of SDK. I
> get
> >> >> > > following
> >> >> > >     > error [1].
> >> >> > >     > I downloaded JS-SWF version and tried compile project
> again -
> >> >> this
> >> >> > > time it
> >> >> > >     > went fine.
> >> >> > >     >
> >> >> > >     > JS-only version of released 0.9.6 contains in section
> >> >> > > <library-path> -
> >> >> > >     > list of swc. - Those swc doesn't exists in JS-only.
> >> >> > >     >
> >> >> > >     > Fragment of config
> >> >> > >     >
> >> >> > >     > > <library-path>
> >> >> > >     > >          <path-element>libs/Basic.swc</path-element>
> >> >> > >     > >          <path-element>libs/Binding.swc</path-element>
> >> >> > >     > >          <path-element>libs/Charts.swc</path-element>
> >> >> > >     > >
> <path-element>libs/Collections.swc</path-element>
> >> >> > >     > >          <path-element>libs/Core.swc</path-element>
> >> >> > >     > > ....
> >> >> > >     >
> >> >> > >     >
> >> >> > >     > JS-only nightly build of 0.9.7 - doesn't contains in that
> >> >> section
> >> >> > > anything
> >> >> > >     >
> >> >> > >     > >       <library-path>
> >> >> > >     > >       </library-path>
> >> >> > >     >
> >> >> > >     >
> >> >> > >     > [1]
> >> >> > >
> >> >> >
> >> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
> >> >> > >     >
> >> >> > >     > Thanks,
> >> >> > >     > --
> >> >> > >     >
> >> >> > >     > Piotr Zarzycki
> >> >> > >     >
> >> >> > >     > Patreon: *
> >> >> > >
> >> >> >
> >> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> >> >> > >     > <
> >> >> > >
> >> >> >
> >> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
> >> >> > > >*
> >> >> > >     >
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> >
> >> >> > --
> >> >> > Andrew Wetmore
> >> >> >
> >> >> > http://cottage14.blogspot.com/
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > <
> >> >> >
> >> >>
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >> > >
> >> >> > Virus-free.
> >> >> > www.avast.com
> >> >> > <
> >> >> >
> >> >>
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >> > >
> >> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> >> >
> >> >>
> >> >
> >> >
> >> > --
> >> > Andrew Wetmore
> >> >
> >> > http://cottage14.blogspot.com/
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > <
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> >> Virus-free.
> >> > www.avast.com
> >> > <
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> >
> >> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> >
> >>
> >
> >
> > --
> > Andrew Wetmore
> >
> > http://cottage14.blogspot.com/
> >
> >
> >
> >
> >
> >
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Virus-free.
> > www.avast.com
> > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> > <#m_-6424551647352680386_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
Reply | Threaded
Open this post in threaded view
|

Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Piotr Zarzycki
In reply to this post by Richard Hirstle
Hey Richard,

When you were trying Royale - did you ask for help on dev list or in
private?

I agree that at the beginning earlier it was a problem to start. Now that
barrier is a bit lower. If you need any help you can ask here or in private
we are happy to help and get you move forward.

Thanks,
Piotr

On Thu, Oct 10, 2019, 7:10 AM Richard Hirstle <[hidden email]> wrote:

> Well said Andrew - couldn’t agree more.
>
> I am a long time Flex developer (back to the beta) and have tried
> many times to get started with Royale, so that we can move all our existing
> apps over,  but have fallen at the first hurdle every time.
>
> We have now given up and are moving most over to Angular  - but still
> have high hopes for Royale.
>
> Richard
>
> --
> Richard Hirstle
> Sent with Airmail
>
> On 10 October 2019 at 8:10:44 am, Andrew Wetmore ([hidden email])
> wrote:
>
> Instructions that require Ant or npm are not, in my humble opinion,
> entry-level instructions. I should not have to be an SDK constructor in
> order to use Royale to build the apps I want to build.
>
> The instructions need to be a TON clearer, and more obvious from the
> typical entry points where a new user would encounter Royale. We should
> possibly also add qualifiers to any statements that an IDE like Moonshine
> supports Royale. It does not support Royale as we deliver it, but only
> after it has been tweaked by processes that are obvious to those
> developing
> Royale but not to the world at large.
>
> Sorry if I sound irked, but consider that my reaction may mirror that of
> many who want to try Royale out but trip over the starting line.
>
> Andrew
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> Virus-free.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>
> wrote:
>
> > The main royale-asjs README mentions the Adobe stuff as optional
> > dependencies, but the instructions seem to be aimed at contributors:
> >
> >
> >
> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output
>
> >
> > What a non-contributor user is expected to do appears to be mentioned
> on
> > this page (it requires running the InstallAdobeSDKs.xml Ant script):
> >
> > https://apache.github.io/royale-docs/get-started/download-royale
> >
> > I recall that if you install the npm version of Royale, it will ask to
> > download the Adobe dependencies for you. That's probably the easiest
> way
> > for a new user to get started.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]>
> wrote:
> >
> > > Thanks @Josh Tynjala <[hidden email]> . Do we say that
> > > anywhere in the instructions where a new user would run into it?
> > >
> > >
> > > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> > Virus-free.
> > > www.avast.com
> > > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> > >
> > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > >
> > > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <[hidden email]>
>
> > > wrote:
> > >
> > >> If you downloaded the js-swf binary distribution, you need to add
> the
> > >> Adobe
> > >> dependencies manually. We cannot distribute them.
> > >>
> > >> The playerglobal.swc in the js-only version is not the real one from
> > >> Adobe.
> > >> It's just a placeholder to make certain IDEs happy. I think it's just
> a
> > >> copy of js.swc.
> > >>
> > >> --
> > >> Josh Tynjala
> > >> Bowler Hat LLC <https://bowlerhat.dev>
> > >>
> > >>
> > >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>
> > >> wrote:
> > >>
> > >> > I wiped out the previous project and tried again with the Royale
> > JS-SWF
> > >> > version. When I try to compile the project in Moonshine for either
> JS
> > or
> > >> > Flash, I see this error message: "This SDK does not contains
> > >> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.
> > >> Download
> > >> > playerglobal here". When I look in the package for the JS-only
> > version,
> > >> > playerglobal is there. I do not see it in the JS_SWF version.
> > >> >
> > >> > <
> > >> >
> > >>
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> > >> > >
> > >> > Virus-free.
> > >> > www.avast.com
> > >> > <
> > >> >
> > >>
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> > >> > >
> > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > >> >
> > >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]>
>
> > >> > wrote:
> > >> >
> > >> > > When you build with AIR_HOME (which is required to create
> release
> > >> > > artifacts, since we want to produce both jsonly and js-swf in
> one
> > >> run), a
> > >> > > different target called "jsonly-package" run and tries to muck
> with
> > >> some
> > >> > > files before packaging the js-only artifacts. It could be that
> the
> > >> > > jsonly-package needs updating now that SWF SWCs are listed in
> > >> > > royale-config.xml. That means we've had this bug for months and
> > >> nobody
> > >> > > noticed until now.
> > >> > >
> > >> > > -Alex
> > >> > >
> > >> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>
>
> > >> wrote:
> > >> > >
> > >> > > It looks like the Ant target that updates the library-path for
> > the
> > >> > > JS-only
> > >> > > build is called tweak-for-jsonly. Copied here for convenience:
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
>
> > >> > >
> > >> > > I see that it has unless="env.AIR_HOME", which means that this
> > >> target
> > >> > > is
> > >> > > skipped if the AIR_HOME environment variable is set. With that
> > in
> > >> > > mind, I'm
> > >> > > guessing that AIR_HOME needs to be set for the js-swf build, but
> > >> > > cleared
> > >> > > for the js-only build.
> > >> > >
> > >> > > --
> > >> > > Josh Tynjala
> > >> > > Bowler Hat LLC <
> > >> > >
> > >> >
> > >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
>
> > >> > > >
> > >> > >
> > >> > >
> > >> > > On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
> > >> > > [hidden email]>
> > >> > > wrote:
> > >> > >
> > >> > > > Hi Guys,
> > >> > > >
> > >> > > > It looks like we have broken royale-config in released SDK.
> > >> Andrew
> > >> > > raised
> > >> > > > in Moonshine GitHub issue that he couldn't build Hello World
> > >> > > project. I
> > >> > > > tried Moonshine and downloaded JS-only version of SDK. I get
> > >> > > following
> > >> > > > error [1].
> > >> > > > I downloaded JS-SWF version and tried compile project again -
> > >> this
> > >> > > time it
> > >> > > > went fine.
> > >> > > >
> > >> > > > JS-only version of released 0.9.6 contains in section
> > >> > > <library-path> -
> > >> > > > list of swc. - Those swc doesn't exists in JS-only.
> > >> > > >
> > >> > > > Fragment of config
> > >> > > >
> > >> > > > > <library-path>
> > >> > > > > <path-element>libs/Basic.swc</path-element>
> > >> > > > > <path-element>libs/Binding.swc</path-element>
> > >> > > > > <path-element>libs/Charts.swc</path-element>
> > >> > > > > <path-element>libs/Collections.swc</path-element>
> > >> > > > > <path-element>libs/Core.swc</path-element>
> > >> > > > > ....
> > >> > > >
> > >> > > >
> > >> > > > JS-only nightly build of 0.9.7 - doesn't contains in that
> > >> section
> > >> > > anything
> > >> > > >
> > >> > > > > <library-path>
> > >> > > > > </library-path>
> > >> > > >
> > >> > > >
> > >> > > > [1]
> > >> > >
> > >> >
> > >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
>
> > >> > > >
> > >> > > > Thanks,
> > >> > > > --
> > >> > > >
> > >> > > > Piotr Zarzycki
> > >> > > >
> > >> > > > Patreon: *
> > >> > >
> > >> >
> > >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
>
> > >> > > > <
> > >> > >
> > >> >
> > >>
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
>
> > >> > > >*
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >> > --
> > >> > Andrew Wetmore
> > >> >
> > >> > http://cottage14.blogspot.com/
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > <
> > >> >
> > >>
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> > >> > >
> > >> > Virus-free.
> > >> > www.avast.com
> > >> > <
> > >> >
> > >>
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> > >> > >
> > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > >> >
> > >>
> > >
> > >
> > > --
> > > Andrew Wetmore
> > >
> > > http://cottage14.blogspot.com/
> > >
> > >
> > >
> > >
> > >
> > >
> > > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> > Virus-free.
> > > www.avast.com
> > > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> > >
> > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > >
> >
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>
>
>
>
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> Virus-free.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Richard Hirstle-2
In reply to this post by Richard Hirstle
Hi Piotr

Last time would be a good 6 months ago. I didn’t ask for help but I know you all would 
have been very helpful if I had - I see you doing so week in week out.

We are using Angular for new work but still have a number of existing apps we need
to port over,  re - write or convert to air apps before the end of 2020.

I am so keen to to see Royale work and gain acceptance not least because
of all the work you have all put into it. My point was not so much for my sake
but to the wider issue of all the others that I am sure must give it a go, fail and walk
away to something else.

It is always so hard to step into the shoes of someone who is used to the simple plug and play
set up of Flex to see what you need to do make it that easy, but for it to gain the acceptance
and traction it deserves I agree with Andrew that we need to try.

Cheers

Richard



Richard Hirstle
Managing Director


Ozone Interactive
PO Box 1108, Nairne SA 5252


t: 08 8188 0342


   
www.designercollection.com.au

 

 


On 10 October 2019 at 4:04:27 pm, Piotr Zarzycki ([hidden email]) wrote:

Hey Richard,  

When you were trying Royale - did you ask for help on dev list or in  
private?  

I agree that at the beginning earlier it was a problem to start. Now that  
barrier is a bit lower. If you need any help you can ask here or in private  
we are happy to help and get you move forward.  

Thanks,  
Piotr  

On Thu, Oct 10, 2019, 7:10 AM Richard Hirstle <[hidden email]> wrote:  

> Well said Andrew - couldn’t agree more.  
>  
> I am a long time Flex developer (back to the beta) and have tried  
> many times to get started with Royale, so that we can move all our existing  
> apps over, but have fallen at the first hurdle every time.  
>  
> We have now given up and are moving most over to Angular - but still  
> have high hopes for Royale.  
>  
> Richard  
>  
> --  
> Richard Hirstle  
> Sent with Airmail  
>  
> On 10 October 2019 at 8:10:44 am, Andrew Wetmore ([hidden email])  
> wrote:  
>  
> Instructions that require Ant or npm are not, in my humble opinion,  
> entry-level instructions. I should not have to be an SDK constructor in  
> order to use Royale to build the apps I want to build.  
>  
> The instructions need to be a TON clearer, and more obvious from the  
> typical entry points where a new user would encounter Royale. We should  
> possibly also add qualifiers to any statements that an IDE like Moonshine  
> supports Royale. It does not support Royale as we deliver it, but only  
> after it has been tweaked by processes that are obvious to those  
> developing  
> Royale but not to the world at large.  
>  
> Sorry if I sound irked, but consider that my reaction may mirror that of  
> many who want to try Royale out but trip over the starting line.  
>  
> Andrew  
>  
> <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> Virus-free.  
> www.avast.com  
> <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
>  
> On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>  
> wrote:  
>  
> > The main royale-asjs README mentions the Adobe stuff as optional  
> > dependencies, but the instructions seem to be aimed at contributors:  
> >  
> >  
> >  
> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output 
>  
> >  
> > What a non-contributor user is expected to do appears to be mentioned  
> on  
> > this page (it requires running the InstallAdobeSDKs.xml Ant script):  
> >  
> > https://apache.github.io/royale-docs/get-started/download-royale 
> >  
> > I recall that if you install the npm version of Royale, it will ask to  
> > download the Adobe dependencies for you. That's probably the easiest  
> way  
> > for a new user to get started.  
> >  
> > --  
> > Josh Tynjala  
> > Bowler Hat LLC <https://bowlerhat.dev>  
> >  
> >  
> > On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]>  
> wrote:  
> >  
> > > Thanks @Josh Tynjala <[hidden email]> . Do we say that  
> > > anywhere in the instructions where a new user would run into it?  
> > >  
> > >  
> > > <  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> > Virus-free.  
> > > www.avast.com  
> > > <  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >  
> > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> > >  
> > > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <[hidden email]>  
>  
> > > wrote:  
> > >  
> > >> If you downloaded the js-swf binary distribution, you need to add  
> the  
> > >> Adobe  
> > >> dependencies manually. We cannot distribute them.  
> > >>  
> > >> The playerglobal.swc in the js-only version is not the real one from  
> > >> Adobe.  
> > >> It's just a placeholder to make certain IDEs happy. I think it's just  
> a  
> > >> copy of js.swc.  
> > >>  
> > >> --  
> > >> Josh Tynjala  
> > >> Bowler Hat LLC <https://bowlerhat.dev>  
> > >>  
> > >>  
> > >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>  
> > >> wrote:  
> > >>  
> > >> > I wiped out the previous project and tried again with the Royale  
> > JS-SWF  
> > >> > version. When I try to compile the project in Moonshine for either  
> JS  
> > or  
> > >> > Flash, I see this error message: "This SDK does not contains  
> > >> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.  
> > >> Download  
> > >> > playerglobal here". When I look in the package for the JS-only  
> > version,  
> > >> > playerglobal is there. I do not see it in the JS_SWF version.  
> > >> >  
> > >> > <  
> > >> >  
> > >>  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >> > >  
> > >> > Virus-free.  
> > >> > www.avast.com  
> > >> > <  
> > >> >  
> > >>  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >> > >  
> > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> > >> >  
> > >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]>  
>  
> > >> > wrote:  
> > >> >  
> > >> > > When you build with AIR_HOME (which is required to create  
> release  
> > >> > > artifacts, since we want to produce both jsonly and js-swf in  
> one  
> > >> run), a  
> > >> > > different target called "jsonly-package" run and tries to muck  
> with  
> > >> some  
> > >> > > files before packaging the js-only artifacts. It could be that  
> the  
> > >> > > jsonly-package needs updating now that SWF SWCs are listed in  
> > >> > > royale-config.xml. That means we've had this bug for months and  
> > >> nobody  
> > >> > > noticed until now.  
> > >> > >  
> > >> > > -Alex  
> > >> > >  
> > >> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>  
>  
> > >> wrote:  
> > >> > >  
> > >> > > It looks like the Ant target that updates the library-path for  
> > the  
> > >> > > JS-only  
> > >> > > build is called tweak-for-jsonly. Copied here for convenience:  
> > >> > >  
> > >> > >  
> > >> > >  
> > >> >  
> > >>  
> >  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0 
>  
> > >> > >  
> > >> > > I see that it has unless="env.AIR_HOME", which means that this  
> > >> target  
> > >> > > is  
> > >> > > skipped if the AIR_HOME environment variable is set. With that  
> > in  
> > >> > > mind, I'm  
> > >> > > guessing that AIR_HOME needs to be set for the js-swf build, but  
> > >> > > cleared  
> > >> > > for the js-only build.  
> > >> > >  
> > >> > > --  
> > >> > > Josh Tynjala  
> > >> > > Bowler Hat LLC <  
> > >> > >  
> > >> >  
> > >>  
> >  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0 
>  
> > >> > > >  
> > >> > >  
> > >> > >  
> > >> > > On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <  
> > >> > > [hidden email]>  
> > >> > > wrote:  
> > >> > >  
> > >> > > > Hi Guys,  
> > >> > > >  
> > >> > > > It looks like we have broken royale-config in released SDK.  
> > >> Andrew  
> > >> > > raised  
> > >> > > > in Moonshine GitHub issue that he couldn't build Hello World  
> > >> > > project. I  
> > >> > > > tried Moonshine and downloaded JS-only version of SDK. I get  
> > >> > > following  
> > >> > > > error [1].  
> > >> > > > I downloaded JS-SWF version and tried compile project again -  
> > >> this  
> > >> > > time it  
> > >> > > > went fine.  
> > >> > > >  
> > >> > > > JS-only version of released 0.9.6 contains in section  
> > >> > > <library-path> -  
> > >> > > > list of swc. - Those swc doesn't exists in JS-only.  
> > >> > > >  
> > >> > > > Fragment of config  
> > >> > > >  
> > >> > > > > <library-path>  
> > >> > > > > <path-element>libs/Basic.swc</path-element>  
> > >> > > > > <path-element>libs/Binding.swc</path-element>  
> > >> > > > > <path-element>libs/Charts.swc</path-element>  
> > >> > > > > <path-element>libs/Collections.swc</path-element>  
> > >> > > > > <path-element>libs/Core.swc</path-element>  
> > >> > > > > ....  
> > >> > > >  
> > >> > > >  
> > >> > > > JS-only nightly build of 0.9.7 - doesn't contains in that  
> > >> section  
> > >> > > anything  
> > >> > > >  
> > >> > > > > <library-path>  
> > >> > > > > </library-path>  
> > >> > > >  
> > >> > > >  
> > >> > > > [1]  
> > >> > >  
> > >> >  
> > >>  
> >  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0 
>  
> > >> > > >  
> > >> > > > Thanks,  
> > >> > > > --  
> > >> > > >  
> > >> > > > Piotr Zarzycki  
> > >> > > >  
> > >> > > > Patreon: *  
> > >> > >  
> > >> >  
> > >>  
> >  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0 
>  
> > >> > > > <  
> > >> > >  
> > >> >  
> > >>  
> >  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0 
>  
> > >> > > >*  
> > >> > > >  
> > >> > >  
> > >> > >  
> > >> > >  
> > >> >  
> > >> > --  
> > >> > Andrew Wetmore  
> > >> >  
> > >> > http://cottage14.blogspot.com/ 
> > >> >  
> > >> >  
> > >> >  
> > >> >  
> > >> >  
> > >> > <  
> > >> >  
> > >>  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >> > >  
> > >> > Virus-free.  
> > >> > www.avast.com  
> > >> > <  
> > >> >  
> > >>  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >> > >  
> > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> > >> >  
> > >>  
> > >  
> > >  
> > > --  
> > > Andrew Wetmore  
> > >  
> > > http://cottage14.blogspot.com/ 
> > >  
> > >  
> > >  
> > >  
> > >  
> > >  
> > > <  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> > Virus-free.  
> > > www.avast.com  
> > > <  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >  
> > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> > >  
> >  
>  
>  
> --  
> Andrew Wetmore  
>  
> http://cottage14.blogspot.com/ 
>  
>  
>  
>  
>  
> <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> Virus-free.  
> www.avast.com  
> <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
>  
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Richard Hirstle-2
In reply to this post by Richard Hirstle
Hi Piotr 

Last time would be a good 6 months ago. I didn’t ask for help but I know you all would  
have been very helpful if I had - I see you doing so week in week out. 

We are using Angular for new work but still have a number of existing apps we need 
to port over,  re - write or convert to air apps before the end of 2020. 

I am so keen to to see Royale work and gain acceptance not least because 
of all the work you have all put into it. My point was not so much for my sake 
but to the wider issue of all the others that I am sure must give it a go, fail and walk 
away to something else. 

It is always so hard to step into the shoes of someone who is used to the simple plug and play 
set up of Flex to see what you need to do make it that easy, but for it to gain the acceptance 
and traction it deserves I agree with Andrew that we need to try. 

Cheers 

Richard 

Richard Hirstle
Managing Director


Ozone Interactive
PO Box 1108, Nairne SA 5252


t: 08 8188 0342


   
www.designercollection.com.au

 

 


On 10 October 2019 at 4:04:27 pm, Piotr Zarzycki ([hidden email]) wrote:

Hey Richard,  

When you were trying Royale - did you ask for help on dev list or in  
private?  

I agree that at the beginning earlier it was a problem to start. Now that  
barrier is a bit lower. If you need any help you can ask here or in private  
we are happy to help and get you move forward.  

Thanks,  
Piotr  

On Thu, Oct 10, 2019, 7:10 AM Richard Hirstle <[hidden email]> wrote:  

> Well said Andrew - couldn’t agree more.  
>  
> I am a long time Flex developer (back to the beta) and have tried  
> many times to get started with Royale, so that we can move all our existing  
> apps over, but have fallen at the first hurdle every time.  
>  
> We have now given up and are moving most over to Angular - but still  
> have high hopes for Royale.  
>  
> Richard  
>  
> --  
> Richard Hirstle  
> Sent with Airmail  
>  
> On 10 October 2019 at 8:10:44 am, Andrew Wetmore ([hidden email])  
> wrote:  
>  
> Instructions that require Ant or npm are not, in my humble opinion,  
> entry-level instructions. I should not have to be an SDK constructor in  
> order to use Royale to build the apps I want to build.  
>  
> The instructions need to be a TON clearer, and more obvious from the  
> typical entry points where a new user would encounter Royale. We should  
> possibly also add qualifiers to any statements that an IDE like Moonshine  
> supports Royale. It does not support Royale as we deliver it, but only  
> after it has been tweaked by processes that are obvious to those  
> developing  
> Royale but not to the world at large.  
>  
> Sorry if I sound irked, but consider that my reaction may mirror that of  
> many who want to try Royale out but trip over the starting line.  
>  
> Andrew  
>  
> <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> Virus-free.  
> www.avast.com  
> <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
>  
> On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>  
> wrote:  
>  
> > The main royale-asjs README mentions the Adobe stuff as optional  
> > dependencies, but the instructions seem to be aimed at contributors:  
> >  
> >  
> >  
> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output 
>  
> >  
> > What a non-contributor user is expected to do appears to be mentioned  
> on  
> > this page (it requires running the InstallAdobeSDKs.xml Ant script):  
> >  
> > https://apache.github.io/royale-docs/get-started/download-royale 
> >  
> > I recall that if you install the npm version of Royale, it will ask to  
> > download the Adobe dependencies for you. That's probably the easiest  
> way  
> > for a new user to get started.  
> >  
> > --  
> > Josh Tynjala  
> > Bowler Hat LLC <https://bowlerhat.dev>  
> >  
> >  
> > On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]>  
> wrote:  
> >  
> > > Thanks @Josh Tynjala <[hidden email]> . Do we say that  
> > > anywhere in the instructions where a new user would run into it?  
> > >  
> > >  
> > > <  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> > Virus-free.  
> > > www.avast.com  
> > > <  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >  
> > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> > >  
> > > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <[hidden email]>  
>  
> > > wrote:  
> > >  
> > >> If you downloaded the js-swf binary distribution, you need to add  
> the  
> > >> Adobe  
> > >> dependencies manually. We cannot distribute them.  
> > >>  
> > >> The playerglobal.swc in the js-only version is not the real one from  
> > >> Adobe.  
> > >> It's just a placeholder to make certain IDEs happy. I think it's just  
> a  
> > >> copy of js.swc.  
> > >>  
> > >> --  
> > >> Josh Tynjala  
> > >> Bowler Hat LLC <https://bowlerhat.dev>  
> > >>  
> > >>  
> > >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>  
> > >> wrote:  
> > >>  
> > >> > I wiped out the previous project and tried again with the Royale  
> > JS-SWF  
> > >> > version. When I try to compile the project in Moonshine for either  
> JS  
> > or  
> > >> > Flash, I see this error message: "This SDK does not contains  
> > >> > playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.  
> > >> Download  
> > >> > playerglobal here". When I look in the package for the JS-only  
> > version,  
> > >> > playerglobal is there. I do not see it in the JS_SWF version.  
> > >> >  
> > >> > <  
> > >> >  
> > >>  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >> > >  
> > >> > Virus-free.  
> > >> > www.avast.com  
> > >> > <  
> > >> >  
> > >>  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >> > >  
> > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> > >> >  
> > >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]>  
>  
> > >> > wrote:  
> > >> >  
> > >> > > When you build with AIR_HOME (which is required to create  
> release  
> > >> > > artifacts, since we want to produce both jsonly and js-swf in  
> one  
> > >> run), a  
> > >> > > different target called "jsonly-package" run and tries to muck  
> with  
> > >> some  
> > >> > > files before packaging the js-only artifacts. It could be that  
> the  
> > >> > > jsonly-package needs updating now that SWF SWCs are listed in  
> > >> > > royale-config.xml. That means we've had this bug for months and  
> > >> nobody  
> > >> > > noticed until now.  
> > >> > >  
> > >> > > -Alex  
> > >> > >  
> > >> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>  
>  
> > >> wrote:  
> > >> > >  
> > >> > > It looks like the Ant target that updates the library-path for  
> > the  
> > >> > > JS-only  
> > >> > > build is called tweak-for-jsonly. Copied here for convenience:  
> > >> > >  
> > >> > >  
> > >> > >  
> > >> >  
> > >>  
> >  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0 
>  
> > >> > >  
> > >> > > I see that it has unless="env.AIR_HOME", which means that this  
> > >> target  
> > >> > > is  
> > >> > > skipped if the AIR_HOME environment variable is set. With that  
> > in  
> > >> > > mind, I'm  
> > >> > > guessing that AIR_HOME needs to be set for the js-swf build, but  
> > >> > > cleared  
> > >> > > for the js-only build.  
> > >> > >  
> > >> > > --  
> > >> > > Josh Tynjala  
> > >> > > Bowler Hat LLC <  
> > >> > >  
> > >> >  
> > >>  
> >  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0 
>  
> > >> > > >  
> > >> > >  
> > >> > >  
> > >> > > On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <  
> > >> > > [hidden email]>  
> > >> > > wrote:  
> > >> > >  
> > >> > > > Hi Guys,  
> > >> > > >  
> > >> > > > It looks like we have broken royale-config in released SDK.  
> > >> Andrew  
> > >> > > raised  
> > >> > > > in Moonshine GitHub issue that he couldn't build Hello World  
> > >> > > project. I  
> > >> > > > tried Moonshine and downloaded JS-only version of SDK. I get  
> > >> > > following  
> > >> > > > error [1].  
> > >> > > > I downloaded JS-SWF version and tried compile project again -  
> > >> this  
> > >> > > time it  
> > >> > > > went fine.  
> > >> > > >  
> > >> > > > JS-only version of released 0.9.6 contains in section  
> > >> > > <library-path> -  
> > >> > > > list of swc. - Those swc doesn't exists in JS-only.  
> > >> > > >  
> > >> > > > Fragment of config  
> > >> > > >  
> > >> > > > > <library-path>  
> > >> > > > > <path-element>libs/Basic.swc</path-element>  
> > >> > > > > <path-element>libs/Binding.swc</path-element>  
> > >> > > > > <path-element>libs/Charts.swc</path-element>  
> > >> > > > > <path-element>libs/Collections.swc</path-element>  
> > >> > > > > <path-element>libs/Core.swc</path-element>  
> > >> > > > > ....  
> > >> > > >  
> > >> > > >  
> > >> > > > JS-only nightly build of 0.9.7 - doesn't contains in that  
> > >> section  
> > >> > > anything  
> > >> > > >  
> > >> > > > > <library-path>  
> > >> > > > > </library-path>  
> > >> > > >  
> > >> > > >  
> > >> > > > [1]  
> > >> > >  
> > >> >  
> > >>  
> >  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0 
>  
> > >> > > >  
> > >> > > > Thanks,  
> > >> > > > --  
> > >> > > >  
> > >> > > > Piotr Zarzycki  
> > >> > > >  
> > >> > > > Patreon: *  
> > >> > >  
> > >> >  
> > >>  
> >  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0 
>  
> > >> > > > <  
> > >> > >  
> > >> >  
> > >>  
> >  
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0 
>  
> > >> > > >*  
> > >> > > >  
> > >> > >  
> > >> > >  
> > >> > >  
> > >> >  
> > >> > --  
> > >> > Andrew Wetmore  
> > >> >  
> > >> > http://cottage14.blogspot.com/ 
> > >> >  
> > >> >  
> > >> >  
> > >> >  
> > >> >  
> > >> > <  
> > >> >  
> > >>  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >> > >  
> > >> > Virus-free.  
> > >> > www.avast.com  
> > >> > <  
> > >> >  
> > >>  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >> > >  
> > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> > >> >  
> > >>  
> > >  
> > >  
> > > --  
> > > Andrew Wetmore  
> > >  
> > > http://cottage14.blogspot.com/ 
> > >  
> > >  
> > >  
> > >  
> > >  
> > >  
> > > <  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> > Virus-free.  
> > > www.avast.com  
> > > <  
> >  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>  
> > >  
> > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
> > >  
> >  
>  
>  
> --  
> Andrew Wetmore  
>  
> http://cottage14.blogspot.com/ 
>  
>  
>  
>  
>  
> <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> Virus-free.  
> www.avast.com  
> <  
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>  
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
>  
Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Harbs
Hearing from new users what the roadblocks are, is very useful. To me, Royale feels very plug and play, but I know it well. It’s hard to see the roadblocks to new users when you have been involved for a long time.

Thinking back to the days I was learning Flex, I think it was easy to learn it because:
1. Flex Builder (or Flash Builder — depending when you started with it) was fully integrated. The new project wizards were very helpful.
2. Flex in a Week was very useful to me to learn the concepts. I remember going through Flex in a Week while I was in the hospital with a relative many years ago…
3. There were lots of blog posts and example code for many common use cases.

What do you think the most important point are for us to make Royale more accessible?

Thanks,
Harbs

> On Oct 10, 2019, at 10:12 AM, Richard Hirstle <[hidden email]> wrote:
>
> Hi Piotr
>
> Last time would be a good 6 months ago. I didn’t ask for help but I know you all would  
> have been very helpful if I had - I see you doing so week in week out.
>
> We are using Angular for new work but still have a number of existing apps we need
> to port over,  re - write or convert to air apps before the end of 2020.
>
> I am so keen to to see Royale work and gain acceptance not least because
> of all the work you have all put into it. My point was not so much for my sake
> but to the wider issue of all the others that I am sure must give it a go, fail and walk
> away to something else.
>
> It is always so hard to step into the shoes of someone who is used to the simple plug and play
> set up of Flex to see what you need to do make it that easy, but for it to gain the acceptance
> and traction it deserves I agree with Andrew that we need to try.
>
> Cheers
>
> Richard
>
> Richard Hirstle
> Managing Director
>
>
> Ozone Interactive
> PO Box 1108, Nairne SA 5252
>
>
> t: 08 8188 0342
>
>
>
> www.designercollection.com.au
>
>  
>
>  
>
>
> On 10 October 2019 at 4:04:27 pm, Piotr Zarzycki ([hidden email]) wrote:
>
> Hey Richard,  
>
> When you were trying Royale - did you ask for help on dev list or in  
> private?  
>
> I agree that at the beginning earlier it was a problem to start. Now that  
> barrier is a bit lower. If you need any help you can ask here or in private  
> we are happy to help and get you move forward.  
>
> Thanks,  
> Piotr  
>
> On Thu, Oct 10, 2019, 7:10 AM Richard Hirstle <[hidden email]> wrote:  
>
>> Well said Andrew - couldn’t agree more.  
>>
>> I am a long time Flex developer (back to the beta) and have tried  
>> many times to get started with Royale, so that we can move all our existing  
>> apps over, but have fallen at the first hurdle every time.  
>>
>> We have now given up and are moving most over to Angular - but still  
>> have high hopes for Royale.  
>>
>> Richard  
>>
>> --  
>> Richard Hirstle  
>> Sent with Airmail  
>>
>> On 10 October 2019 at 8:10:44 am, Andrew Wetmore ([hidden email])  
>> wrote:  
>>
>> Instructions that require Ant or npm are not, in my humble opinion,  
>> entry-level instructions. I should not have to be an SDK constructor in  
>> order to use Royale to build the apps I want to build.  
>>
>> The instructions need to be a TON clearer, and more obvious from the  
>> typical entry points where a new user would encounter Royale. We should  
>> possibly also add qualifiers to any statements that an IDE like Moonshine  
>> supports Royale. It does not support Royale as we deliver it, but only  
>> after it has been tweaked by processes that are obvious to those  
>> developing  
>> Royale but not to the world at large.  
>>
>> Sorry if I sound irked, but consider that my reaction may mirror that of  
>> many who want to try Royale out but trip over the starting line.  
>>
>> Andrew  
>>
>> <  
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>>
>> Virus-free.  
>> www.avast.com  
>> <  
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>>
>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
>>
>> On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>  
>> wrote:  
>>
>>> The main royale-asjs README mentions the Adobe stuff as optional  
>>> dependencies, but the instructions seem to be aimed at contributors:  
>>>
>>>
>>>
>> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output 
>>
>>>
>>> What a non-contributor user is expected to do appears to be mentioned  
>> on  
>>> this page (it requires running the InstallAdobeSDKs.xml Ant script):  
>>>
>>> https://apache.github.io/royale-docs/get-started/download-royale 
>>>
>>> I recall that if you install the npm version of Royale, it will ask to  
>>> download the Adobe dependencies for you. That's probably the easiest  
>> way  
>>> for a new user to get started.  
>>>
>>> --  
>>> Josh Tynjala  
>>> Bowler Hat LLC <https://bowlerhat.dev>  
>>>
>>>
>>> On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]>  
>> wrote:  
>>>
>>>> Thanks @Josh Tynjala <[hidden email]> . Do we say that  
>>>> anywhere in the instructions where a new user would run into it?  
>>>>
>>>>
>>>> <  
>>>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>>
>>> Virus-free.  
>>>> www.avast.com  
>>>> <  
>>>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>>
>>>>
>>>> <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
>>>>
>>>> On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <[hidden email]>  
>>
>>>> wrote:  
>>>>
>>>>> If you downloaded the js-swf binary distribution, you need to add  
>> the  
>>>>> Adobe  
>>>>> dependencies manually. We cannot distribute them.  
>>>>>
>>>>> The playerglobal.swc in the js-only version is not the real one from  
>>>>> Adobe.  
>>>>> It's just a placeholder to make certain IDEs happy. I think it's just  
>> a  
>>>>> copy of js.swc.  
>>>>>
>>>>> --  
>>>>> Josh Tynjala  
>>>>> Bowler Hat LLC <https://bowlerhat.dev>  
>>>>>
>>>>>
>>>>> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>  
>>>>> wrote:  
>>>>>
>>>>>> I wiped out the previous project and tried again with the Royale  
>>> JS-SWF  
>>>>>> version. When I try to compile the project in Moonshine for either  
>> JS  
>>> or  
>>>>>> Flash, I see this error message: "This SDK does not contains  
>>>>>> playerglobal.swc in frameworks\libs\player\11.7\playerglobal.swc.  
>>>>> Download  
>>>>>> playerglobal here". When I look in the package for the JS-only  
>>> version,  
>>>>>> playerglobal is there. I do not see it in the JS_SWF version.  
>>>>>>
>>>>>> <  
>>>>>>
>>>>>
>>>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>>
>>>>>>>
>>>>>> Virus-free.  
>>>>>> www.avast.com  
>>>>>> <  
>>>>>>
>>>>>
>>>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>>
>>>>>>>
>>>>>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
>>>>>>
>>>>>> On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <[hidden email]>  
>>
>>>>>> wrote:  
>>>>>>
>>>>>>> When you build with AIR_HOME (which is required to create  
>> release  
>>>>>>> artifacts, since we want to produce both jsonly and js-swf in  
>> one  
>>>>> run), a  
>>>>>>> different target called "jsonly-package" run and tries to muck  
>> with  
>>>>> some  
>>>>>>> files before packaging the js-only artifacts. It could be that  
>> the  
>>>>>>> jsonly-package needs updating now that SWF SWCs are listed in  
>>>>>>> royale-config.xml. That means we've had this bug for months and  
>>>>> nobody  
>>>>>>> noticed until now.  
>>>>>>>
>>>>>>> -Alex  
>>>>>>>
>>>>>>> On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>  
>>
>>>>> wrote:  
>>>>>>>
>>>>>>> It looks like the Ant target that updates the library-path for  
>>> the  
>>>>>>> JS-only  
>>>>>>> build is called tweak-for-jsonly. Copied here for convenience:  
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0 
>>
>>>>>>>
>>>>>>> I see that it has unless="env.AIR_HOME", which means that this  
>>>>> target  
>>>>>>> is  
>>>>>>> skipped if the AIR_HOME environment variable is set. With that  
>>> in  
>>>>>>> mind, I'm  
>>>>>>> guessing that AIR_HOME needs to be set for the js-swf build, but  
>>>>>>> cleared  
>>>>>>> for the js-only build.  
>>>>>>>
>>>>>>> --  
>>>>>>> Josh Tynjala  
>>>>>>> Bowler Hat LLC <  
>>>>>>>
>>>>>>
>>>>>
>>>
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0 
>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <  
>>>>>>> [hidden email]>  
>>>>>>> wrote:  
>>>>>>>
>>>>>>>> Hi Guys,  
>>>>>>>>
>>>>>>>> It looks like we have broken royale-config in released SDK.  
>>>>> Andrew  
>>>>>>> raised  
>>>>>>>> in Moonshine GitHub issue that he couldn't build Hello World  
>>>>>>> project. I  
>>>>>>>> tried Moonshine and downloaded JS-only version of SDK. I get  
>>>>>>> following  
>>>>>>>> error [1].  
>>>>>>>> I downloaded JS-SWF version and tried compile project again -  
>>>>> this  
>>>>>>> time it  
>>>>>>>> went fine.  
>>>>>>>>
>>>>>>>> JS-only version of released 0.9.6 contains in section  
>>>>>>> <library-path> -  
>>>>>>>> list of swc. - Those swc doesn't exists in JS-only.  
>>>>>>>>
>>>>>>>> Fragment of config  
>>>>>>>>
>>>>>>>>> <library-path>  
>>>>>>>>> <path-element>libs/Basic.swc</path-element>  
>>>>>>>>> <path-element>libs/Binding.swc</path-element>  
>>>>>>>>> <path-element>libs/Charts.swc</path-element>  
>>>>>>>>> <path-element>libs/Collections.swc</path-element>  
>>>>>>>>> <path-element>libs/Core.swc</path-element>  
>>>>>>>>> ....  
>>>>>>>>
>>>>>>>>
>>>>>>>> JS-only nightly build of 0.9.7 - doesn't contains in that  
>>>>> section  
>>>>>>> anything  
>>>>>>>>
>>>>>>>>> <library-path>  
>>>>>>>>> </library-path>  
>>>>>>>>
>>>>>>>>
>>>>>>>> [1]  
>>>>>>>
>>>>>>
>>>>>
>>>
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0 
>>
>>>>>>>>
>>>>>>>> Thanks,  
>>>>>>>> --  
>>>>>>>>
>>>>>>>> Piotr Zarzycki  
>>>>>>>>
>>>>>>>> Patreon: *  
>>>>>>>
>>>>>>
>>>>>
>>>
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0 
>>
>>>>>>>> <  
>>>>>>>
>>>>>>
>>>>>
>>>
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0 
>>
>>>>>>>> *  
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --  
>>>>>> Andrew Wetmore  
>>>>>>
>>>>>> http://cottage14.blogspot.com/ 
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> <  
>>>>>>
>>>>>
>>>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>>
>>>>>>>
>>>>>> Virus-free.  
>>>>>> www.avast.com  
>>>>>> <  
>>>>>>
>>>>>
>>>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>>
>>>>>>>
>>>>>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
>>>>>>
>>>>>
>>>>
>>>>
>>>> --  
>>>> Andrew Wetmore  
>>>>
>>>> http://cottage14.blogspot.com/ 
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> <  
>>>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>>
>>> Virus-free.  
>>>> www.avast.com  
>>>> <  
>>>
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail 
>>
>>>>
>>>> <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
>>>>
>>>
>>
>>
>> --  
>> Andrew Wetmore  
>>
>> http://cottage14.blogspot.com/ 
>>
>>
>>
>>
>>
>> <  
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>>
>> Virus-free.  
>> www.avast.com  
>> <  
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  
>>
>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>  
>>

Reply | Threaded
Open this post in threaded view
|

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

Carlos Rovira-2
In reply to this post by Richard Hirstle-2
Hi Richard (and others in the same wagon),

I only can say one thing: If you're a former Flex user, I encourage you to
not give up and try to get your path with Royale. I think it can be
difficult to start, but at this point (6 months after your latest try). I
think is worth it and we are in good shape. This days others like Fred or
Dankishands are active asking and going forward. I think they are a good
example of people trying this days and finding roadblocks but asking as
well in a very good way to help us help them to solve it.

I think the final prize deserve the effort :)

Just my 2 :)



El jue., 10 oct. 2019 a las 9:00, Richard Hirstle (<
[hidden email]>) escribió:

> Hi Piotr
>
> Last time would be a good 6 months ago. I didn’t ask for help but I know
> you all would
> have been very helpful if I had - I see you doing so week in week out.
>
> We are using Angular for new work but still have a number of existing apps
> we need
> to port over,  re - write or convert to air apps before the end of 2020.
>
> I am so keen to to see Royale work and gain acceptance not least because
> of all the work you have all put into it. My point was not so much for my
> sake
> but to the wider issue of all the others that I am sure must give it a go,
> fail and walk
> away to something else.
>
> It is always so hard to step into the shoes of someone who is used to the
> simple plug and play
> set up of Flex to see what you need to do make it that easy, but for it to
> gain the acceptance
> and traction it deserves I agree with Andrew that we need to try.
>
> Cheers
>
> Richard
>
>
>
> Richard Hirstle
> Managing Director
>
>
> Ozone Interactive
> PO Box 1108, Nairne SA 5252
>
>
> t: 08 8188 0342
>
>
>
> www.designercollection.com.au
>
>
>
>
>
>
> On 10 October 2019 at 4:04:27 pm, Piotr Zarzycki (
> [hidden email]) wrote:
>
> Hey Richard,
>
> When you were trying Royale - did you ask for help on dev list or in
> private?
>
> I agree that at the beginning earlier it was a problem to start. Now that
> barrier is a bit lower. If you need any help you can ask here or in
> private
> we are happy to help and get you move forward.
>
> Thanks,
> Piotr
>
> On Thu, Oct 10, 2019, 7:10 AM Richard Hirstle <[hidden email]>
> wrote:
>
> > Well said Andrew - couldn’t agree more.
> >
> > I am a long time Flex developer (back to the beta) and have tried
> > many times to get started with Royale, so that we can move all our
> existing
> > apps over, but have fallen at the first hurdle every time.
> >
> > We have now given up and are moving most over to Angular - but still
> > have high hopes for Royale.
> >
> > Richard
> >
> > --
> > Richard Hirstle
> > Sent with Airmail
> >
> > On 10 October 2019 at 8:10:44 am, Andrew Wetmore ([hidden email])
> > wrote:
> >
> > Instructions that require Ant or npm are not, in my humble opinion,
> > entry-level instructions. I should not have to be an SDK constructor in
> > order to use Royale to build the apps I want to build.
> >
> > The instructions need to be a TON clearer, and more obvious from the
> > typical entry points where a new user would encounter Royale. We should
> > possibly also add qualifiers to any statements that an IDE like
> Moonshine
> > supports Royale. It does not support Royale as we deliver it, but only
> > after it has been tweaked by processes that are obvious to those
> > developing
> > Royale but not to the world at large.
> >
> > Sorry if I sound irked, but consider that my reaction may mirror that
> of
> > many who want to try Royale out but trip over the starting line.
> >
> > Andrew
> >
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> >
> > Virus-free.
> > www.avast.com
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> >
> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
> > On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <[hidden email]>
>
> > wrote:
> >
> > > The main royale-asjs README mentions the Adobe stuff as optional
> > > dependencies, but the instructions seem to be aimed at contributors:
> > >
> > >
> > >
> >
> https://github.com/apache/royale-asjs#additional-prerequisites-for-swf-output
>
> >
> > >
> > > What a non-contributor user is expected to do appears to be mentioned
> > on
> > > this page (it requires running the InstallAdobeSDKs.xml Ant script):
> > >
> > > https://apache.github.io/royale-docs/get-started/download-royale
> > >
> > > I recall that if you install the npm version of Royale, it will ask
> to
> > > download the Adobe dependencies for you. That's probably the easiest
> > way
> > > for a new user to get started.
> > >
> > > --
> > > Josh Tynjala
> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >
> > >
> > > On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <[hidden email]>
> > wrote:
> > >
> > > > Thanks @Josh Tynjala <[hidden email]> . Do we say that
> > > > anywhere in the instructions where a new user would run into it?
> > > >
> > > >
> > > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> >
> > > Virus-free.
> > > > www.avast.com
> > > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> >
> > > >
> > > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > > >
> > > > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <
> [hidden email]>
> >
> > > > wrote:
> > > >
> > > >> If you downloaded the js-swf binary distribution, you need to add
> > the
> > > >> Adobe
> > > >> dependencies manually. We cannot distribute them.
> > > >>
> > > >> The playerglobal.swc in the js-only version is not the real one
> from
> > > >> Adobe.
> > > >> It's just a placeholder to make certain IDEs happy. I think it's
> just
> > a
> > > >> copy of js.swc.
> > > >>
> > > >> --
> > > >> Josh Tynjala
> > > >> Bowler Hat LLC <https://bowlerhat.dev>
> > > >>
> > > >>
> > > >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <[hidden email]>
>
> > > >> wrote:
> > > >>
> > > >> > I wiped out the previous project and tried again with the Royale
> > > JS-SWF
> > > >> > version. When I try to compile the project in Moonshine for
> either
> > JS
> > > or
> > > >> > Flash, I see this error message: "This SDK does not contains
> > > >> > playerglobal.swc in
> frameworks\libs\player\11.7\playerglobal.swc.
> > > >> Download
> > > >> > playerglobal here". When I look in the package for the JS-only
> > > version,
> > > >> > playerglobal is there. I do not see it in the JS_SWF version.
> > > >> >
> > > >> > <
> > > >> >
> > > >>
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> >
> > > >> > >
> > > >> > Virus-free.
> > > >> > www.avast.com
> > > >> > <
> > > >> >
> > > >>
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> >
> > > >> > >
> > > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > > >> >
> > > >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui
> <[hidden email]>
> >
> > > >> > wrote:
> > > >> >
> > > >> > > When you build with AIR_HOME (which is required to create
> > release
> > > >> > > artifacts, since we want to produce both jsonly and js-swf in
> > one
> > > >> run), a
> > > >> > > different target called "jsonly-package" run and tries to muck
> > with
> > > >> some
> > > >> > > files before packaging the js-only artifacts. It could be that
> > the
> > > >> > > jsonly-package needs updating now that SWF SWCs are listed in
> > > >> > > royale-config.xml. That means we've had this bug for months
> and
> > > >> nobody
> > > >> > > noticed until now.
> > > >> > >
> > > >> > > -Alex
> > > >> > >
> > > >> > > On 10/9/19, 9:38 AM, "Josh Tynjala" <[hidden email]>
>
> >
> > > >> wrote:
> > > >> > >
> > > >> > > It looks like the Ant target that updates the library-path for
> > > the
> > > >> > > JS-only
> > > >> > > build is called tweak-for-jsonly. Copied here for convenience:
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fasn0i&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&amp;reserved=0
>
> >
> > > >> > >
> > > >> > > I see that it has unless="env.AIR_HOME", which means that this
> > > >> target
> > > >> > > is
> > > >> > > skipped if the AIR_HOME environment variable is set. With that
> > > in
> > > >> > > mind, I'm
> > > >> > > guessing that AIR_HOME needs to be set for the js-swf build,
> but
> > > >> > > cleared
> > > >> > > for the js-only build.
> > > >> > >
> > > >> > > --
> > > >> > > Josh Tynjala
> > > >> > > Bowler Hat LLC <
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&amp;reserved=0
>
> >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > > On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
> > > >> > > [hidden email]>
> > > >> > > wrote:
> > > >> > >
> > > >> > > > Hi Guys,
> > > >> > > >
> > > >> > > > It looks like we have broken royale-config in released SDK.
> > > >> Andrew
> > > >> > > raised
> > > >> > > > in Moonshine GitHub issue that he couldn't build Hello World
> > > >> > > project. I
> > > >> > > > tried Moonshine and downloaded JS-only version of SDK. I get
> > > >> > > following
> > > >> > > > error [1].
> > > >> > > > I downloaded JS-SWF version and tried compile project again
> -
> > > >> this
> > > >> > > time it
> > > >> > > > went fine.
> > > >> > > >
> > > >> > > > JS-only version of released 0.9.6 contains in section
> > > >> > > <library-path> -
> > > >> > > > list of swc. - Those swc doesn't exists in JS-only.
> > > >> > > >
> > > >> > > > Fragment of config
> > > >> > > >
> > > >> > > > > <library-path>
> > > >> > > > > <path-element>libs/Basic.swc</path-element>
> > > >> > > > > <path-element>libs/Binding.swc</path-element>
> > > >> > > > > <path-element>libs/Charts.swc</path-element>
> > > >> > > > > <path-element>libs/Collections.swc</path-element>
> > > >> > > > > <path-element>libs/Core.swc</path-element>
> > > >> > > > > ....
> > > >> > > >
> > > >> > > >
> > > >> > > > JS-only nightly build of 0.9.7 - doesn't contains in that
> > > >> section
> > > >> > > anything
> > > >> > > >
> > > >> > > > > <library-path>
> > > >> > > > > </library-path>
> > > >> > > >
> > > >> > > >
> > > >> > > > [1]
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F2lgvk&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&amp;reserved=0
>
> >
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > > --
> > > >> > > >
> > > >> > > > Piotr Zarzycki
> > > >> > > >
> > > >> > > > Patreon: *
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
>
> >
> > > >> > > > <
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&amp;sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&amp;reserved=0
>
> >
> > > >> > > >*
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> > --
> > > >> > Andrew Wetmore
> > > >> >
> > > >> > http://cottage14.blogspot.com/
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> > <
> > > >> >
> > > >>
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> >
> > > >> > >
> > > >> > Virus-free.
> > > >> > www.avast.com
> > > >> > <
> > > >> >
> > > >>
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> >
> > > >> > >
> > > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > > >> >
> > > >>
> > > >
> > > >
> > > > --
> > > > Andrew Wetmore
> > > >
> > > > http://cottage14.blogspot.com/
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> >
> > > Virus-free.
> > > > www.avast.com
> > > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> >
> > > >
> > > > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > > >
> > >
> >
> >
> > --
> > Andrew Wetmore
> >
> > http://cottage14.blogspot.com/
> >
> >
> >
> >
> >
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> >
> > Virus-free.
> > www.avast.com
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>
> >
> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
>


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