Thanks, Alex. The ApproveRoyale.mxml from the latest release/0.9.6 is working for me if I delete all adobe/royale artifacts from my .m2, and if I omit -Duse-flash=true. However, with -Duse-flash=true, I'm seeing compiler errors when Maven tries to build the SWF version of Binding.swc.
A couple of examples of the errors (there are many more): /Users/joshtynjala/Desktop/royale/apache-royale-0.9.6-maven-src/royale-asjs/frameworks/projects/Binding/src/main/royale/org/apache/royale/binding/ApplicationDataBinding.as(23): col: 12 Warning: Definition org.apache.royale.core.IBinding could not be found. import org.apache.royale.core.IBinding; ^ /Users/joshtynjala/Desktop/royale/apache-royale-0.9.6-maven-src/royale-asjs/frameworks/projects/Binding/src/main/royale/org/apache/royale/binding/ApplicationDataBinding.as(27): col: 12 Warning: Definition org.apache.royale.core.IBead could not be found. import org.apache.royale.core.IBead; ^ Could it be because you removed the asjs_mvn_defines from ApproveRoyale.xml in your new commit that added inputstring="Yes"? I added that back in, and my change seemed to allow me to finish the script successfully with -Duse-flash=true. -- Josh Tynjala Bowler Hat LLC <https://bowlerhat.dev> On Thu, Sep 26, 2019 at 12:47 AM Alex Harui <aha...@adobe.com.invalid> wrote: > Looks like I missed a commit. I just pushed the ApproveRoyale.xml I was > using to the release branch. > > Try that one and see if it works better. It shouldn't require the > workaround you used. > > Thanks, > -Alex > > On 9/25/19, 4:16 PM, "Josh Tynjala" <joshtynj...@bowlerhat.dev> wrote: > > To get the system property working with ApproveRoyale.xml, I added the > following line to each of the mvn commands in my local copy of > ApproveRoyale.xml: > > <arg > > value="-Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=499700b6"/> > > This should work for anyone using Bash's yes command to quickly > approve the > license headers (after you've already done it once manually, of > course). > > yes | ant -e -f ApproveRoyale.xml -Drelease.version=0.9.6 -Drc=3 > > -- > Josh Tynjala > Bowler Hat LLC < > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738714087&sdata=hMkPguiNL2bdcHRmml%2Fjk0nEDkcn9TIaT%2BjcNV%2F7c5k%3D&reserved=0 > > > > > On Wed, Sep 25, 2019 at 2:58 PM Josh Tynjala < > joshtynj...@bowlerhat.dev> > wrote: > > > I deleted all com.adobe artifacts in my Maven .m2 folder, and I can > see > > the prompt to accept the license for the Adobe dependencies. > > > > The build output suggests that you can set a system property to > accept the > > agreement, so I tried adding that property to my command, like this: > > > > ant -e -f ApproveRoyale.xml -Drelease.version=0.9.6 -Drc=3 > > > -Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=XXXXXXXX > > > > (Where XXXXXXXX is replaced by my real system ID) > > > > However, it still asked me to accept the agreement. Perhaps this > system > > property isn't getting inherited by the Maven build. > > > > I am using the RC3 ApproveRoyale.xml linked from the Vote thread, > and not > > an older one. > > > > -- > > Josh Tynjala > > Bowler Hat LLC < > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738724087&sdata=oUzKXHUA9cU7gL5o09ultnH%2Bj7KnC%2FynBhv2J%2BNo%2FFg%3D&reserved=0 > > > > > > > > On Wed, Sep 25, 2019 at 11:25 AM Carlos Rovira < > carlosrov...@apache.org> > > wrote: > > > >> Hi > >> I tried in the meanwhile with your settings and enter in the > endless loop > >> as in RC2 > >> > >> I'll try to run now adding that to the command and report back > >> > >> > >> El mié., 25 sept. 2019 a las 18:59, Piotr Zarzycki (< > >> piotrzarzyck...@gmail.com>) escribió: > >> > >> > The same issue as it was previously. You are missing playerglobal > - I > >> don't > >> > know why at all. You can try to switch to my settings - don't > forget > >> update > >> > link to maven artifacts in it. > >> > > >> > I'm not sure also but maybe you should try to run approve script > with > >> this > >> > one: -Dgenerate.swf.swcs=true and -DskipTests=true. > >> > > >> > śr., 25 wrz 2019 o 18:41 Carlos Rovira <carlosrov...@apache.org> > >> > napisał(a): > >> > > >> > > Hi, > >> > > > >> > > sorry to report that my try failed. I tried with clean .m2 and > my own > >> > > settings.xml. Maybe I need to switch to the settings Piotr send > to me? > >> > > > >> > > as well I used the instruction provided in email: ant -e -f > >> > > ApproveRoyale.xml -Drelease.version=0.9.6 -Drc=3 > >> > > > >> > > > >> > > ache.org/maven2/org/antlr/antlr/3.4/antlr-3.4.jar (1.1 MB at > 2.7 > >> > > MB/s)[INFO] > >> > > > >> > ------------------------------------------------------------------------ > >> > > > >> > > [INFO] Reactor Build Order: > >> > > > >> > > [INFO] > >> > > > >> > > [INFO] Apache Royale: Compiler: Parent > >> > > [pom] > >> > > > >> > > [INFO] Apache Royale: Compiler: Compiler-Common > >> > > [jar] > >> > > > >> > > [INFO] Apache Royale: Compiler: Test Utils > >> > > [jar] > >> > > > >> > > [INFO] Apache Royale: Compiler: Externc > >> > > [jar] > >> > > > >> > > [INFO] Apache Royale: Compiler: Compiler > >> > > [jar] > >> > > > >> > > [INFO] Apache Royale: Compiler: Compiler-JX > >> > > [jar] > >> > > > >> > > [INFO] Apache Royale: Compiler: SWFUtils > >> > > [jar] > >> > > > >> > > [INFO] Apache Royale: Compiler: Debugger > >> > > [jar] > >> > > > >> > > [INFO] Apache Royale: Compiler: OEM Layer > >> > > [jar] > >> > > > >> > > [INFO] Apache Royale: Royale Ant Tasks > >> > > [jar] > >> > > > >> > > [INFO] Apache Royale: RoyaleUnit Ant Tasks > >> > > [jar] > >> > > > >> > > [INFO] Apache Royale: Royale Maven Plugin > >> > > [maven-plugin] > >> > > > >> > > [INFO] > >> > > > >> > > [INFO] ---------< > org.apache.royale.compiler:royale-compiler-parent > >> > > >---------- > >> > > > >> > > [INFO] Building Apache Royale: Compiler: Parent 0.9.6 > >> > > [1/12] > >> > > > >> > > [INFO] --------------------------------[ pom > >> > > ]--------------------------------- > >> > > > >> > > Downloading from apache-release: > >> > > > >> > > > >> > > >> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases%2Fcom%2Fadobe%2Fflash%2Fframework%2Fplayerglobal%2F20.0%2Fplayerglobal-20.0.pom&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738724087&sdata=KG93kKTWx85EmGEy9Tc7S%2BXJrMDPmVzyfOztsb2ckgE%3D&reserved=0 > >> > > > >> > > Downloading from central: > >> > > > >> > > > >> > > >> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepo.maven.apache.org%2Fmaven2%2Fcom%2Fadobe%2Fflash%2Fframework%2Fplayerglobal%2F20.0%2Fplayerglobal-20.0.pom&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738724087&sdata=Eoc%2FQNAhkra9wh%2F5nTIn0AkqAx0M2oEcR4L%2B5iaWzJg%3D&reserved=0 > >> > > > >> > > [WARNING] The POM for > com.adobe.flash.framework:playerglobal:swc:20.0 > >> is > >> > > missing, no dependency information available > >> > > > >> > > Downloading from apache-release: > >> > > > >> > > > >> > > >> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases%2Fcom%2Fadobe%2Fflash%2Fframework%2Fplayerglobal%2F20.0%2Fplayerglobal-20.0.swc&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738724087&sdata=tj4YpbtgpZfUAiI9BOrQkG8hq2qOuo82e%2Fzj2woa9Cw%3D&reserved=0 > >> > > > >> > > Downloading from central: > >> > > > >> > > > >> > > >> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepo.maven.apache.org%2Fmaven2%2Fcom%2Fadobe%2Fflash%2Fframework%2Fplayerglobal%2F20.0%2Fplayerglobal-20.0.swc&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738724087&sdata=ULAveoPavvHpWN%2BCJjlo4JdSMPgJV4vyXuCWxQBnp8c%3D&reserved=0 > >> > > > >> > > [INFO] > >> > > > >> > ------------------------------------------------------------------------ > >> > > > >> > > [INFO] Reactor Summary for Apache Royale: Compiler: Parent > 0.9.6: > >> > > > >> > > [INFO] > >> > > > >> > > [INFO] Apache Royale: Compiler: Parent .................... > FAILURE [ > >> > > 0.982 s] > >> > > > >> > > [INFO] Apache Royale: Compiler: Compiler-Common ........... > SKIPPED > >> > > > >> > > [INFO] Apache Royale: Compiler: Test Utils ................ > SKIPPED > >> > > > >> > > [INFO] Apache Royale: Compiler: Externc ................... > SKIPPED > >> > > > >> > > [INFO] Apache Royale: Compiler: Compiler .................. > SKIPPED > >> > > > >> > > [INFO] Apache Royale: Compiler: Compiler-JX ............... > SKIPPED > >> > > > >> > > [INFO] Apache Royale: Compiler: SWFUtils .................. > SKIPPED > >> > > > >> > > [INFO] Apache Royale: Compiler: Debugger .................. > SKIPPED > >> > > > >> > > [INFO] Apache Royale: Compiler: OEM Layer ................. > SKIPPED > >> > > > >> > > [INFO] Apache Royale: Royale Ant Tasks .................... > SKIPPED > >> > > > >> > > [INFO] Apache Royale: RoyaleUnit Ant Tasks ................ > SKIPPED > >> > > > >> > > [INFO] Apache Royale: Royale Maven Plugin ................. > SKIPPED > >> > > > >> > > [INFO] > >> > > > >> > ------------------------------------------------------------------------ > >> > > > >> > > [INFO] BUILD FAILURE > >> > > > >> > > [INFO] > >> > > > >> > ------------------------------------------------------------------------ > >> > > > >> > > [INFO] Total time: 8.438 s > >> > > > >> > > [INFO] Finished at: 2019-09-25T18:35:49+02:00 > >> > > > >> > > [INFO] > >> > > > >> > ------------------------------------------------------------------------ > >> > > > >> > > [ERROR] Failed to execute goal on project > royale-compiler-parent: > >> Could > >> > not > >> > > resolve dependencies for project > >> > > org.apache.royale.compiler:royale-compiler-parent:pom:0.9.6: > Could not > >> > find > >> > > artifact com.adobe.flash.framework:playerglobal:swc:20.0 in > >> > apache-release > >> > > ( > >> > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738724087&sdata=YHSxqtzdT1VpnnyFcGd%2BOkYfBqT8iQN%2FxE7q2kPIiHc%3D&reserved=0) > -> > >> [Help 1] > >> > > > >> > > [ERROR] > >> > > > >> > > [ERROR] To see the full stack trace of the errors, re-run Maven > with > >> the > >> > -e > >> > > switch. > >> > > > >> > > [ERROR] Re-run Maven using the -X switch to enable full debug > logging. > >> > > > >> > > [ERROR] > >> > > > >> > > [ERROR] For more information about the errors and possible > solutions, > >> > > please read the following articles: > >> > > > >> > > [ERROR] [Help 1] > >> > > > >> > > > >> > > >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FDependencyResolutionException&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738724087&sdata=Rdvjh%2BbJuEAoiFgk4h%2BV8vBJP0ddTtP9%2BACfE3Z2D8A%3D&reserved=0 > >> > > > >> > > > >> > > BUILD FAILED > >> > > > >> > > /Users/carlosrovira/Downloads/testrc3/ApproveRoyale.xml:778: The > >> > following > >> > > error occurred while executing this line: > >> > > > >> > > /Users/carlosrovira/Downloads/testrc3/ApproveRoyale.xml:801: > exec > >> > returned: > >> > > 1 > >> > > > >> > > > >> > > Total time: 27 minutes 17 seconds > >> > > > >> > > macbookpro:testrc3 carlosrovira$ > >> > > > >> > > > >> > > El mié., 25 sept. 2019 a las 17:56, Piotr Zarzycki (< > >> > > piotrzarzyck...@gmail.com>) escribió: > >> > > > >> > > > I'm not sure how it happened this time, but yeah we finally > have. ;) > >> > > > > >> > > > śr., 25 wrz 2019 o 17:54 Carlos Rovira < > carlosrov...@apache.org> > >> > > > napisał(a): > >> > > > > >> > > > > Hi Piotr, > >> > > > > great to see we have different threads in gmail :) > >> > > > > > >> > > > > El mié., 25 sept. 2019 a las 16:24, Piotr Zarzycki (< > >> > > > > piotrzarzyck...@gmail.com>) escribió: > >> > > > > > >> > > > > > Ok, new and hopefully the last one RC3. I didn't run > >> ApproveScript > >> > > > myself > >> > > > > > yet, but will do that tomorrow or next week. > >> > > > > > > >> > > > > > śr., 25 wrz 2019 o 16:23 Apache Royale CI Server < > >> > > > > apacheroyal...@gmail.com > >> > > > > > > > >> > > > > > napisał(a): > >> > > > > > > >> > > > > > > This is the discussion thread. > >> > > > > > > > >> > > > > > > Thanks, > >> > > > > > > Piotr > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > -- > >> > > > > > > >> > > > > > Piotr Zarzycki > >> > > > > > > >> > > > > > Patreon: * > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738724087&sdata=zq5iJi79npGLzIuFaP2xqncGpKv4UrjiwaGgeagCLic%3D&reserved=0 > >> > > > > > < > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738724087&sdata=zq5iJi79npGLzIuFaP2xqncGpKv4UrjiwaGgeagCLic%3D&reserved=0 > >* > >> > > > > > > >> > > > > > >> > > > > > >> > > > > -- > >> > > > > Carlos Rovira > >> > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738724087&sdata=bibt7%2BydaHtVG7QkZCA6vSb9IpEu%2F2R54kn04wtsNU4%3D&reserved=0 > >> > > > > > >> > > > > >> > > > > >> > > > -- > >> > > > > >> > > > Piotr Zarzycki > >> > > > > >> > > > Patreon: * > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738734076&sdata=0uMmOG7cgk04Zr1fpv7%2Fa3IDqVhf6OISKhUp2CZ9l2Y%3D&reserved=0 > >> > > > < > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738734076&sdata=0uMmOG7cgk04Zr1fpv7%2Fa3IDqVhf6OISKhUp2CZ9l2Y%3D&reserved=0 > >* > >> > > > > >> > > > >> > > > >> > > -- > >> > > Carlos Rovira > >> > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738734076&sdata=uKACQvspPF8gkpdn1EWRzKjHMujBkdRKSBoNFaSDim4%3D&reserved=0 > >> > > > >> > > >> > > >> > -- > >> > > >> > Piotr Zarzycki > >> > > >> > Patreon: * > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738734076&sdata=0uMmOG7cgk04Zr1fpv7%2Fa3IDqVhf6OISKhUp2CZ9l2Y%3D&reserved=0 > >> > < > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738734076&sdata=0uMmOG7cgk04Zr1fpv7%2Fa3IDqVhf6OISKhUp2CZ9l2Y%3D&reserved=0 > >* > >> > > >> > >> > >> -- > >> Carlos Rovira > >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C69e4a3028e3e420535f808d7420e5b3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637050501738734076&sdata=uKACQvspPF8gkpdn1EWRzKjHMujBkdRKSBoNFaSDim4%3D&reserved=0 > >> > > > > >