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

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

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>*

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

Posted by Piotr Zarzycki <pi...@gmail.com>.
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 <co...@gmail.com> 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 <co...@gmail.com> 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 <jo...@bowlerhat.dev>
> > 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 <co...@gmail.com>
> >> wrote:
> >>
> >> > Thanks @Josh Tynjala <jo...@bowlerhat.dev> . 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 <
> joshtynjala@bowlerhat.dev>
> >> > 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 <co...@gmail.com>
> >> >> 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 <aharui@adobe.com.invalid
> >
> >> >> > 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" <jo...@bowlerhat.dev>
> >> >> 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 <
> >> >> > > piotrzarzycki21@gmail.com>
> >> >> > >     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/
>

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

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I know this isn't the last post on the thread, and I echo the sentiment of others that we want to know what problems folks are running into getting started with Royale.  Meanwhile, back to the technical issue.

Josh is mostly right.  I don't think folks test the nightly -js package from the royale-asjs build, they probably test the -js package from the royale-asjs_jsonly build which is built differently, but is not released.  It is mainly there to test that you can build from sources without the Adode bits.  But when we release, we release the packages from a royale-asjs build.  Things like config files get generated differently and we didn't catch that.  Once I get the royale-asjs build running on the new CI server I will look into adding a test to validate that the config files from both runs are the same (or similar enough).

Meanwhile, it would be great to get a few folks to verify what I think is the simplest workaround.  I know we've asked folks to edit their royale-config.xml but there is always a chance you might make a mistake editing the file.

I was able to workaround the issue on my Mac using the released -js package (not from NPM, but should be the same) by doing:
0) Open command prompt/Terminal window
1) Change directory to the royale-asjs folder in the package
2) Run:  echo playerglobal.version=11.7 >local.properties
3) Run:  ant create-config

This should work on Windows as well.

It would be great if some others can verify these steps work for them and get a volunteer to update the online release notes https://github.com/apache/royale-asjs/wiki/Release-Notes-0.9.6 with various ways to workaround the problems.  IMO, there are actually two problems.  The config files should have had their target-player updated but didn't.

HTH,
-Alex

On 10/9/19, 3:34 PM, "Josh Tynjala" <jo...@bowlerhat.dev> wrote:

    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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487121918&amp;sdata=SzmQJsAOw5VdNcB%2FRgSOjZyi9l5Ns%2FuqxrX5jgoucPc%3D&amp;reserved=0>
    
    
    On Wed, Oct 9, 2019 at 3:21 PM Andrew Wetmore <co...@gmail.com> 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487121918&amp;sdata=q0%2BZjlowfJQ5ZJkWpRRIPvu0H43L641ckvHExdm0bjQ%3D&amp;reserved=0
    > >
    > Virus-free.
    > https://nam04.safelinks.protection.outlook.com/?url=www.avast.com&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487121918&amp;sdata=sRRaHTJgu0t0ZVhvJ5IkcLreTogSm%2B5Pp%2BJ30HRITxY%3D&amp;reserved=0
    > <
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487121918&amp;sdata=q0%2BZjlowfJQ5ZJkWpRRIPvu0H43L641ckvHExdm0bjQ%3D&amp;reserved=0
    > >
    > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
    >
    > On Wed, Oct 9, 2019 at 6:40 PM Andrew Wetmore <co...@gmail.com> 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487121918&amp;sdata=q0%2BZjlowfJQ5ZJkWpRRIPvu0H43L641ckvHExdm0bjQ%3D&amp;reserved=0>
    > Virus-free.
    > > https://nam04.safelinks.protection.outlook.com/?url=www.avast.com&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487121918&amp;sdata=sRRaHTJgu0t0ZVhvJ5IkcLreTogSm%2B5Pp%2BJ30HRITxY%3D&amp;reserved=0
    > > <
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=EsuNz5tae5ke1Jp8N3R232zga%2F3WxNLamY23b%2Fe2GSQ%3D&amp;reserved=0
    > >
    > > <#m_-6424551647352680386_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
    > >
    > > On Wed, Oct 9, 2019 at 5:52 PM Josh Tynjala <jo...@bowlerhat.dev>
    > > wrote:
    > >
    > >> The main royale-asjs README mentions the Adobe stuff as optional
    > >> dependencies, but the instructions seem to be aimed at contributors:
    > >>
    > >>
    > >>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%23additional-prerequisites-for-swf-output&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=26OITXojfN294POLweq42Lav18UAxEKqsPB3BBuqOhk%3D&amp;reserved=0
    > >>
    > >> 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapache.github.io%2Froyale-docs%2Fget-started%2Fdownload-royale&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=pnY3XNfO6Io5y8VmFJsHKYJ94JBDKMFah2qj%2BHaaNOQ%3D&amp;reserved=0
    > >>
    > >> 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=pKgf3%2Bwyj5MGjRyMqSGGOXX4AB7Fi%2BAgDHXCio7pa9w%3D&amp;reserved=0>
    > >>
    > >>
    > >> On Wed, Oct 9, 2019 at 1:44 PM Andrew Wetmore <co...@gmail.com>
    > >> wrote:
    > >>
    > >> > Thanks @Josh Tynjala <jo...@bowlerhat.dev> . Do we say that
    > >> > anywhere in the instructions where a new user would run into it?
    > >> >
    > >> >
    > >> > <
    > >>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=EsuNz5tae5ke1Jp8N3R232zga%2F3WxNLamY23b%2Fe2GSQ%3D&amp;reserved=0
    > >
    > >> Virus-free.
    > >> > https://nam04.safelinks.protection.outlook.com/?url=www.avast.com&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=isExjX7Do4OSn20fHMXbQQuTuaU24w%2Fsk4zCbFVdCFc%3D&amp;reserved=0
    > >> > <
    > >>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=EsuNz5tae5ke1Jp8N3R232zga%2F3WxNLamY23b%2Fe2GSQ%3D&amp;reserved=0
    > >> >
    > >> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
    > >> >
    > >> > On Wed, Oct 9, 2019 at 5:27 PM Josh Tynjala <
    > joshtynjala@bowlerhat.dev>
    > >> > 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=pKgf3%2Bwyj5MGjRyMqSGGOXX4AB7Fi%2BAgDHXCio7pa9w%3D&amp;reserved=0>
    > >> >>
    > >> >>
    > >> >> On Wed, Oct 9, 2019 at 1:16 PM Andrew Wetmore <co...@gmail.com>
    > >> >> 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=EsuNz5tae5ke1Jp8N3R232zga%2F3WxNLamY23b%2Fe2GSQ%3D&amp;reserved=0
    > >> >> > >
    > >> >> > Virus-free.
    > >> >> > https://nam04.safelinks.protection.outlook.com/?url=www.avast.com&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=isExjX7Do4OSn20fHMXbQQuTuaU24w%2Fsk4zCbFVdCFc%3D&amp;reserved=0
    > >> >> > <
    > >> >> >
    > >> >>
    > >>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=EsuNz5tae5ke1Jp8N3R232zga%2F3WxNLamY23b%2Fe2GSQ%3D&amp;reserved=0
    > >> >> > >
    > >> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
    > >> >> >
    > >> >> > On Wed, Oct 9, 2019 at 3:07 PM Alex Harui <aharui@adobe.com.invalid
    > >
    > >> >> > 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" <jo...@bowlerhat.dev>
    > >> >> 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%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487131914&amp;sdata=4cJnNsqy7002O2vKk5fjVg%2F5i9TZR%2FP%2BdVMg8II%2BTi4%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%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487141909&amp;sdata=isamD9l05P61rqCE67NibcortCcFvPyDwExayqcEuaY%3D&amp;reserved=0
    > >> >> > > >
    > >> >> > >
    > >> >> > >
    > >> >> > >     On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki <
    > >> >> > > piotrzarzycki21@gmail.com>
    > >> >> > >     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%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487141909&amp;sdata=cd28mSBGAG9biwWTMMkXjbQy7PdKBEKEHIDiTzSMFYY%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%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487141909&amp;sdata=277lFmPCGm5WWmwIlavhoaIqD%2FDdVk%2BWv5lcVzOHRQo%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%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487141909&amp;sdata=277lFmPCGm5WWmwIlavhoaIqD%2FDdVk%2BWv5lcVzOHRQo%3D&amp;reserved=0
    > >> >> > > >*
    > >> >> > >     >
    > >> >> > >
    > >> >> > >
    > >> >> > >
    > >> >> >
    > >> >> > --
    > >> >> > Andrew Wetmore
    > >> >> >
    > >> >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcottage14.blogspot.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487141909&amp;sdata=nro7N30cwwF5UpbXZikiseCImLS1ZTL1f6vriGXjPWg%3D&amp;reserved=0
    > >> >> >
    > >> >> >
    > >> >> >
    > >> >> >
    > >> >> >
    > >> >> > <
    > >> >> >
    > >> >>
    > >>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487141909&amp;sdata=0bxRH4jJgCwnV8hUEk4tDPQWBQNAXw0ETPpC2dPbdYE%3D&amp;reserved=0
    > >> >> > >
    > >> >> > Virus-free.
    > >> >> > https://nam04.safelinks.protection.outlook.com/?url=www.avast.com&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487141909&amp;sdata=bFqPtiA0OTol9cBQPh7eU7SBGy9Gn2y6Yv%2FXmiOAzYk%3D&amp;reserved=0
    > >> >> > <
    > >> >> >
    > >> >>
    > >>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487141909&amp;sdata=0bxRH4jJgCwnV8hUEk4tDPQWBQNAXw0ETPpC2dPbdYE%3D&amp;reserved=0
    > >> >> > >
    > >> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
    > >> >> >
    > >> >>
    > >> >
    > >> >
    > >> > --
    > >> > Andrew Wetmore
    > >> >
    > >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcottage14.blogspot.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487141909&amp;sdata=nro7N30cwwF5UpbXZikiseCImLS1ZTL1f6vriGXjPWg%3D&amp;reserved=0
    > >> >
    > >> >
    > >> >
    > >> >
    > >> >
    > >> >
    > >> > <
    > >>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487151906&amp;sdata=aYPNC7py%2Fcd84L%2FJecRDoz1YPbz%2Bt87uXTLEDj3ByLQ%3D&amp;reserved=0
    > >
    > >> Virus-free.
    > >> > https://nam04.safelinks.protection.outlook.com/?url=www.avast.com&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487151906&amp;sdata=BzK5lq%2FjFeG4qAcnU01XkzB7Su2gBsbFUjFneQj%2Bqsk%3D&amp;reserved=0
    > >> > <
    > >>
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487151906&amp;sdata=aYPNC7py%2Fcd84L%2FJecRDoz1YPbz%2Bt87uXTLEDj3ByLQ%3D&amp;reserved=0
    > >> >
    > >> > <#m_-3106823410389824051_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
    > >> >
    > >>
    > >
    > >
    > > --
    > > Andrew Wetmore
    > >
    > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcottage14.blogspot.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487151906&amp;sdata=4WN%2FRthyO5Xr0UCvJgd0ezMszXXiAn5R82Vn3ehl9U4%3D&amp;reserved=0
    > >
    > >
    > >
    > >
    > >
    > >
    > > <
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487151906&amp;sdata=aYPNC7py%2Fcd84L%2FJecRDoz1YPbz%2Bt87uXTLEDj3ByLQ%3D&amp;reserved=0>
    > Virus-free.
    > > https://nam04.safelinks.protection.outlook.com/?url=www.avast.com&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487151906&amp;sdata=BzK5lq%2FjFeG4qAcnU01XkzB7Su2gBsbFUjFneQj%2Bqsk%3D&amp;reserved=0
    > > <
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487151906&amp;sdata=aYPNC7py%2Fcd84L%2FJecRDoz1YPbz%2Bt87uXTLEDj3ByLQ%3D&amp;reserved=0
    > >
    > > <#m_-6424551647352680386_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
    > >
    >
    >
    > --
    > Andrew Wetmore
    >
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcottage14.blogspot.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C5072457c2e7143c15e7008d74d08c883%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062572487151906&amp;sdata=4WN%2FRthyO5Xr0UCvJgd0ezMszXXiAn5R82Vn3ehl9U4%3D&amp;reserved=0
    >
    


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

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
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 <co...@gmail.com> 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 <co...@gmail.com> 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 <jo...@bowlerhat.dev>
> > 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 <co...@gmail.com>
> >> wrote:
> >>
> >> > Thanks @Josh Tynjala <jo...@bowlerhat.dev> . 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 <
> joshtynjala@bowlerhat.dev>
> >> > 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 <co...@gmail.com>
> >> >> 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 <aharui@adobe.com.invalid
> >
> >> >> > 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" <jo...@bowlerhat.dev>
> >> >> 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 <
> >> >> > > piotrzarzycki21@gmail.com>
> >> >> > >     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/
>

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

Posted by Andrew Wetmore <co...@gmail.com>.
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 <co...@gmail.com> 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 <jo...@bowlerhat.dev>
> 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 <co...@gmail.com>
>> wrote:
>>
>> > Thanks @Josh Tynjala <jo...@bowlerhat.dev> . 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 <jo...@bowlerhat.dev>
>> > 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 <co...@gmail.com>
>> >> 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 <ah...@adobe.com.invalid>
>> >> > 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" <jo...@bowlerhat.dev>
>> >> 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 <
>> >> > > piotrzarzycki21@gmail.com>
>> >> > >     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/

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

Posted by Andrew Wetmore <co...@gmail.com>.
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 <jo...@bowlerhat.dev>
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 <co...@gmail.com> 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 <jo...@bowlerhat.dev>
> > 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 <co...@gmail.com>
> > wrote:
> > >
> > > > Thanks @Josh Tynjala <jo...@bowlerhat.dev> . 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 <
> joshtynjala@bowlerhat.dev
> > >
> > > > 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 <co...@gmail.com>
> > > >> 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
> <aharui@adobe.com.invalid
> > >
> > > >> > 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" <joshtynjala@bowlerhat.dev
> >
> > > >> 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 <
> > > >> > > piotrzarzycki21@gmail.com>
> > > >> > >     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>

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

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
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 <co...@gmail.com> 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 <jo...@bowlerhat.dev>
> 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 <co...@gmail.com>
> wrote:
> >
> > > Thanks @Josh Tynjala <jo...@bowlerhat.dev> . 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 <joshtynjala@bowlerhat.dev
> >
> > > 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 <co...@gmail.com>
> > >> 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 <aharui@adobe.com.invalid
> >
> > >> > 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" <jo...@bowlerhat.dev>
> > >> 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 <
> > >> > > piotrzarzycki21@gmail.com>
> > >> > >     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>
>

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

Posted by Andrew Wetmore <co...@gmail.com>.
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 <jo...@bowlerhat.dev>
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 <co...@gmail.com> wrote:
>
> > Thanks @Josh Tynjala <jo...@bowlerhat.dev> . 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 <jo...@bowlerhat.dev>
> > 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 <co...@gmail.com>
> >> 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 <ah...@adobe.com.invalid>
> >> > 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" <jo...@bowlerhat.dev>
> >> 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 <
> >> > > piotrzarzycki21@gmail.com>
> >> > >     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>

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

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
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 <co...@gmail.com> wrote:

> Thanks @Josh Tynjala <jo...@bowlerhat.dev> . 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 <jo...@bowlerhat.dev>
> 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 <co...@gmail.com>
>> 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 <ah...@adobe.com.invalid>
>> > 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" <jo...@bowlerhat.dev>
>> 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 <
>> > > piotrzarzycki21@gmail.com>
>> > >     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>
>

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

Posted by Andrew Wetmore <co...@gmail.com>.
Thanks @Josh Tynjala <jo...@bowlerhat.dev> . 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 <jo...@bowlerhat.dev>
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 <co...@gmail.com> 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 <ah...@adobe.com.invalid>
> > 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" <jo...@bowlerhat.dev>
> 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 <
> > > piotrzarzycki21@gmail.com>
> > >     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>

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

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
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 <co...@gmail.com> 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 <ah...@adobe.com.invalid>
> 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" <jo...@bowlerhat.dev> 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 <
> > piotrzarzycki21@gmail.com>
> >     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>
>

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

Posted by Andrew Wetmore <co...@gmail.com>.
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 <ah...@adobe.com.invalid> 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" <jo...@bowlerhat.dev> 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 <
> piotrzarzycki21@gmail.com>
>     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>

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

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <jo...@bowlerhat.dev> 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 <pi...@gmail.com>
    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>*
    >
    


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

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
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 <pi...@gmail.com>
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>*
>

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

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
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 <pi...@gmail.com>
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>*
>