Looks like the profiles in ApproveRoyale.xml need to be updated after Chris’s
refactor. Can someone fix this?
<exec executable="${mvn}"
dir="${basedir}/${maven.package.url.name}/royale-compiler" failonerror="true" >
<arg value="-P" />
<arg value="-main,utils" />
<arg value="clean" />
<arg value="install" />
</exec>
<exec executable="${mvn}"
dir="${basedir}/${maven.package.url.name}/royale-compiler" failonerror="true"
inputstring="Yes">
<arg value="clean" />
<arg value="-P" />
<arg value="${compiler_mvn_profiles}" />
<arg value="install" />
</exec>
<exec executable="${mvn}"
dir="${basedir}/${maven.package.url.name}/royale-typedefs" failonerror="true" >
<arg value="clean" />
<arg value="install" />
</exec>
<exec executable="${mvn}"
dir="${basedir}/${maven.package.url.name}/royale-asjs" failonerror="true"
inputstring="Yes">
<arg value="${asjs_mvn_defines}" />
<arg value="clean" />
<arg value="-P" />
<arg value="${asjs_mvn_profiles}" />
<arg value="install" />
</exec>
From: Yishay Weiss<mailto:[email protected]>
Sent: Sunday, May 3, 2020 5:02 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: [DISCUSS] Discuss Release Apache Royale 0.9.7
Oops, may have been premature to start the vote.
I’m getting this [1] when running ApproveRoyale.xml. Any ideas?
[1]
build_maven:
[echo] Path is
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Intel\WiFi\bin\;C:\Prog
ram Files\Common
Files\Intel\WirelessCommon\;C:\dev\maven\apache-maven-3.6.1\bin;C:\dev\ant\apache-ant-1.10.1\bin;C:\Program
Files (x86)\Vim\vim82;C:\Program Fi
les\Git\cmd;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft VS
Code\bin;C:\Program
Files\PuTTY\;C:\Users\Yishay\AppData\Local\Microsoft\WindowsApps;C:\U
sers\Yishay\AppData\Roaming\npm;C:\adb;C:\Users\Yishay\.windows-build-tools\python27;C:\Program
Files\nodejs\;C:\Program Files\Java\jdk1.8.0_212\bin;C:\WINDOWS\
system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;;C:\Program
Files (x86)\Gpg4win\..\GnuPG\b
in;C:\Program
Files\SlikSvn\bin;C:\Users\Yishay\AppData\Local\Microsoft\WindowsApps;C:\Users\Yishay\AppData\Roaming\npm;;C:\Program
Files (x86)\Vim\vim82
[exec] [INFO] Scanning for projects...
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] Reactor Build Order:
[exec] [INFO]
[exec] [INFO] Apache Royale: Compiler: Parent
[pom]
[exec] [INFO] Apache Royale: Compiler: Compiler-Common
[jar]
[exec] [INFO] Apache Royale: Compiler: Test Utils
[jar]
[exec] [INFO] Apache Royale: Compiler: Externc
[jar]
[exec] [INFO] Apache Royale: Compiler: Compiler
[jar]
[exec] [INFO] Apache Royale: Compiler: Compiler-JX
[jar]
[exec] [INFO] Apache Royale: Compiler: SWFUtils
[jar]
[exec] [INFO] Apache Royale: Compiler: Debugger
[jar]
[exec] [INFO] Apache Royale: Compiler: OEM Layer
[jar]
[exec] [INFO] Apache Royale: Royale Ant Tasks
[jar]
[exec] [INFO] Apache Royale: RoyaleUnit Ant Tasks
[jar]
[exec] [INFO] Apache Royale: Royale Maven Plugin
[maven-plugin]
[exec] [INFO]
[exec] [INFO] ---------< org.apache.royale.compiler:royale-compiler-parent
>----------
[exec] [INFO] Building Apache Royale: Compiler: Parent 0.9.8-SNAPSHOT
[1/12]
[exec] [INFO] --------------------------------[ pom
]---------------------------------
[exec] [INFO]
[exec] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @
royale-compiler-parent ---
[exec] [INFO]
[exec] [INFO] --- maven-enforcer-plugin:1.4.1:enforce
(enforce-maven-version) @ royale-compiler-parent ---
[exec] [INFO]
[exec] [INFO] --- groovy-maven-plugin:2.1.1:execute (prerequisite-check) @
royale-compiler-parent ---
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] Reactor Summary for Apache Royale: Compiler: Parent
0.9.8-SNAPSHOT:
[exec] [INFO]
[exec] [INFO] Apache Royale: Compiler: Parent .................... FAILURE
[ 3.938 s]
[exec] [INFO] Apache Royale: Compiler: Compiler-Common ........... SKIPPED
[exec] [INFO] Apache Royale: Compiler: Test Utils ................ SKIPPED
[exec] [INFO] Apache Royale: Compiler: Externc ................... SKIPPED
[exec] [INFO] Apache Royale: Compiler: Compiler .................. SKIPPED
[exec] [INFO] Apache Royale: Compiler: Compiler-JX ............... SKIPPED
[exec] [INFO] Apache Royale: Compiler: SWFUtils .................. SKIPPED
[exec] [INFO] Apache Royale: Compiler: Debugger .................. SKIPPED
[exec] [INFO] Apache Royale: Compiler: OEM Layer ................. SKIPPED
[exec] [INFO] Apache Royale: Royale Ant Tasks .................... SKIPPED
[exec] [INFO] Apache Royale: RoyaleUnit Ant Tasks ................ SKIPPED
[exec] [INFO] Apache Royale: Royale Maven Plugin ................. SKIPPED
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] BUILD FAILURE
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] Total time: 5.067 s
[exec] [INFO] Finished at: 2020-05-03T16:52:27+03:00
[exec] [INFO]
------------------------------------------------------------------------
[exec] [WARNING] The requested profile "utils" could not be activated
because it does not exist.
[exec] [ERROR] Failed to execute goal
org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute (prerequisite-check) on
project royale-compiler-parent: Executi
on prerequisite-check of goal
org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute failed: startup failed:
[exec] [ERROR] script1.groovy: 1: unexpected char: '\' @ line 1, column 3.
[exec] [ERROR]
C:\dev\dist\dist\dev\royale\0.9.7\rc3\apache-royale-0.9.7-maven-src\royale-compiler/src/main/script/prerequisiteCheck.groovy
[exec] [ERROR] ^
[exec] [ERROR]
[exec] [ERROR] 1 error
[exec] [ERROR]
[exec] [ERROR] -> [Help 1]
[exec] [ERROR]
[exec] [ERROR] To see the full stack trace of the errors, re-run Maven
with the -e switch.
[exec] [ERROR] Re-run Maven using the -X switch to enable full debug
logging.
[exec] [ERROR]
[exec] [ERROR] For more information about the errors and possible
solutions, please read the following articles:
[exec] [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[exec] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
BUILD FAILED
C:\dev\dist\dist\dev\royale\0.9.7\rc3\ApproveRoyale.xml:780: The following
error occurred while executing this line:
C:\dev\dist\dist\dev\royale\0.9.7\rc3\ApproveRoyale.xml:797: exec returned: 1
Total time: 122 minutes 58 seconds
C:\dev\dist\dist\dev\royale\0.9.7\rc3> From:
[email protected]<mailto:[email protected]>
Sent: Sunday, May 3, 2020 4:53 PM
To: [email protected]<mailto:[email protected]>
Subject: [DISCUSS] Discuss Release Apache Royale 0.9.7
This is the discussion thread.
Thanks,
Yishay Weiss