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://bowlerhat.dev>


On Wed, Sep 25, 2019 at 2:58 PM Josh Tynjala <[email protected]>
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://bowlerhat.dev>
>
>
> On Wed, Sep 25, 2019 at 11:25 AM Carlos Rovira <[email protected]>
> 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 (<
>> [email protected]>) 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 <[email protected]>
>> > 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://repository.apache.org/content/repositories/releases/com/adobe/flash/framework/playerglobal/20.0/playerglobal-20.0.pom
>> > >
>> > > Downloading from central:
>> > >
>> > >
>> >
>> https://repo.maven.apache.org/maven2/com/adobe/flash/framework/playerglobal/20.0/playerglobal-20.0.pom
>> > >
>> > > [WARNING] The POM for com.adobe.flash.framework:playerglobal:swc:20.0
>> is
>> > > missing, no dependency information available
>> > >
>> > > Downloading from apache-release:
>> > >
>> > >
>> >
>> https://repository.apache.org/content/repositories/releases/com/adobe/flash/framework/playerglobal/20.0/playerglobal-20.0.swc
>> > >
>> > > Downloading from central:
>> > >
>> > >
>> >
>> https://repo.maven.apache.org/maven2/com/adobe/flash/framework/playerglobal/20.0/playerglobal-20.0.swc
>> > >
>> > > [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://repository.apache.org/content/repositories/releases) ->
>> [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]
>> > >
>> > >
>> >
>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>> > >
>> > >
>> > > 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 (<
>> > > [email protected]>) escribió:
>> > >
>> > > > I'm not sure how it happened this time, but yeah we finally have. ;)
>> > > >
>> > > > śr., 25 wrz 2019 o 17:54 Carlos Rovira <[email protected]>
>> > > > napisał(a):
>> > > >
>> > > > > Hi Piotr,
>> > > > > great to see we have different threads in gmail :)
>> > > > >
>> > > > > El mié., 25 sept. 2019 a las 16:24, Piotr Zarzycki (<
>> > > > > [email protected]>) 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 <
>> > > > > [email protected]
>> > > > > > >
>> > > > > > napisał(a):
>> > > > > >
>> > > > > > > This is the discussion thread.
>> > > > > > >
>> > > > > > > Thanks,
>> > > > > > > Piotr
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > --
>> > > > > >
>> > > > > > Piotr Zarzycki
>> > > > > >
>> > > > > > Patreon: *https://www.patreon.com/piotrzarzycki
>> > > > > > <https://www.patreon.com/piotrzarzycki>*
>> > > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Carlos Rovira
>> > > > > http://about.me/carlosrovira
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > >
>> > > > Piotr Zarzycki
>> > > >
>> > > > Patreon: *https://www.patreon.com/piotrzarzycki
>> > > > <https://www.patreon.com/piotrzarzycki>*
>> > > >
>> > >
>> > >
>> > > --
>> > > Carlos Rovira
>> > > http://about.me/carlosrovira
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>> > Patreon: *https://www.patreon.com/piotrzarzycki
>> > <https://www.patreon.com/piotrzarzycki>*
>> >
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>

Reply via email to