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 <[email protected]> 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 <[email protected]> > 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 <[email protected]> >> wrote: >> >> > Thanks @Josh Tynjala <[email protected]> . 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 <[email protected]> >> > 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 <[email protected]> >> >> 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 <[email protected]> >> >> > 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" <[email protected]> >> >> 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&data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&sdata=7h3ZHxgGsfZqP8kE22amKQYDr7%2BNyQa7EpoG86147uU%3D&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&data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&sdata=Ih2P7zf2c%2BLPn5ktks02EE7k6s24RKcabVem7VqjWeg%3D&reserved=0 >> >> > > > >> >> > > >> >> > > >> >> > > On Wed, Oct 9, 2019 at 6:52 AM Piotr Zarzycki < >> >> > > [email protected]> >> >> > > 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&data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&sdata=IebVohnQGkmg%2BAO2RJCS2LRTdP3LQE0NoQ%2BUt7xlOJI%3D&reserved=0 >> >> > > > >> >> > > > Thanks, >> >> > > > -- >> >> > > > >> >> > > > Piotr Zarzycki >> >> > > > >> >> > > > Patreon: * >> >> > > >> >> > >> >> >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&reserved=0 >> >> > > > < >> >> > > >> >> > >> >> >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C972794372a8a4037148008d74cd72cc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637062359364655836&sdata=BmbfQaY1AjgUQk61TOlDZqRi1jWSJWDFaxgzaFiw1c4%3D&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/
