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