I removed TDF and ASDoc from running after asjs. That should reduce the changes you get blocked by something that takes a long time. We can put it back later.
-Alex On 5/4/20, 11:29 PM, "Yishay Weiss" <yishayj...@hotmail.com> wrote: Great. Thanks to Alex and Chris for reviewing this. Om, is there any chance you can look at the CI configuration and see if the jobs are still distributed between the 2 agents? Last time I looked it looked like they were all configured to work with agent1, which would mean TDF slowing down the build again. I may have missed something. From: Alex Harui<mailto:aha...@adobe.com.INVALID> Sent: Tuesday, May 5, 2020 9:24 AM To: dev@royale.apache.org<mailto:dev@royale.apache.org> Subject: Re: [DISCUSS] Discuss Release Apache Royale 0.9.7 Thanks Yishay. I am putting together CI jobs to verify that my changes will pick up the groovy files. The files that changed are part of the source package and were tagged as RC3 and one of them is in royale-compiler which is why we must start essentially from the beginning. You can skip the CI steps that create the release branches and set version numbers, but we have to run pretty much all of the steps you ran last time (2, 3, 6, 7, 10, 11, 13). If I have time I will revert the pom changes the release-plugin makes to the release branch. -Alex On 5/4/20, 10:48 PM, "Yishay Weiss" <yishayj...@hotmail.com> wrote: Hi All, It’s starting to look like the cleanest solution is to start an RC4. I intend to start working on that in 10 hours or so. In the meantime, I’d appreciate it if people took time to look at RC3, so we don’t end up with an RC5. Thanks, Yishay From: Alex Harui<mailto:aha...@adobe.com.INVALID> Sent: Tuesday, May 5, 2020 12:22 AM To: dev@royale.apache.org<mailto:dev@royale.apache.org> Subject: Re: [DISCUSS] Discuss Release Apache Royale 0.9.7 The Ant packages only contain things we know we want to release. Top-level folders are not whitelisted in because you never know what might be in them. We've never released the manualtests folder for example, so we don't have to spend time certifying it for code quality and build-ability, license, etc. We've never shipped the top-level src folder because it used to only contain a site folder that wasn't going to be of use to our users. So when the groovy scripts were added to the src folder, they were not included in the Ant packaging. We also have never voted on and released the 3 top-level Maven source packages, mainly to reduce the amount of work the voters need to do. The Maven source packages are "tested" by the Maven release plugin, and the 3 packages are unpacked and repacked into the Ant package. So far, we've found that two new files were missed. How many of our users build the source package is one factor and I think the answer for Royale is that few people do it. Apache release are supposed to "build" and the Ant source package will build with Ant. IMO, the best next thing for PMC members to do is to download the RC and try it with Ant, and/or use Maven to point to the staging repos and test the artifacts that have been staged up there and see if we see any other big issues. Maybe we'll find something else and make RC4 an obvious choice. Other choices are: A) Release RC3 with documenting all of the problems in the online release notes B) Also certifying and voting on the 3 Maven source packages. IMO, what we don't want to see happen is for folks to not test RC3 and find out some big issue later. My 2 cents, -Alex On 5/4/20, 12:24 PM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote: The more I think about it .... it's actually not good that the groovy script isn't in there as this way you will not be able to download, unpack and build anything with maven. As maven calls this script as the first thing in every maven build to ensure everything is setup. Without this, you will never get past the Maven validate phase ... so if I had a vote, I would probably vote -1 on that. When ere these files getting lost? In the initial source bundles built by maven they should be in there ... so probably you only have to re-do some of the last steps. Chris Am 04.05.20, 20:13 schrieb "Yishay Weiss" <yishayj...@hotmail.com>: Ok, I just verified that copying the script to the right location makes the groovy plugin happy, so it doesn’t seem to be a windows or backslash issue after all. I need an explanation on when Maven will be used to build the Ant sources to decide if it’s worth an RC4. From: Alex Harui<mailto:aha...@adobe.com.INVALID> Sent: Monday, May 4, 2020 7:14 PM To: dev@royale.apache.org<mailto:dev@royale.apache.org> Subject: Re: [DISCUSS] Discuss Release Apache Royale 0.9.7 The groovy script is not in the ant packages on dist. My earlier email tried to explain that. Not every file in the repo ends up in the ant packages on purpose. If we do an RC4, hopefully the changes I made will pick those two files. -Alex On 5/4/20, 8:54 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote: .mvn folder exists in GitHub but not in SVN. Could that be related? From: Yishay Weiss<mailto:yishayj...@hotmail.com> Sent: Monday, May 4, 2020 6:40 PM To: dev@royale.apache.org<mailto:dev@royale.apache.org> Subject: RE: [DISCUSS] Discuss Release Apache Royale 0.9.7 Look down-thread: > > [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 I verified that the groovy plugin was being called in both case and was being fed backslashes as well as forward slashes in both cases. Also, both have the same version: 2.1.1 From: Piotr Zarzycki <piotrzarzyck...@gmail.com> Sent: Monday, May 4, 2020 6:35:22 PM To: Apache Royale Development <dev@royale.apache.org> Subject: Re: [DISCUSS] Discuss Release Apache Royale 0.9.7 Something cut the message. Could you paste here https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F&data=02%7C01%7Caharui%40adobe.com%7C9bb7ef7609cb4679388108d7f0bdab35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637242569729584053&sdata=pVVf0wgffW4nn1oofzUz%2BGklX7RRp1eVE56jqi47sos%3D&reserved=0 pon., 4 maj 2020 o 17:32 Yishay Weiss <yishayj...@hotmail.com> napisał(a): > This means though, that it’s still failing on Windows after Alex’s > changes, as I’ve verified. I’m getting a bit lost trying to debug this. > > Running from the SVN dist repo > > C:\dev\dist\dist\dev\royale\0.9.7\rc3\apache-royale-0.9.7-maven-src\royale-compiler> > mvn clean install > > Fails with the below message, > > But running the same command from the git repo > > C:\dev\flexjs\royale-compiler [release/0.9.7 =]> mvn clean install > > Does not fail. > > Any ideas? > > > > > From: Yishay Weiss<mailto:yishayj...@hotmail.com> > Sent: Monday, May 4, 2020 3:04 PM > To: dev@royale.apache.org<mailto:dev@royale.apache.org> > Subject: RE: [DISCUSS] Discuss Release Apache Royale 0.9.7 > > Good catch Chris. I was focusing on the wrong message. > > From: Christofer Dutz<mailto:christofer.d...@c-ware.de> > Sent: Monday, May 4, 2020 2:09 PM > To: dev@royale.apache.org<mailto:dev@royale.apache.org> > Subject: Re: [DISCUSS] Discuss Release Apache Royale 0.9.7 > > Just some input from the sidelines: > - It shouldn't have any impact on the build if you enable/disable profiles > that don't exist. All you get is a warning that tells you the profiles > don't exist. > > - The actual failure is because the the path to the prerequisiteCheck > script is windows-encoded (Backslashs) ... strange thing is that this > didn't fail for normal Windows executions both for Royale same as in PLC4X > ... we've got the identical setup for 2-3 years now and haven't heard of > any issues with it. I would guess the build is started somewhat differently > than others ... perhaps it could be fixed by removing the > "${project.basedir}/" prefix and using relative paths instead. > > And just a little explanation what this script does: > It's a goovy script that is executed and checks if all required tools are > available in the right versions and if all required environment-variables > are set and are set to valid values. As soon as you run a Maven build it > outputs a list of thigs it checked and if checks fail, it quickly fails the > build with a list of findings the user has to address first. > > Hope that helps. > > Chris > > > > Am 04.05.20, 11:45 schrieb "Carlos Rovira" <carlosrov...@apache.org>: > > Hi Alex and Yishay, > > first, congrats for the hard work to reach to this point. I think many > issues has been fixed and only that just is worth the time you guys > invested on it :) > > regarding voting. I'm confident that my check will report a +1 since, I > consider all the points for a normal Apache release, but thinking in > the > current problem with running maven from ant with old profiles... why > the > need to make ANT run maven again. both are different build tools and > both > need to work separately, but don't understand why one should run the > other. > And if that's the case, why just make ant run maven? why not make > maven run > ant too? I think it should be all or nothing > > The other point I don't understand is about why to continue vote if you > detect the problems stated in this thread. For me is completely ok, > but if > you worked hard to make all this complex release process, don't > understand > that you finally consider green light when that approval script is > failing. > For me that means that all that complication was not needed, and people > must check on its own that is something normal in an apache release, > so no > problem at all with that. > > if you consider it's ok to vote, for me is ok, since all seems to > consider > the real minimum requirements, people is waiting long time, and I'm not > interested in discuss it, since is clear you see it necessary for your > release process, but just one to state it so we can all stop and take a > bird sight on all of it and help us to visualize. Sometimes we use to > loose perspective when we're working many time and hard in something. > > Anyway, I'll wait to have clear if is time to try release and vote to > not > waste time if it's not ok finally. > > Thanks! > > Carlos > > > > > > > El lun., 4 may. 2020 a las 9:11, Alex Harui (<aha...@adobe.com.invalid > >) > escribió: > > > I just quickly reviewed the various > RELEASE_NOTES/README/LICENSE/NOTICE > > files. I guess nobody had done that earlier. The biggest problem > is that > > there were 3 missing binary package dependencies in the LICENSE in > the > > binary package. > > > > I noticed the copyright year in the various NOTICE.* files is still > 2019 > > but did not update it because I am running out of time. I've heard > > different opinions on how important that is. > > > > The URL to the online Release Notes is in the > > royale-asjs/RELEASE_NOTES.md. This might be a good time to create > the wiki > > page if it doesn't already exist. > > > > I'm stopping work for tonight. > > -Alex > > > > On 5/3/20, 11:58 PM, "Yishay Weiss" <yishayj...@hotmail.com> wrote: > > > > Ik, online release notes sounds like a good compromise. Thank > for the > > fixes. Let the votes begin! > > ________________________________ > > From: Alex Harui <aha...@adobe.com.INVALID> > > Sent: Monday, May 4, 2020 6:00 AM > > To: dev@royale.apache.org <dev@royale.apache.org> > > Subject: Re: [DISCUSS] Discuss Release Apache Royale 0.9.7 > > > > Not sure I understood you. We can't release a changed README in > > royale-compiler without starting an RC4. The updated README has been > > committed to the release branch. We have to revert some commits on > the > > release branches that change the versions to 0.9.8 snapshot before > starting > > over. > > > > If you have the time to re-run most of the steps, that would be > best, > > but will delay the release and I'm not sure it is worth it. We have > online > > release notes to make corrections. > > > > I think it is mostly up to you though. > > -Alex > > > > On 5/3/20, 10:42 PM, "Yishay Weiss" <yishayj...@hotmail.com> > wrote: > > > > I think we should continue the vote. If more problems are > > discovered I can start another release candidate. I think we should > at > > least fix the compile README to not use -main. > > > > From: Alex Harui<mailto:aha...@adobe.com.INVALID> > > Sent: Sunday, May 3, 2020 10:06 PM > > To: dev@royale.apache.org<mailto:dev@royale.apache.org> > > Subject: Re: [DISCUSS] Discuss Release Apache Royale 0.9.7 > > > > Bummer. Lots of little things flushed out late in the game. > > > > -There are .afdesign binary files checked into our repos. > These > > are binary files that aren't the common types (.PNG, .JPG, etc). > > -New required folders (src/main) were added to the Maven > build for > > royale-compiler and royale-asjs but not added to the Ant source > packaging > > -The uses of -main that Yishay found. > > > > IMO, quickest way to a release is to not start over with an > RC4 > > unless we find a more major problem with RC3. I've updated several > files > > in the branch. I'm going to skip releasecandidate.xml for now until > > someone wants to cut a release locally and use Ant to type fewer > commands. > > > > The Approval script will fail testing if the Ant source can > be > > used by Maven. Assuming the Maven distribution is working, this is > less > > important. So I think that we skip that test for this RC. I put an > > ApproveRoyale.xml on dist that skips that test and then the approval > script > > completed successfully. I also manually tested that if we have the > two > > missing folders that the ApproveRoyale.xml I checked into the release > > branch will build the Maven artifacts from the Ant source. > > > > So, IMO, I think the packages are good enough for now and we > > should release unless we find something is broken in the jars and > swcs. > > > > My 2 cents, > > -Alex > > > > On 5/3/20, 8:08 AM, "Alex Harui" <aha...@adobe.com.INVALID> > wrote: > > > > I will look into it. > > > > -Alex > > > > On 5/3/20, 7:35 AM, "Yishay Weiss" < > yishayj...@hotmail.com> > > wrote: > > > > Whatever the fix is, it will also need to be applied > in > > these files: > > > > C:\dev\flexjs\royale-asjs [release/0.9.7 =]> git grep > > "main,utils" > > ApproveRoyale.xml: <arg > value="-main,utils" /> > > releasecandidate.xml: <arg > value="-main,utils" > > /> > > releasecandidate.xml: <arg > value="-main,utils" > > /> > > releasemgr/README:royale-compiler: mvn clean > install -P > > -main,utils > > C:\dev\flexjs\royale-asjs [release/0.9.7 =]> cd .. > > C:\dev\flexjs> cd .\royale-compiler\ > > C:\dev\flexjs\royale-compiler [release/0.9.7 =]> git > grep > > "main,utils" > > Jenkinsfile: bat "mvn -U clean > ${mavenGoal} > > ${mavenLocalRepo} -s C:\\.m2\\settings.xml -P -main,utils > > -Dcom.adobe.systemIdsForWhichTheTermsOfTheA > > dobeLicenseAgreementAreAccepted=3c9041a9,3872fc1e" > > README: mvn clean install -P -main,utils > > > > From: Yishay Weiss<mailto:yishayj...@hotmail.com> > > Sent: Sunday, May 3, 2020 5:06 PM > > To: dev@royale.apache.org<mailto: > dev@royale.apache.org> > > Subject: RE: [DISCUSS] Discuss Release Apache Royale > 0.9.7 > > > > 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:yishayj...@hotmail.com> > > Sent: Sunday, May 3, 2020 5:02 PM > > To: dev@royale.apache.org<mailto: > dev@royale.apache.org> > > 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] > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FPluginExecutionException&data=02%7C01%7Caharui%40adobe.com%7C9bb7ef7609cb4679388108d7f0bdab35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637242569729584053&sdata=m1NUnpYRNAbK6gwYRhvcj%2FJMZKvIOU%2BwtR2OBbBJiGY%3D&reserved=0 > > [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: > > apacheroyal...@gmail.com<mailto:apacheroyal...@gmail.com> > > Sent: Sunday, May 3, 2020 4:53 PM > > To: dev@royale.apache.org<mailto: > dev@royale.apache.org> > > Subject: [DISCUSS] Discuss Release Apache Royale > 0.9.7 > > > > This is the discussion thread. > > > > Thanks, > > Yishay Weiss > > > > > > > > > > > > > > > > > > > > > > -- > Carlos Rovira > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C9bb7ef7609cb4679388108d7f0bdab35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637242569729584053&sdata=AjAZnBDVlA1IbWkCEtCVhBmrgN8PL2Gr6IM9ekBHOhQ%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%7C9bb7ef7609cb4679388108d7f0bdab35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637242569729584053&sdata=HCLczptmqwmUMsUfIaY2WqmA2Gibamms38pxObC7OR4%3D&reserved=0 <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C9bb7ef7609cb4679388108d7f0bdab35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637242569729584053&sdata=HCLczptmqwmUMsUfIaY2WqmA2Gibamms38pxObC7OR4%3D&reserved=0>* From: Piotr Zarzycki<mailto:piotrzarzyck...@gmail.com> Sent: Monday, May 4, 2020 6:35 PM To: Apache Royale Development<mailto:dev@royale.apache.org> Subject: Re: [DISCUSS] Discuss Release Apache Royale 0.9.7 Something cut the message. Could you paste here https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F&data=02%7C01%7Caharui%40adobe.com%7C9bb7ef7609cb4679388108d7f0bdab35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637242569729584053&sdata=pVVf0wgffW4nn1oofzUz%2BGklX7RRp1eVE56jqi47sos%3D&reserved=0 pon., 4 maj 2020 o 17:32 Yishay Weiss <yishayj...@hotmail.com> napisał(a): > This means though, that it’s still failing on Windows after Alex’s > changes, as I’ve verified. I’m getting a bit lost trying to debug this. > > Running from the SVN dist repo > > C:\dev\dist\dist\dev\royale\0.9.7\rc3\apache-royale-0.9.7-maven-src\royale-compiler> > mvn clean install > > Fails with the below message, > > But running the same command from the git repo > > C:\dev\flexjs\royale-compiler [release/0.9.7 =]> mvn clean install > > Does not fail. > > Any ideas? > > > > > From: Yishay Weiss<mailto:yishayj...@hotmail.com> > Sent: Monday, May 4, 2020 3:04 PM > To: dev@royale.apache.org<mailto:dev@royale.apache.org> > Subject: RE: [DISCUSS] Discuss Release Apache Royale 0.9.7 > > Good catch Chris. I was focusing on the wrong message. > > From: Christofer Dutz<mailto:christofer.d...@c-ware.de> > Sent: Monday, May 4, 2020 2:09 PM > To: dev@royale.apache.org<mailto:dev@royale.apache.org> > Subject: Re: [DISCUSS] Discuss Release Apache Royale 0.9.7 > > Just some input from the sidelines: > - It shouldn't have any impact on the build if you enable/disable profiles > that don't exist. All you get is a warning that tells you the profiles > don't exist. > > - The actual failure is because the the path to the prerequisiteCheck > script is windows-encoded (Backslashs) ... strange thing is that this > didn't fail for normal Windows executions both for Royale same as in PLC4X > ... we've got the identical setup for 2-3 years now and haven't heard of > any issues with it. I would guess the build is started somewhat differently > than others ... perhaps it could be fixed by removing the > "${project.basedir}/" prefix and using relative paths instead. > > And just a little explanation what this script does: > It's a goovy script that is executed and checks if all required tools are > available in the right versions and if all required environment-variables > are set and are set to valid values. As soon as you run a Maven build it > outputs a list of thigs it checked and if checks fail, it quickly fails the > build with a list of findings the user has to address first. > > Hope that helps. > > Chris > > > > Am 04.05.20, 11:45 schrieb "Carlos Rovira" <carlosrov...@apache.org>: > > Hi Alex and Yishay, > > first, congrats for the hard work to reach to this point. I think many > issues has been fixed and only that just is worth the time you guys > invested on it :) > > regarding voting. I'm confident that my check will report a +1 since, I > consider all the points for a normal Apache release, but thinking in > the > current problem with running maven from ant with old profiles... why > the > need to make ANT run maven again. both are different build tools and > both > need to work separately, but don't understand why one should run the > other. > And if that's the case, why just make ant run maven? why not make > maven run > ant too? I think it should be all or nothing > > The other point I don't understand is about why to continue vote if you > detect the problems stated in this thread. For me is completely ok, > but if > you worked hard to make all this complex release process, don't > understand > that you finally consider green light when that approval script is > failing. > For me that means that all that complication was not needed, and people > must check on its own that is something normal in an apache release, > so no > problem at all with that. > > if you consider it's ok to vote, for me is ok, since all seems to > consider > the real minimum requirements, people is waiting long time, and I'm not > interested in discuss it, since is clear you see it necessary for your > release process, but just one to state it so we can all stop and take a > bird sight on all of it and help us to visualize. Sometimes we use to > loose perspective when we're working many time and hard in something. > > Anyway, I'll wait to have clear if is time to try release and vote to > not > waste time if it's not ok finally. > > Thanks! > > Carlos > > > > > > > El lun., 4 may. 2020 a las 9:11, Alex Harui (<aha...@adobe.com.invalid > >) > escribió: > > > I just quickly reviewed the various > RELEASE_NOTES/README/LICENSE/NOTICE > > files. I guess nobody had done that earlier. The biggest problem > is that > > there were 3 missing binary package dependencies in the LICENSE in > the > > binary package. > > > > I noticed the copyright year in the various NOTICE.* files is still > 2019 > > but did not update it because I am running out of time. I've heard > > different opinions on how important that is. > > > > The URL to the online Release Notes is in the > > royale-asjs/RELEASE_NOTES.md. This might be a good time to create > the wiki > > page if it doesn't already exist. > > > > I'm stopping work for tonight. > > -Alex > > > > On 5/3/20, 11:58 PM, "Yishay Weiss" <yishayj...@hotmail.com> wrote: > > > > Ik, online release notes sounds like a good compromise. Thank > for the > > fixes. Let the votes begin! > > ________________________________ > > From: Alex Harui <aha...@adobe.com.INVALID> > > Sent: Monday, May 4, 2020 6:00 AM > > To: dev@royale.apache.org <dev@royale.apache.org> > > Subject: Re: [DISCUSS] Discuss Release Apache Royale 0.9.7 > > > > Not sure I understood you. We can't release a changed README in > > royale-compiler without starting an RC4. The updated README has been > > committed to the release branch. We have to revert some commits on > the > > release branches that change the versions to 0.9.8 snapshot before > starting > > over. > > > > If you have the time to re-run most of the steps, that would be > best, > > but will delay the release and I'm not sure it is worth it. We have > online > > release notes to make corrections. > > > > I think it is mostly up to you though. > > -Alex > > > > On 5/3/20, 10:42 PM, "Yishay Weiss" <yishayj...@hotmail.com> > wrote: > > > > I think we should continue the vote. If more problems are > > discovered I can start another release candidate. I think we should > at > > least fix the compile README to not use -main. > > > > From: Alex Harui<mailto:aha...@adobe.com.INVALID> > > Sent: Sunday, May 3, 2020 10:06 PM > > To: dev@royale.apache.org<mailto:dev@royale.apache.org> > > Subject: Re: [DISCUSS] Discuss Release Apache Royale 0.9.7 > > > > Bummer. Lots of little things flushed out late in the game. > > > > -There are .afdesign binary files checked into our repos. > These > > are binary files that aren't the common types (.PNG, .JPG, etc). > > -New required folders (src/main) were added to the Maven > build for > > royale-compiler and royale-asjs but not added to the Ant source > packaging > > -The uses of -main that Yishay found. > > > > IMO, quickest way to a release is to not start over with an > RC4 > > unless we find a more major problem with RC3. I've updated several > files > > in the branch. I'm going to skip releasecandidate.xml for now until > > someone wants to cut a release locally and use Ant to type fewer > commands. > > > > The Approval script will fail testing if the Ant source can > be > > used by Maven. Assuming the Maven distribution is working, this is > less > > important. So I think that we skip that test for this RC. I put an > > ApproveRoyale.xml on dist that skips that test and then the approval > script > > completed successfully. I also manually tested that if we have the > two > > missing folders that the ApproveRoyale.xml I checked into the release > > branch will build the Maven artifacts from the Ant source. > > > > So, IMO, I think the packages are good enough for now and we > > should release unless we find something is broken in the jars and > swcs. > > > > My 2 cents, > > -Alex > > > > On 5/3/20, 8:08 AM, "Alex Harui" <aha...@adobe.com.INVALID> > wrote: > > > > I will look into it. > > > > -Alex > > > > On 5/3/20, 7:35 AM, "Yishay Weiss" < > yishayj...@hotmail.com> > > wrote: > > > > Whatever the fix is, it will also need to be applied > in > > these files: > > > > C:\dev\flexjs\royale-asjs [release/0.9.7 =]> git grep > > "main,utils" > > ApproveRoyale.xml: <arg > value="-main,utils" /> > > releasecandidate.xml: <arg > value="-main,utils" > > /> > > releasecandidate.xml: <arg > value="-main,utils" > > /> > > releasemgr/README:royale-compiler: mvn clean > install -P > > -main,utils > > C:\dev\flexjs\royale-asjs [release/0.9.7 =]> cd .. > > C:\dev\flexjs> cd .\royale-compiler\ > > C:\dev\flexjs\royale-compiler [release/0.9.7 =]> git > grep > > "main,utils" > > Jenkinsfile: bat "mvn -U clean > ${mavenGoal} > > ${mavenLocalRepo} -s C:\\.m2\\settings.xml -P -main,utils > > -Dcom.adobe.systemIdsForWhichTheTermsOfTheA > > dobeLicenseAgreementAreAccepted=3c9041a9,3872fc1e" > > README: mvn clean install -P -main,utils > > > > From: Yishay Weiss<mailto:yishayj...@hotmail.com> > > Sent: Sunday, May 3, 2020 5:06 PM > > To: dev@royale.apache.org<mailto: > dev@royale.apache.org> > > Subject: RE: [DISCUSS] Discuss Release Apache Royale > 0.9.7 > > > > 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:yishayj...@hotmail.com> > > Sent: Sunday, May 3, 2020 5:02 PM > > To: dev@royale.apache.org<mailto: > dev@royale.apache.org> > > 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] > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FPluginExecutionException&data=02%7C01%7Caharui%40adobe.com%7C9bb7ef7609cb4679388108d7f0bdab35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637242569729584053&sdata=m1NUnpYRNAbK6gwYRhvcj%2FJMZKvIOU%2BwtR2OBbBJiGY%3D&reserved=0 > > [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: > > apacheroyal...@gmail.com<mailto:apacheroyal...@gmail.com> > > Sent: Sunday, May 3, 2020 4:53 PM > > To: dev@royale.apache.org<mailto: > dev@royale.apache.org> > > Subject: [DISCUSS] Discuss Release Apache Royale > 0.9.7 > > > > This is the discussion thread. > > > > Thanks, > > Yishay Weiss > > > > > > > > > > > > > > > > > > > > > > -- > Carlos Rovira > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C9bb7ef7609cb4679388108d7f0bdab35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637242569729584053&sdata=AjAZnBDVlA1IbWkCEtCVhBmrgN8PL2Gr6IM9ekBHOhQ%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%7C9bb7ef7609cb4679388108d7f0bdab35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637242569729584053&sdata=HCLczptmqwmUMsUfIaY2WqmA2Gibamms38pxObC7OR4%3D&reserved=0 <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C9bb7ef7609cb4679388108d7f0bdab35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637242569729584053&sdata=HCLczptmqwmUMsUfIaY2WqmA2Gibamms38pxObC7OR4%3D&reserved=0>*