You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Christofer Dutz <ch...@c-ware.de> on 2020/03/27 09:29:28 UTC
Instructions for releasing with Maven
Hi All,
As I don’t have access to a WIKI … here comes a step by step guide for releasing Royale with Maven:
Prepare:
export FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash Player.app/Contents/MacOS/Flash Player Debugger"
---------------------------------------------------------------
Release Compiler
---------------------------------------------------------------
Branch:
---------------------------
mvn -P option-with-swf release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
Just press enter on every question Maven asks you ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.963 s
[INFO] Finished at: 2020-03-26T20:39:53+01:00
[INFO] Final Memory: 18M/77M
[INFO] ------------------------------------------------------------------------
Release:
---------------------------
git checkout release-test/0.9.8
mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true -Dtag=org.apache.royale.compiler-0.9.8-rc1
Select the suggested versions by hitting enter
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:57 min
[INFO] Finished at: 2020-03-26T20:45:22+01:00
[INFO] Final Memory: 22M/84M
[INFO] ------------------------------------------------------------------------
mvn release:perform
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:04 min
[INFO] Finished at: 2020-03-26T20:49:58+01:00
[INFO] Final Memory: 18M/77M
[INFO] ------------------------------------------------------------------------
---------------------------------------------------------------
Release Typedefs
---------------------------------------------------------------
Branch:
---------------------------
mvn -P option-with-swf release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
Just press enter on every question Maven asks you ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:09 min
[INFO] Finished at: 2020-03-26T20:58:28+01:00
[INFO] Final Memory: 26M/100M
[INFO] ------------------------------------------------------------------------
Release:
---------------------------
git checkout release-test/0.9.8
edit the pom.xml and update the compiler version to the released versions (Cut off the "-SNAPSHOT")
commit and push the changes
mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true -Dtag=org.apache.royale.typedefs-0.9.8-rc1
Select the suggested versions by hitting enter
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:37 min
[INFO] Finished at: 2020-03-26T21:08:13+01:00
[INFO] Final Memory: 26M/60M
[INFO] ------------------------------------------------------------------------
mvn release:perform
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.749 s
[INFO] Finished at: 2020-03-26T21:14:44+01:00
[INFO] Final Memory: 23M/90M
[INFO] ------------------------------------------------------------------------
---------------------------------------------------------------
Release Framework
---------------------------------------------------------------
Branch:
---------------------------
mvn -P with-distribution,with-examples,with-manualtests,option-with-swf release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
Just press enter on every question Maven asks you ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:51 min
[INFO] Finished at: 2020-03-26T21:25:56+01:00
[INFO] Final Memory: 58M/207M
[INFO] ------------------------------------------------------------------------
Release:
---------------------------
git checkout release-test/0.9.8
edit the pom.xml and update the compiler- and typedefs versions to the released versions (Cut off the "-SNAPSHOT")
commit and push the changes
mvn -P with-distribution,with-examples,with-manualtests,option-with-swf release:prepare -DautoVersionSubmodules=true -Dtag=org.apache.royale.asjs-0.9.8-rc1
Select the suggested versions by hitting enter
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25:38 min
[INFO] Finished at: 2020-03-27T09:57:09+01:00
[INFO] Final Memory: 63M/227M
[INFO] ------------------------------------------------------------------------
mvn release:perform
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:02 min
[INFO] Finished at: 2020-03-27T10:16:44+01:00
[INFO] Final Memory: 41M/150M
[INFO] ------------------------------------------------------------------------
---------------------------------------------------------------
DONE!
I did a clean fork for this and updated the SCM and distributionManagement to use my github fork and my private Nexus for deployment … it worked great (After fixing 1-2 things in the ASJS repo … which weren’t found earlier as we never got this far). Also did I do a fake 0.9.8 release as my fork of the official repo had lots of relics from previous 0.9.7 release attempts. So don’t be confused ;-)
The Net execution time of all steps were 1:04:36 … add a few minutes for switching branches, changing pom-versions and stuff like that …
So is this the thing you folks were asking for?
Chris
Re: Instructions for releasing with Maven
Posted by Christofer Dutz <ch...@c-ware.de>.
Yeah well ... that I can't share with you.
As I'm not a project member I had to set it up my companies private nexus and my github fork.
Sorry so say, but to try it out you folks will have to try it out yourself :-/
Chris
Am 27.03.20, 12:33 schrieb "Piotr Zarzycki" <pi...@gmail.com>:
Hi Chris,
You downloaded from where ?
pt., 27 mar 2020 o 12:31 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> And I just:
>
> 1) downloaded and unpacked the distribution created by the release process.
> 2) configured VScode to use that directory as SDK
> 3) Built an application
>
> and it worked perfectly.
>
> Chriis
>
>
>
> Am 27.03.20, 12:17 schrieb "Christofer Dutz" <ch...@c-ware.de>:
>
> And I just
>
> 1) Downloaded all of the source-bundles for each of the repos.
> 2) Created a temp directory
> 3) Unpacked the archives to reproduce the royale-compiler,
> royale-typedefs, royale-asjs directory structure (Had to rename
> royale-framework to royale-asjs)
> 4) Executed the Ant build: ant all -Dbuild.noprompt=true
> -Drelease.target=true
>
> And all succeeded:
>
> post-build:
> [mkdir] Created dir:
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/locale
> [mkdir] Created dir:
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/mx
> [mkdir] Created dir:
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/rsls
> [mkdir] Created dir:
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
> [copy] Copying 1 file to
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
> [copy] Copying 1 file to
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks
> [touch] Creating
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/macfonts.ser
> [touch] Creating
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/winfonts.ser
> [touch] Creating
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/localfonts.ser
>
> last-message-if-airsdk:
>
> main:
> [echo] ant main target completed on 03/27/2020 12:13:49 PM
>
> all:
>
> BUILD SUCCESSFUL
> Total time: 5 minutes 51 seconds
>
>
>
> Chris
>
>
> Am 27.03.20, 12:13 schrieb "Carlos Rovira" <ca...@apache.org>:
>
> Hi,
>
> just started this wiki page based on Chris instructions in this
> thread [1]
> will be update to improve formatting and anything that could ease
> even more
> the current info
>
> [1]
>
> https://github.com/apache/royale-asjs/wiki/Release-Manager-(New-to-be-tested)
>
> El vie., 27 mar. 2020 a las 11:52, Carlos Rovira (<
> carlosrovira@apache.org>)
> escribió:
>
> > I think after this release this would be good to bring and
> discuss, I
> > think it would be a huge simplification for this project :)
> >
> > El vie., 27 mar. 2020 a las 10:48, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> And let me add something ....
> >>
> >> If all three git repos were merged into one (No Git submodules
> don't work
> >> as the tooling can't branch, commit push submodules) ... the
> release
> >> process would boil down to this:
> >>
> >> 1) mvn -P
> >> with-distribution,with-examples,with-manualtests,option-with-swf
> >> release:branch -DautoVersionSubmodules=true
> -DbranchName=release-test/0.9.8
> >>
> >> 2) git checkout release-test/0.9.8
> >>
> >> 3) mvn -P
> >> with-distribution,with-examples,with-manualtests,option-with-swf
> >> release:prepare -DautoVersionSubmodules=true
> >> -Dtag=org.apache.royale.asjs-0.9.8-rc1
> >>
> >> 4) mvn release:perform
> >>
> >> However I would need to refactor the royale-maven-plugin in
> order to do
> >> that. But I'd be happy to do it.
> >>
> >> Chris
> >>
> >>
> >>
> >> Am 27.03.20, 10:39 schrieb "Carlos Rovira" <
> carlosrovira@apache.org>:
> >>
> >> Many thanks Chris :)
> >>
> >> I think this is what Alex asked for.
> >> If Alex is ok, and Yishay wants to let me to try, I can
> >> start official 0.9.7 in few hours
> >>
> >> Thanks!
> >>
> >>
> >>
> >> El vie., 27 mar. 2020 a las 10:29, Christofer Dutz (<
> >> christofer.dutz@c-ware.de>) escribió:
> >>
> >> > Hi All,
> >> >
> >> > As I don’t have access to a WIKI … here comes a step by
> step guide
> >> for
> >> > releasing Royale with Maven:
> >> >
> >> > Prepare:
> >> > export
> >> >
> >>
> FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
> >> > Player.app/Contents/MacOS/Flash Player Debugger"
> >> >
> >> >
> ---------------------------------------------------------------
> >> > Release Compiler
> >> >
> ---------------------------------------------------------------
> >> >
> >> > Branch:
> >> > ---------------------------
> >> > mvn -P option-with-swf release:branch
> -DautoVersionSubmodules=true
> >> > -DbranchName=release-test/0.9.8
> >> > Just press enter on every question Maven asks you ...
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 21.963 s
> >> > [INFO] Finished at: 2020-03-26T20:39:53+01:00
> >> > [INFO] Final Memory: 18M/77M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> >> > Release:
> >> > ---------------------------
> >> > git checkout release-test/0.9.8
> >> >
> >> > mvn -P option-with-swf release:prepare
> -DautoVersionSubmodules=true
> >> > -Dtag=org.apache.royale.compiler-0.9.8-rc1
> >> > Select the suggested versions by hitting enter
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 04:57 min
> >> > [INFO] Finished at: 2020-03-26T20:45:22+01:00
> >> > [INFO] Final Memory: 22M/84M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> > mvn release:perform
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 04:04 min
> >> > [INFO] Finished at: 2020-03-26T20:49:58+01:00
> >> > [INFO] Final Memory: 18M/77M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> ---------------------------------------------------------------
> >> > Release Typedefs
> >> >
> ---------------------------------------------------------------
> >> >
> >> > Branch:
> >> > ---------------------------
> >> > mvn -P option-with-swf release:branch
> -DautoVersionSubmodules=true
> >> > -DbranchName=release-test/0.9.8
> >> > Just press enter on every question Maven asks you ...
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 01:09 min
> >> > [INFO] Finished at: 2020-03-26T20:58:28+01:00
> >> > [INFO] Final Memory: 26M/100M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> >> > Release:
> >> > ---------------------------
> >> > git checkout release-test/0.9.8
> >> >
> >> > edit the pom.xml and update the compiler version to the
> released
> >> versions
> >> > (Cut off the "-SNAPSHOT")
> >> >
> >> > commit and push the changes
> >> >
> >> > mvn -P option-with-swf release:prepare
> -DautoVersionSubmodules=true
> >> > -Dtag=org.apache.royale.typedefs-0.9.8-rc1
> >> > Select the suggested versions by hitting enter
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 02:37 min
> >> > [INFO] Finished at: 2020-03-26T21:08:13+01:00
> >> > [INFO] Final Memory: 26M/60M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> > mvn release:perform
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 56.749 s
> >> > [INFO] Finished at: 2020-03-26T21:14:44+01:00
> >> > [INFO] Final Memory: 23M/90M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> ---------------------------------------------------------------
> >> > Release Framework
> >> >
> ---------------------------------------------------------------
> >> >
> >> > Branch:
> >> > ---------------------------
> >> > mvn -P
> >> with-distribution,with-examples,with-manualtests,option-with-swf
> >> > release:branch -DautoVersionSubmodules=true
> >> -DbranchName=release-test/0.9.8
> >> > Just press enter on every question Maven asks you ...
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 05:51 min
> >> > [INFO] Finished at: 2020-03-26T21:25:56+01:00
> >> > [INFO] Final Memory: 58M/207M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> >> > Release:
> >> > ---------------------------
> >> > git checkout release-test/0.9.8
> >> >
> >> > edit the pom.xml and update the compiler- and typedefs
> versions to
> >> the
> >> > released versions (Cut off the "-SNAPSHOT")
> >> >
> >> > commit and push the changes
> >> >
> >> > mvn -P
> >> with-distribution,with-examples,with-manualtests,option-with-swf
> >> > release:prepare -DautoVersionSubmodules=true
> >> > -Dtag=org.apache.royale.asjs-0.9.8-rc1
> >> > Select the suggested versions by hitting enter
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 25:38 min
> >> > [INFO] Finished at: 2020-03-27T09:57:09+01:00
> >> > [INFO] Final Memory: 63M/227M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> > mvn release:perform
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 19:02 min
> >> > [INFO] Finished at: 2020-03-27T10:16:44+01:00
> >> > [INFO] Final Memory: 41M/150M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> ---------------------------------------------------------------
> >> > DONE!
> >> >
> >> > I did a clean fork for this and updated the SCM and
> >> distributionManagement
> >> > to use my github fork and my private Nexus for deployment
> … it
> >> worked great
> >> > (After fixing 1-2 things in the ASJS repo … which weren’t
> found
> >> earlier as
> >> > we never got this far). Also did I do a fake 0.9.8
> release as my
> >> fork of
> >> > the official repo had lots of relics from previous 0.9.7
> release
> >> attempts.
> >> > So don’t be confused ;-)
> >> >
> >> > The Net execution time of all steps were 1:04:36 … add a
> few
> >> minutes for
> >> > switching branches, changing pom-versions and stuff like
> that …
> >> >
> >> > So is this the thing you folks were asking for?
> >> >
> >> > Chris
> >> >
> >> >
> >>
> >> --
> >> Carlos Rovira
> >> http://about.me/carlosrovira
> >>
> >>
> >>
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>
>
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: Instructions for releasing with Maven
Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Chris,
You downloaded from where ?
pt., 27 mar 2020 o 12:31 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> And I just:
>
> 1) downloaded and unpacked the distribution created by the release process.
> 2) configured VScode to use that directory as SDK
> 3) Built an application
>
> and it worked perfectly.
>
> Chriis
>
>
>
> Am 27.03.20, 12:17 schrieb "Christofer Dutz" <ch...@c-ware.de>:
>
> And I just
>
> 1) Downloaded all of the source-bundles for each of the repos.
> 2) Created a temp directory
> 3) Unpacked the archives to reproduce the royale-compiler,
> royale-typedefs, royale-asjs directory structure (Had to rename
> royale-framework to royale-asjs)
> 4) Executed the Ant build: ant all -Dbuild.noprompt=true
> -Drelease.target=true
>
> And all succeeded:
>
> post-build:
> [mkdir] Created dir:
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/locale
> [mkdir] Created dir:
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/mx
> [mkdir] Created dir:
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/rsls
> [mkdir] Created dir:
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
> [copy] Copying 1 file to
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
> [copy] Copying 1 file to
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks
> [touch] Creating
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/macfonts.ser
> [touch] Creating
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/winfonts.ser
> [touch] Creating
> /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/localfonts.ser
>
> last-message-if-airsdk:
>
> main:
> [echo] ant main target completed on 03/27/2020 12:13:49 PM
>
> all:
>
> BUILD SUCCESSFUL
> Total time: 5 minutes 51 seconds
>
>
>
> Chris
>
>
> Am 27.03.20, 12:13 schrieb "Carlos Rovira" <ca...@apache.org>:
>
> Hi,
>
> just started this wiki page based on Chris instructions in this
> thread [1]
> will be update to improve formatting and anything that could ease
> even more
> the current info
>
> [1]
>
> https://github.com/apache/royale-asjs/wiki/Release-Manager-(New-to-be-tested)
>
> El vie., 27 mar. 2020 a las 11:52, Carlos Rovira (<
> carlosrovira@apache.org>)
> escribió:
>
> > I think after this release this would be good to bring and
> discuss, I
> > think it would be a huge simplification for this project :)
> >
> > El vie., 27 mar. 2020 a las 10:48, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> And let me add something ....
> >>
> >> If all three git repos were merged into one (No Git submodules
> don't work
> >> as the tooling can't branch, commit push submodules) ... the
> release
> >> process would boil down to this:
> >>
> >> 1) mvn -P
> >> with-distribution,with-examples,with-manualtests,option-with-swf
> >> release:branch -DautoVersionSubmodules=true
> -DbranchName=release-test/0.9.8
> >>
> >> 2) git checkout release-test/0.9.8
> >>
> >> 3) mvn -P
> >> with-distribution,with-examples,with-manualtests,option-with-swf
> >> release:prepare -DautoVersionSubmodules=true
> >> -Dtag=org.apache.royale.asjs-0.9.8-rc1
> >>
> >> 4) mvn release:perform
> >>
> >> However I would need to refactor the royale-maven-plugin in
> order to do
> >> that. But I'd be happy to do it.
> >>
> >> Chris
> >>
> >>
> >>
> >> Am 27.03.20, 10:39 schrieb "Carlos Rovira" <
> carlosrovira@apache.org>:
> >>
> >> Many thanks Chris :)
> >>
> >> I think this is what Alex asked for.
> >> If Alex is ok, and Yishay wants to let me to try, I can
> >> start official 0.9.7 in few hours
> >>
> >> Thanks!
> >>
> >>
> >>
> >> El vie., 27 mar. 2020 a las 10:29, Christofer Dutz (<
> >> christofer.dutz@c-ware.de>) escribió:
> >>
> >> > Hi All,
> >> >
> >> > As I don’t have access to a WIKI … here comes a step by
> step guide
> >> for
> >> > releasing Royale with Maven:
> >> >
> >> > Prepare:
> >> > export
> >> >
> >>
> FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
> >> > Player.app/Contents/MacOS/Flash Player Debugger"
> >> >
> >> >
> ---------------------------------------------------------------
> >> > Release Compiler
> >> >
> ---------------------------------------------------------------
> >> >
> >> > Branch:
> >> > ---------------------------
> >> > mvn -P option-with-swf release:branch
> -DautoVersionSubmodules=true
> >> > -DbranchName=release-test/0.9.8
> >> > Just press enter on every question Maven asks you ...
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 21.963 s
> >> > [INFO] Finished at: 2020-03-26T20:39:53+01:00
> >> > [INFO] Final Memory: 18M/77M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> >> > Release:
> >> > ---------------------------
> >> > git checkout release-test/0.9.8
> >> >
> >> > mvn -P option-with-swf release:prepare
> -DautoVersionSubmodules=true
> >> > -Dtag=org.apache.royale.compiler-0.9.8-rc1
> >> > Select the suggested versions by hitting enter
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 04:57 min
> >> > [INFO] Finished at: 2020-03-26T20:45:22+01:00
> >> > [INFO] Final Memory: 22M/84M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> > mvn release:perform
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 04:04 min
> >> > [INFO] Finished at: 2020-03-26T20:49:58+01:00
> >> > [INFO] Final Memory: 18M/77M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> ---------------------------------------------------------------
> >> > Release Typedefs
> >> >
> ---------------------------------------------------------------
> >> >
> >> > Branch:
> >> > ---------------------------
> >> > mvn -P option-with-swf release:branch
> -DautoVersionSubmodules=true
> >> > -DbranchName=release-test/0.9.8
> >> > Just press enter on every question Maven asks you ...
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 01:09 min
> >> > [INFO] Finished at: 2020-03-26T20:58:28+01:00
> >> > [INFO] Final Memory: 26M/100M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> >> > Release:
> >> > ---------------------------
> >> > git checkout release-test/0.9.8
> >> >
> >> > edit the pom.xml and update the compiler version to the
> released
> >> versions
> >> > (Cut off the "-SNAPSHOT")
> >> >
> >> > commit and push the changes
> >> >
> >> > mvn -P option-with-swf release:prepare
> -DautoVersionSubmodules=true
> >> > -Dtag=org.apache.royale.typedefs-0.9.8-rc1
> >> > Select the suggested versions by hitting enter
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 02:37 min
> >> > [INFO] Finished at: 2020-03-26T21:08:13+01:00
> >> > [INFO] Final Memory: 26M/60M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> > mvn release:perform
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 56.749 s
> >> > [INFO] Finished at: 2020-03-26T21:14:44+01:00
> >> > [INFO] Final Memory: 23M/90M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> ---------------------------------------------------------------
> >> > Release Framework
> >> >
> ---------------------------------------------------------------
> >> >
> >> > Branch:
> >> > ---------------------------
> >> > mvn -P
> >> with-distribution,with-examples,with-manualtests,option-with-swf
> >> > release:branch -DautoVersionSubmodules=true
> >> -DbranchName=release-test/0.9.8
> >> > Just press enter on every question Maven asks you ...
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 05:51 min
> >> > [INFO] Finished at: 2020-03-26T21:25:56+01:00
> >> > [INFO] Final Memory: 58M/207M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> >> > Release:
> >> > ---------------------------
> >> > git checkout release-test/0.9.8
> >> >
> >> > edit the pom.xml and update the compiler- and typedefs
> versions to
> >> the
> >> > released versions (Cut off the "-SNAPSHOT")
> >> >
> >> > commit and push the changes
> >> >
> >> > mvn -P
> >> with-distribution,with-examples,with-manualtests,option-with-swf
> >> > release:prepare -DautoVersionSubmodules=true
> >> > -Dtag=org.apache.royale.asjs-0.9.8-rc1
> >> > Select the suggested versions by hitting enter
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 25:38 min
> >> > [INFO] Finished at: 2020-03-27T09:57:09+01:00
> >> > [INFO] Final Memory: 63M/227M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> > mvn release:perform
> >> >
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESS
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 19:02 min
> >> > [INFO] Finished at: 2020-03-27T10:16:44+01:00
> >> > [INFO] Final Memory: 41M/150M
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> >
> ---------------------------------------------------------------
> >> > DONE!
> >> >
> >> > I did a clean fork for this and updated the SCM and
> >> distributionManagement
> >> > to use my github fork and my private Nexus for deployment
> … it
> >> worked great
> >> > (After fixing 1-2 things in the ASJS repo … which weren’t
> found
> >> earlier as
> >> > we never got this far). Also did I do a fake 0.9.8
> release as my
> >> fork of
> >> > the official repo had lots of relics from previous 0.9.7
> release
> >> attempts.
> >> > So don’t be confused ;-)
> >> >
> >> > The Net execution time of all steps were 1:04:36 … add a
> few
> >> minutes for
> >> > switching branches, changing pom-versions and stuff like
> that …
> >> >
> >> > So is this the thing you folks were asking for?
> >> >
> >> > Chris
> >> >
> >> >
> >>
> >> --
> >> Carlos Rovira
> >> http://about.me/carlosrovira
> >>
> >>
> >>
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>
>
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: Instructions for releasing with Maven
Posted by Christofer Dutz <ch...@c-ware.de>.
And I just:
1) downloaded and unpacked the distribution created by the release process.
2) configured VScode to use that directory as SDK
3) Built an application
and it worked perfectly.
Chriis
Am 27.03.20, 12:17 schrieb "Christofer Dutz" <ch...@c-ware.de>:
And I just
1) Downloaded all of the source-bundles for each of the repos.
2) Created a temp directory
3) Unpacked the archives to reproduce the royale-compiler, royale-typedefs, royale-asjs directory structure (Had to rename royale-framework to royale-asjs)
4) Executed the Ant build: ant all -Dbuild.noprompt=true -Drelease.target=true
And all succeeded:
post-build:
[mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/locale
[mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/mx
[mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/rsls
[mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
[copy] Copying 1 file to /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
[copy] Copying 1 file to /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks
[touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/macfonts.ser
[touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/winfonts.ser
[touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/localfonts.ser
last-message-if-airsdk:
main:
[echo] ant main target completed on 03/27/2020 12:13:49 PM
all:
BUILD SUCCESSFUL
Total time: 5 minutes 51 seconds
Chris
Am 27.03.20, 12:13 schrieb "Carlos Rovira" <ca...@apache.org>:
Hi,
just started this wiki page based on Chris instructions in this thread [1]
will be update to improve formatting and anything that could ease even more
the current info
[1]
https://github.com/apache/royale-asjs/wiki/Release-Manager-(New-to-be-tested)
El vie., 27 mar. 2020 a las 11:52, Carlos Rovira (<ca...@apache.org>)
escribió:
> I think after this release this would be good to bring and discuss, I
> think it would be a huge simplification for this project :)
>
> El vie., 27 mar. 2020 a las 10:48, Christofer Dutz (<
> christofer.dutz@c-ware.de>) escribió:
>
>> And let me add something ....
>>
>> If all three git repos were merged into one (No Git submodules don't work
>> as the tooling can't branch, commit push submodules) ... the release
>> process would boil down to this:
>>
>> 1) mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
>>
>> 2) git checkout release-test/0.9.8
>>
>> 3) mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> release:prepare -DautoVersionSubmodules=true
>> -Dtag=org.apache.royale.asjs-0.9.8-rc1
>>
>> 4) mvn release:perform
>>
>> However I would need to refactor the royale-maven-plugin in order to do
>> that. But I'd be happy to do it.
>>
>> Chris
>>
>>
>>
>> Am 27.03.20, 10:39 schrieb "Carlos Rovira" <ca...@apache.org>:
>>
>> Many thanks Chris :)
>>
>> I think this is what Alex asked for.
>> If Alex is ok, and Yishay wants to let me to try, I can
>> start official 0.9.7 in few hours
>>
>> Thanks!
>>
>>
>>
>> El vie., 27 mar. 2020 a las 10:29, Christofer Dutz (<
>> christofer.dutz@c-ware.de>) escribió:
>>
>> > Hi All,
>> >
>> > As I don’t have access to a WIKI … here comes a step by step guide
>> for
>> > releasing Royale with Maven:
>> >
>> > Prepare:
>> > export
>> >
>> FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
>> > Player.app/Contents/MacOS/Flash Player Debugger"
>> >
>> > ---------------------------------------------------------------
>> > Release Compiler
>> > ---------------------------------------------------------------
>> >
>> > Branch:
>> > ---------------------------
>> > mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
>> > -DbranchName=release-test/0.9.8
>> > Just press enter on every question Maven asks you ...
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 21.963 s
>> > [INFO] Finished at: 2020-03-26T20:39:53+01:00
>> > [INFO] Final Memory: 18M/77M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> >
>> > Release:
>> > ---------------------------
>> > git checkout release-test/0.9.8
>> >
>> > mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
>> > -Dtag=org.apache.royale.compiler-0.9.8-rc1
>> > Select the suggested versions by hitting enter
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 04:57 min
>> > [INFO] Finished at: 2020-03-26T20:45:22+01:00
>> > [INFO] Final Memory: 22M/84M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > mvn release:perform
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 04:04 min
>> > [INFO] Finished at: 2020-03-26T20:49:58+01:00
>> > [INFO] Final Memory: 18M/77M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > ---------------------------------------------------------------
>> > Release Typedefs
>> > ---------------------------------------------------------------
>> >
>> > Branch:
>> > ---------------------------
>> > mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
>> > -DbranchName=release-test/0.9.8
>> > Just press enter on every question Maven asks you ...
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 01:09 min
>> > [INFO] Finished at: 2020-03-26T20:58:28+01:00
>> > [INFO] Final Memory: 26M/100M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> >
>> > Release:
>> > ---------------------------
>> > git checkout release-test/0.9.8
>> >
>> > edit the pom.xml and update the compiler version to the released
>> versions
>> > (Cut off the "-SNAPSHOT")
>> >
>> > commit and push the changes
>> >
>> > mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
>> > -Dtag=org.apache.royale.typedefs-0.9.8-rc1
>> > Select the suggested versions by hitting enter
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 02:37 min
>> > [INFO] Finished at: 2020-03-26T21:08:13+01:00
>> > [INFO] Final Memory: 26M/60M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > mvn release:perform
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 56.749 s
>> > [INFO] Finished at: 2020-03-26T21:14:44+01:00
>> > [INFO] Final Memory: 23M/90M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > ---------------------------------------------------------------
>> > Release Framework
>> > ---------------------------------------------------------------
>> >
>> > Branch:
>> > ---------------------------
>> > mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> > release:branch -DautoVersionSubmodules=true
>> -DbranchName=release-test/0.9.8
>> > Just press enter on every question Maven asks you ...
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 05:51 min
>> > [INFO] Finished at: 2020-03-26T21:25:56+01:00
>> > [INFO] Final Memory: 58M/207M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> >
>> > Release:
>> > ---------------------------
>> > git checkout release-test/0.9.8
>> >
>> > edit the pom.xml and update the compiler- and typedefs versions to
>> the
>> > released versions (Cut off the "-SNAPSHOT")
>> >
>> > commit and push the changes
>> >
>> > mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> > release:prepare -DautoVersionSubmodules=true
>> > -Dtag=org.apache.royale.asjs-0.9.8-rc1
>> > Select the suggested versions by hitting enter
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 25:38 min
>> > [INFO] Finished at: 2020-03-27T09:57:09+01:00
>> > [INFO] Final Memory: 63M/227M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > mvn release:perform
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 19:02 min
>> > [INFO] Finished at: 2020-03-27T10:16:44+01:00
>> > [INFO] Final Memory: 41M/150M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > ---------------------------------------------------------------
>> > DONE!
>> >
>> > I did a clean fork for this and updated the SCM and
>> distributionManagement
>> > to use my github fork and my private Nexus for deployment … it
>> worked great
>> > (After fixing 1-2 things in the ASJS repo … which weren’t found
>> earlier as
>> > we never got this far). Also did I do a fake 0.9.8 release as my
>> fork of
>> > the official repo had lots of relics from previous 0.9.7 release
>> attempts.
>> > So don’t be confused ;-)
>> >
>> > The Net execution time of all steps were 1:04:36 … add a few
>> minutes for
>> > switching branches, changing pom-versions and stuff like that …
>> >
>> > So is this the thing you folks were asking for?
>> >
>> > Chris
>> >
>> >
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Instructions for releasing with Maven
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Alex,
Yeah ... but with the other I count 13 automated steps and 31 (so far we got) manual ones ... so I wouldn't say they're equal.
Chris
Am 27.03.20, 16:00 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
Thanks for the list. I count 13 steps!
-Alex
On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
Hi,
he exaplained in the first email that he tried to do all with his own nexus
this is a test he did, since he does not has any credentials in Royale
So all worked for him
We now need to do the official release
so the source bundles will be downloaded from the official apache repository
HTH
C,
El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>) escribió:
> Yes.
>
> > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <ch...@c-ware.de>
> wrote:
> >
> > Does that explain things?
>
>
--
Carlos Rovira
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cf777c25672b444d9b87008d7d24b7573%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209093843170831&sdata=5xYHqywn%2FxLQcvAuNhoMPWamh%2FbFaPOYCsp4hvZ67YA%3D&reserved=0
Re: Instructions for releasing with Maven
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Alex,
Well usually you create the branch for initializing a code-freeze phase .. so you discuss that you're gonna do a new release, then you create the branch and then do the last steps in preparation while the project continues on develop. Then when you all think it's time to actually do the release, you do the prepare, perform thing.
In PLC4X we create branches for release/0.7, release/0.8, ... and then do the 0.8.0 release but do all bugfix releases like 0.8.1 on that branch.
In case of the build tools, that's a super minimal artifact which will probably have no normal code-freeze phase and you just want to push it out. So you could do a branch, but I don't see the need to do so.
Chris
Am 27.03.20, 19:39 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
OK, thanks. Why is a branch not needed in this case?
-Alex
On 3/27/20, 11:25 AM, "Christofer Dutz" <ch...@c-ware.de> wrote:
Hi Alex
As we don't have any profiles in that module it would be:
1) cd build-tools
2) mvn release:prepare
3) mvn release:perform
(No need to do this branching stuff for that)
Chris
Am 27.03.20, 19:23 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
It sounds like Carlos is planning to try to create an RC for 0.9.7. What steps will he have to execute for compiler-build-tools?
And, to make sure you didn't miss this question: Where would he add the parameters to try to create reproducible binaries?
Thanks,
-Alex
On 3/27/20, 11:14 AM, "Christofer Dutz" <ch...@c-ware.de> wrote:
Hi Alex,
No it didn't because that's actually not the way you usually do something like that.
Usually you release the tools you need to release before you start the release process of the main project.
Just in PLC4X we're gonna release our plc4x-maven-plugin in the next days so we can use the released version in the official PLC4X release.
Mixing things just makes it messy.
Chris
Am 27.03.20, 16:16 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
Couple of questions though:
Did the instructions include the staging of compiler-build-tools?
If we combine all 3 repos into one, how hard would it be to release the compiler separately in the future?
-Alex
On 3/27/20, 8:00 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
Thanks for the list. I count 13 steps!
-Alex
On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
Hi,
he exaplained in the first email that he tried to do all with his own nexus
this is a test he did, since he does not has any credentials in Royale
So all worked for him
We now need to do the official release
so the source bundles will be downloaded from the official apache repository
HTH
C,
El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>) escribió:
> Yes.
>
> > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <ch...@c-ware.de>
> wrote:
> >
> > Does that explain things?
>
>
--
Carlos Rovira
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C4e24e44c2bad47274e7e08d7d27c37bd%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209303276705806&sdata=8GdN6y48R%2FJhXYCdSaOgyEYM0rxKRvW1P7iQsn4xxjI%3D&reserved=0
Re: Instructions for releasing with Maven
Posted by Carlos Rovira <ca...@apache.org>.
Hi,
since releasing tools will require a vote and discussion thread, will try
to do now, since that will required some time for the vote to pass
El vie., 27 mar. 2020 a las 19:44, Carlos Rovira (<
carlos.rovira@codeoscopic.com>) escribió:
> Hi
>
> I’ll do a release of tools 1.2.0 as part of this release to try this case.
> Although is possible we don’t do much more times as we expect
>
> El El vie, 27 mar 2020 a las 19:39, Alex Harui <ah...@adobe.com.invalid>
> escribió:
>
>> OK, thanks. Why is a branch not needed in this case?
>>
>> -Alex
>>
>> On 3/27/20, 11:25 AM, "Christofer Dutz" <ch...@c-ware.de>
>> wrote:
>>
>> Hi Alex
>>
>> As we don't have any profiles in that module it would be:
>>
>> 1) cd build-tools
>> 2) mvn release:prepare
>> 3) mvn release:perform
>>
>> (No need to do this branching stuff for that)
>>
>> Chris
>>
>> Am 27.03.20, 19:23 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
>>
>> It sounds like Carlos is planning to try to create an RC for
>> 0.9.7. What steps will he have to execute for compiler-build-tools?
>>
>> And, to make sure you didn't miss this question: Where would he
>> add the parameters to try to create reproducible binaries?
>>
>> Thanks,
>> -Alex
>>
>> On 3/27/20, 11:14 AM, "Christofer Dutz" <
>> christofer.dutz@c-ware.de> wrote:
>>
>> Hi Alex,
>>
>> No it didn't because that's actually not the way you usually
>> do something like that.
>> Usually you release the tools you need to release before you
>> start the release process of the main project.
>>
>> Just in PLC4X we're gonna release our plc4x-maven-plugin in
>> the next days so we can use the released version in the official PLC4X
>> release.
>>
>> Mixing things just makes it messy.
>>
>> Chris
>>
>> Am 27.03.20, 16:16 schrieb "Alex Harui"
>> <ah...@adobe.com.INVALID>:
>>
>> Couple of questions though:
>>
>> Did the instructions include the staging of
>> compiler-build-tools?
>>
>> If we combine all 3 repos into one, how hard would it be
>> to release the compiler separately in the future?
>>
>> -Alex
>>
>> On 3/27/20, 8:00 AM, "Alex Harui"
>> <ah...@adobe.com.INVALID> wrote:
>>
>> Thanks for the list. I count 13 steps!
>>
>> -Alex
>>
>> On 3/27/20, 5:36 AM, "Carlos Rovira" <
>> carlosrovira@apache.org> wrote:
>>
>> Hi,
>>
>> he exaplained in the first email that he tried to
>> do all with his own nexus
>> this is a test he did, since he does not has any
>> credentials in Royale
>> So all worked for him
>> We now need to do the official release
>> so the source bundles will be downloaded from the
>> official apache repository
>>
>> HTH
>>
>> C,
>>
>>
>> El vie., 27 mar. 2020 a las 12:33, Harbs (<
>> harbs.lists@gmail.com>) escribió:
>>
>> > Yes.
>> >
>> > > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <
>> christofer.dutz@c-ware.de>
>> > wrote:
>> > >
>> > > Does that explain things?
>> >
>> >
>>
>> --
>> Carlos Rovira
>>
>> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C4e24e44c2bad47274e7e08d7d27c37bd%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209303276705806&sdata=8GdN6y48R%2FJhXYCdSaOgyEYM0rxKRvW1P7iQsn4xxjI%3D&reserved=0
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>
>
>
> Carlos Rovira
>
> Presidente Ejecutivo
>
> M: +34 607 22 60 05
>
> http://www.codeoscopic.com
>
>
> Conócenos en 1 minuto! <https://avant2.es/#video>
>
>
> AVISO LEGAL: La información contenida en este correo electrónico, y en su
> caso en los documentos adjuntos, es información privilegiada para uso
> exclusivo de la persona y/o personas a las que va dirigido. No está
> permitido el acceso a este mensaje a cualquier otra persona distinta a los
> indicados. Si Usted no es uno de los destinatarios, cualquier duplicación,
> reproducción, distribución, así como cualquier uso de la información
> contenida en él o cualquiera otra acción u omisión tomada en relación con
> el mismo, está prohibida y puede ser ilegal. En dicho caso, por favor,
> notifíquelo al remitente y proceda a la eliminación de este correo
> electrónico, así como de sus adjuntos si los hubiere. En cumplimiento de la
> legislación española vigente en materia de protección de datos de carácter
> personal y del RGPD 679/2016 le informamos que sus datos están siendo
> objeto de tratamiento por parte de CODEOSCOPIC S.A. con CIFA85677342, con
> la finalidad del mantenimiento y gestión de relaciones comerciales y
> administrativas. La base jurídica del tratamiento es el interés legítimo de
> la empresa. No se prevén cesiones de sus datos, salvo que exista una
> obligación legal. Para ejercitar sus derechos puede dirigirse a CODEOSCOPIC
> S.A., domiciliada enPaseo de la Habana, 9-11, 28036 de Madrid (MADRID), o
> bien por email adpd@codeoscopic.com, con el fin de ejercer sus derechos
> de acceso, rectificación, supresión (derecho al olvido), limitación de
> tratamiento, portabilidad de los datos, oposición, y a no ser objeto de
> decisiones automatizadas, indicando como Asunto: “Derechos Ley Protección
> de Datos”, y adjuntando fotocopia de su DNI. Delegado de protección de
> datos:dpd@codeoscopic.com
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Instructions for releasing with Maven
Posted by Carlos Rovira <ca...@codeoscopic.com>.
Hi
I’ll do a release of tools 1.2.0 as part of this release to try this case.
Although is possible we don’t do much more times as we expect
El El vie, 27 mar 2020 a las 19:39, Alex Harui <ah...@adobe.com.invalid>
escribió:
> OK, thanks. Why is a branch not needed in this case?
>
> -Alex
>
> On 3/27/20, 11:25 AM, "Christofer Dutz" <ch...@c-ware.de>
> wrote:
>
> Hi Alex
>
> As we don't have any profiles in that module it would be:
>
> 1) cd build-tools
> 2) mvn release:prepare
> 3) mvn release:perform
>
> (No need to do this branching stuff for that)
>
> Chris
>
> Am 27.03.20, 19:23 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
>
> It sounds like Carlos is planning to try to create an RC for
> 0.9.7. What steps will he have to execute for compiler-build-tools?
>
> And, to make sure you didn't miss this question: Where would he
> add the parameters to try to create reproducible binaries?
>
> Thanks,
> -Alex
>
> On 3/27/20, 11:14 AM, "Christofer Dutz" <ch...@c-ware.de>
> wrote:
>
> Hi Alex,
>
> No it didn't because that's actually not the way you usually
> do something like that.
> Usually you release the tools you need to release before you
> start the release process of the main project.
>
> Just in PLC4X we're gonna release our plc4x-maven-plugin in
> the next days so we can use the released version in the official PLC4X
> release.
>
> Mixing things just makes it messy.
>
> Chris
>
> Am 27.03.20, 16:16 schrieb "Alex Harui"
> <ah...@adobe.com.INVALID>:
>
> Couple of questions though:
>
> Did the instructions include the staging of
> compiler-build-tools?
>
> If we combine all 3 repos into one, how hard would it be
> to release the compiler separately in the future?
>
> -Alex
>
> On 3/27/20, 8:00 AM, "Alex Harui" <ah...@adobe.com.INVALID>
> wrote:
>
> Thanks for the list. I count 13 steps!
>
> -Alex
>
> On 3/27/20, 5:36 AM, "Carlos Rovira" <
> carlosrovira@apache.org> wrote:
>
> Hi,
>
> he exaplained in the first email that he tried to
> do all with his own nexus
> this is a test he did, since he does not has any
> credentials in Royale
> So all worked for him
> We now need to do the official release
> so the source bundles will be downloaded from the
> official apache repository
>
> HTH
>
> C,
>
>
> El vie., 27 mar. 2020 a las 12:33, Harbs (<
> harbs.lists@gmail.com>) escribió:
>
> > Yes.
> >
> > > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <
> christofer.dutz@c-ware.de>
> > wrote:
> > >
> > > Does that explain things?
> >
> >
>
> --
> Carlos Rovira
>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C4e24e44c2bad47274e7e08d7d27c37bd%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209303276705806&sdata=8GdN6y48R%2FJhXYCdSaOgyEYM0rxKRvW1P7iQsn4xxjI%3D&reserved=0
>
>
>
>
>
>
>
>
>
>
>
>
> --
Carlos Rovira
Presidente Ejecutivo
M: +34 607 22 60 05
http://www.codeoscopic.com
Conócenos en 1 minuto! <https://avant2.es/#video>
AVISO LEGAL: La información contenida en este correo electrónico, y en su
caso en los documentos adjuntos, es información privilegiada para uso
exclusivo de la persona y/o personas a las que va dirigido. No está
permitido el acceso a este mensaje a cualquier otra persona distinta a los
indicados. Si Usted no es uno de los destinatarios, cualquier duplicación,
reproducción, distribución, así como cualquier uso de la información
contenida en él o cualquiera otra acción u omisión tomada en relación con
el mismo, está prohibida y puede ser ilegal. En dicho caso, por favor,
notifíquelo al remitente y proceda a la eliminación de este correo
electrónico, así como de sus adjuntos si los hubiere. En cumplimiento de la
legislación española vigente en materia de protección de datos de carácter
personal y del RGPD 679/2016 le informamos que sus datos están siendo
objeto de tratamiento por parte de CODEOSCOPIC S.A. con CIFA85677342, con
la finalidad del mantenimiento y gestión de relaciones comerciales y
administrativas. La base jurídica del tratamiento es el interés legítimo de
la empresa. No se prevén cesiones de sus datos, salvo que exista una
obligación legal. Para ejercitar sus derechos puede dirigirse a CODEOSCOPIC
S.A., domiciliada enPaseo de la Habana, 9-11, 28036 de Madrid (MADRID), o
bien por email adpd@codeoscopic.com, con el fin de ejercer sus derechos de
acceso, rectificación, supresión (derecho al olvido), limitación de
tratamiento, portabilidad de los datos, oposición, y a no ser objeto de
decisiones automatizadas, indicando como Asunto: “Derechos Ley Protección
de Datos”, y adjuntando fotocopia de su DNI. Delegado de protección de
datos:dpd@codeoscopic.com
Re: Instructions for releasing with Maven
Posted by Alex Harui <ah...@adobe.com.INVALID>.
OK, thanks. Why is a branch not needed in this case?
-Alex
On 3/27/20, 11:25 AM, "Christofer Dutz" <ch...@c-ware.de> wrote:
Hi Alex
As we don't have any profiles in that module it would be:
1) cd build-tools
2) mvn release:prepare
3) mvn release:perform
(No need to do this branching stuff for that)
Chris
Am 27.03.20, 19:23 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
It sounds like Carlos is planning to try to create an RC for 0.9.7. What steps will he have to execute for compiler-build-tools?
And, to make sure you didn't miss this question: Where would he add the parameters to try to create reproducible binaries?
Thanks,
-Alex
On 3/27/20, 11:14 AM, "Christofer Dutz" <ch...@c-ware.de> wrote:
Hi Alex,
No it didn't because that's actually not the way you usually do something like that.
Usually you release the tools you need to release before you start the release process of the main project.
Just in PLC4X we're gonna release our plc4x-maven-plugin in the next days so we can use the released version in the official PLC4X release.
Mixing things just makes it messy.
Chris
Am 27.03.20, 16:16 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
Couple of questions though:
Did the instructions include the staging of compiler-build-tools?
If we combine all 3 repos into one, how hard would it be to release the compiler separately in the future?
-Alex
On 3/27/20, 8:00 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
Thanks for the list. I count 13 steps!
-Alex
On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
Hi,
he exaplained in the first email that he tried to do all with his own nexus
this is a test he did, since he does not has any credentials in Royale
So all worked for him
We now need to do the official release
so the source bundles will be downloaded from the official apache repository
HTH
C,
El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>) escribió:
> Yes.
>
> > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <ch...@c-ware.de>
> wrote:
> >
> > Does that explain things?
>
>
--
Carlos Rovira
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C4e24e44c2bad47274e7e08d7d27c37bd%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209303276705806&sdata=8GdN6y48R%2FJhXYCdSaOgyEYM0rxKRvW1P7iQsn4xxjI%3D&reserved=0
Re: Instructions for releasing with Maven
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Alex
As we don't have any profiles in that module it would be:
1) cd build-tools
2) mvn release:prepare
3) mvn release:perform
(No need to do this branching stuff for that)
Chris
Am 27.03.20, 19:23 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
It sounds like Carlos is planning to try to create an RC for 0.9.7. What steps will he have to execute for compiler-build-tools?
And, to make sure you didn't miss this question: Where would he add the parameters to try to create reproducible binaries?
Thanks,
-Alex
On 3/27/20, 11:14 AM, "Christofer Dutz" <ch...@c-ware.de> wrote:
Hi Alex,
No it didn't because that's actually not the way you usually do something like that.
Usually you release the tools you need to release before you start the release process of the main project.
Just in PLC4X we're gonna release our plc4x-maven-plugin in the next days so we can use the released version in the official PLC4X release.
Mixing things just makes it messy.
Chris
Am 27.03.20, 16:16 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
Couple of questions though:
Did the instructions include the staging of compiler-build-tools?
If we combine all 3 repos into one, how hard would it be to release the compiler separately in the future?
-Alex
On 3/27/20, 8:00 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
Thanks for the list. I count 13 steps!
-Alex
On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
Hi,
he exaplained in the first email that he tried to do all with his own nexus
this is a test he did, since he does not has any credentials in Royale
So all worked for him
We now need to do the official release
so the source bundles will be downloaded from the official apache repository
HTH
C,
El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>) escribió:
> Yes.
>
> > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <ch...@c-ware.de>
> wrote:
> >
> > Does that explain things?
>
>
--
Carlos Rovira
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cbb352c5beb9f470c32f408d7d27ab07e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209296698349109&sdata=ps9tc4u8c1KWyzbToN6EX7Xr4lfTWnvSgkLRc3P8Vsw%3D&reserved=0
Re: Instructions for releasing with Maven
Posted by Alex Harui <ah...@adobe.com.INVALID>.
It sounds like Carlos is planning to try to create an RC for 0.9.7. What steps will he have to execute for compiler-build-tools?
And, to make sure you didn't miss this question: Where would he add the parameters to try to create reproducible binaries?
Thanks,
-Alex
On 3/27/20, 11:14 AM, "Christofer Dutz" <ch...@c-ware.de> wrote:
Hi Alex,
No it didn't because that's actually not the way you usually do something like that.
Usually you release the tools you need to release before you start the release process of the main project.
Just in PLC4X we're gonna release our plc4x-maven-plugin in the next days so we can use the released version in the official PLC4X release.
Mixing things just makes it messy.
Chris
Am 27.03.20, 16:16 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
Couple of questions though:
Did the instructions include the staging of compiler-build-tools?
If we combine all 3 repos into one, how hard would it be to release the compiler separately in the future?
-Alex
On 3/27/20, 8:00 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
Thanks for the list. I count 13 steps!
-Alex
On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
Hi,
he exaplained in the first email that he tried to do all with his own nexus
this is a test he did, since he does not has any credentials in Royale
So all worked for him
We now need to do the official release
so the source bundles will be downloaded from the official apache repository
HTH
C,
El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>) escribió:
> Yes.
>
> > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <ch...@c-ware.de>
> wrote:
> >
> > Does that explain things?
>
>
--
Carlos Rovira
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cbb352c5beb9f470c32f408d7d27ab07e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209296698349109&sdata=ps9tc4u8c1KWyzbToN6EX7Xr4lfTWnvSgkLRc3P8Vsw%3D&reserved=0
Re: Instructions for releasing with Maven
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Alex,
No it didn't because that's actually not the way you usually do something like that.
Usually you release the tools you need to release before you start the release process of the main project.
Just in PLC4X we're gonna release our plc4x-maven-plugin in the next days so we can use the released version in the official PLC4X release.
Mixing things just makes it messy.
Chris
Am 27.03.20, 16:16 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
Couple of questions though:
Did the instructions include the staging of compiler-build-tools?
If we combine all 3 repos into one, how hard would it be to release the compiler separately in the future?
-Alex
On 3/27/20, 8:00 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
Thanks for the list. I count 13 steps!
-Alex
On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
Hi,
he exaplained in the first email that he tried to do all with his own nexus
this is a test he did, since he does not has any credentials in Royale
So all worked for him
We now need to do the official release
so the source bundles will be downloaded from the official apache repository
HTH
C,
El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>) escribió:
> Yes.
>
> > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <ch...@c-ware.de>
> wrote:
> >
> > Does that explain things?
>
>
--
Carlos Rovira
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ce99ea555146e44eb03ac08d7d25f9b7f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209180392914491&sdata=BIYUesgvzRuB9UYJKYwAoMCMEo0HpNkZ9YbuPuhC%2BRk%3D&reserved=0
Re: Instructions for releasing with Maven
Posted by Carlos Rovira <ca...@apache.org>.
Hi Piotr,
better Chris to respond to that.
Anyway, is something we could discuss as 0.9.7 release is finished as part
of things to do for 0.9.8.
So, in the actual state I plan to start soon, if not today, will be tomorrow
Thanks
El vie., 27 mar. 2020 a las 17:14, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:
> Hi Carlos,
>
> Well it's not exactly true - there were examples of projects or attempt
> where people uses compiler only to output JS, so we should have an ability
> to release compiler only.
>
> Thanks,
> Piotr
>
> pt., 27 mar 2020 o 17:10 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi Alex
> >
> > El vie., 27 mar. 2020 a las 16:16, Alex Harui (<aharui@adobe.com.invalid
> >)
> > escribió:
> >
> > > Did the instructions include the staging of compiler-build-tools?
> > >
> >
> > good question, while Chris tested his own release I think I asked him
> that,
> > but not sure now. Hope he can respond to this.
> >
> >
> > > If we combine all 3 repos into one, how hard would it be to release the
> > > compiler separately in the future?
> > >
> >
> > Left this to Chris response too.
> > My thinking is that we could have some additional pom to release that,
> > don't know if possible. But seems to me that right now things are very
> > connected between compiler and framework, so I think we should always
> > release both, or at least my perception is that the way we have compiler
> > and framework seems to me not have sense the one without the other and
> > viceversa. Maybe I could be wrong with that.
> >
> > Thanks
> >
> >
> > >
> > > -Alex
> > >
> > > On 3/27/20, 8:00 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
> > >
> > > Thanks for the list. I count 13 steps!
> > >
> > > -Alex
> > >
> > > On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org>
> > wrote:
> > >
> > > Hi,
> > >
> > > he exaplained in the first email that he tried to do all with
> his
> > > own nexus
> > > this is a test he did, since he does not has any credentials in
> > > Royale
> > > So all worked for him
> > > We now need to do the official release
> > > so the source bundles will be downloaded from the official
> apache
> > > repository
> > >
> > > HTH
> > >
> > > C,
> > >
> > >
> > > El vie., 27 mar. 2020 a las 12:33, Harbs (<
> harbs.lists@gmail.com
> > >)
> > > escribió:
> > >
> > > > Yes.
> > > >
> > > > > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <
> > > christofer.dutz@c-ware.de>
> > > > wrote:
> > > > >
> > > > > Does that explain things?
> > > >
> > > >
> > >
> > > --
> > > Carlos Rovira
> > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ce99ea555146e44eb03ac08d7d25f9b7f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209180392914491&sdata=BIYUesgvzRuB9UYJKYwAoMCMEo0HpNkZ9YbuPuhC%2BRk%3D&reserved=0
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > 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
Re: Instructions for releasing with Maven
Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Carlos,
Well it's not exactly true - there were examples of projects or attempt
where people uses compiler only to output JS, so we should have an ability
to release compiler only.
Thanks,
Piotr
pt., 27 mar 2020 o 17:10 Carlos Rovira <ca...@apache.org> napisał(a):
> Hi Alex
>
> El vie., 27 mar. 2020 a las 16:16, Alex Harui (<ah...@adobe.com.invalid>)
> escribió:
>
> > Did the instructions include the staging of compiler-build-tools?
> >
>
> good question, while Chris tested his own release I think I asked him that,
> but not sure now. Hope he can respond to this.
>
>
> > If we combine all 3 repos into one, how hard would it be to release the
> > compiler separately in the future?
> >
>
> Left this to Chris response too.
> My thinking is that we could have some additional pom to release that,
> don't know if possible. But seems to me that right now things are very
> connected between compiler and framework, so I think we should always
> release both, or at least my perception is that the way we have compiler
> and framework seems to me not have sense the one without the other and
> viceversa. Maybe I could be wrong with that.
>
> Thanks
>
>
> >
> > -Alex
> >
> > On 3/27/20, 8:00 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
> >
> > Thanks for the list. I count 13 steps!
> >
> > -Alex
> >
> > On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org>
> wrote:
> >
> > Hi,
> >
> > he exaplained in the first email that he tried to do all with his
> > own nexus
> > this is a test he did, since he does not has any credentials in
> > Royale
> > So all worked for him
> > We now need to do the official release
> > so the source bundles will be downloaded from the official apache
> > repository
> >
> > HTH
> >
> > C,
> >
> >
> > El vie., 27 mar. 2020 a las 12:33, Harbs (<harbs.lists@gmail.com
> >)
> > escribió:
> >
> > > Yes.
> > >
> > > > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <
> > christofer.dutz@c-ware.de>
> > > wrote:
> > > >
> > > > Does that explain things?
> > >
> > >
> >
> > --
> > Carlos Rovira
> >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ce99ea555146e44eb03ac08d7d25f9b7f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209180392914491&sdata=BIYUesgvzRuB9UYJKYwAoMCMEo0HpNkZ9YbuPuhC%2BRk%3D&reserved=0
> >
> >
> >
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: Instructions for releasing with Maven
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi All,
sorry I must have skipped that question ...
Well it depends on how you cut the project. If we mix all the modules, it would be hard.
However I wouldn't suggest to do that. I would much more suggest to keep the structure as it is and create a pom in the root directory.
It would have child modules "compiler", "typedefs" and "framework/asjs" ...
in these all we would change would be to change the parent pom to the new root.
Of course we could move shared config options up one level into the root, but I think we don’t need to do that as the configs are pretty
Distinct anyway.
If you just want to release the compiler, you would do the release steps in the "compiler" directory.
However you would lose the sync of version number, which I think is not desirable ... but it is possible.
Chris
Am 27.03.20, 17:11 schrieb "Carlos Rovira" <ca...@apache.org>:
Hi Alex
El vie., 27 mar. 2020 a las 16:16, Alex Harui (<ah...@adobe.com.invalid>)
escribió:
> Did the instructions include the staging of compiler-build-tools?
>
good question, while Chris tested his own release I think I asked him that,
but not sure now. Hope he can respond to this.
> If we combine all 3 repos into one, how hard would it be to release the
> compiler separately in the future?
>
Left this to Chris response too.
My thinking is that we could have some additional pom to release that,
don't know if possible. But seems to me that right now things are very
connected between compiler and framework, so I think we should always
release both, or at least my perception is that the way we have compiler
and framework seems to me not have sense the one without the other and
viceversa. Maybe I could be wrong with that.
Thanks
>
> -Alex
>
> On 3/27/20, 8:00 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>
> Thanks for the list. I count 13 steps!
>
> -Alex
>
> On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
>
> Hi,
>
> he exaplained in the first email that he tried to do all with his
> own nexus
> this is a test he did, since he does not has any credentials in
> Royale
> So all worked for him
> We now need to do the official release
> so the source bundles will be downloaded from the official apache
> repository
>
> HTH
>
> C,
>
>
> El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>)
> escribió:
>
> > Yes.
> >
> > > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <
> christofer.dutz@c-ware.de>
> > wrote:
> > >
> > > Does that explain things?
> >
> >
>
> --
> Carlos Rovira
>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ce99ea555146e44eb03ac08d7d25f9b7f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209180392914491&sdata=BIYUesgvzRuB9UYJKYwAoMCMEo0HpNkZ9YbuPuhC%2BRk%3D&reserved=0
>
>
>
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Instructions for releasing with Maven
Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex
El vie., 27 mar. 2020 a las 16:16, Alex Harui (<ah...@adobe.com.invalid>)
escribió:
> Did the instructions include the staging of compiler-build-tools?
>
good question, while Chris tested his own release I think I asked him that,
but not sure now. Hope he can respond to this.
> If we combine all 3 repos into one, how hard would it be to release the
> compiler separately in the future?
>
Left this to Chris response too.
My thinking is that we could have some additional pom to release that,
don't know if possible. But seems to me that right now things are very
connected between compiler and framework, so I think we should always
release both, or at least my perception is that the way we have compiler
and framework seems to me not have sense the one without the other and
viceversa. Maybe I could be wrong with that.
Thanks
>
> -Alex
>
> On 3/27/20, 8:00 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>
> Thanks for the list. I count 13 steps!
>
> -Alex
>
> On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
>
> Hi,
>
> he exaplained in the first email that he tried to do all with his
> own nexus
> this is a test he did, since he does not has any credentials in
> Royale
> So all worked for him
> We now need to do the official release
> so the source bundles will be downloaded from the official apache
> repository
>
> HTH
>
> C,
>
>
> El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>)
> escribió:
>
> > Yes.
> >
> > > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <
> christofer.dutz@c-ware.de>
> > wrote:
> > >
> > > Does that explain things?
> >
> >
>
> --
> Carlos Rovira
>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ce99ea555146e44eb03ac08d7d25f9b7f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209180392914491&sdata=BIYUesgvzRuB9UYJKYwAoMCMEo0HpNkZ9YbuPuhC%2BRk%3D&reserved=0
>
>
>
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Instructions for releasing with Maven
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Couple of questions though:
Did the instructions include the staging of compiler-build-tools?
If we combine all 3 repos into one, how hard would it be to release the compiler separately in the future?
-Alex
On 3/27/20, 8:00 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
Thanks for the list. I count 13 steps!
-Alex
On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
Hi,
he exaplained in the first email that he tried to do all with his own nexus
this is a test he did, since he does not has any credentials in Royale
So all worked for him
We now need to do the official release
so the source bundles will be downloaded from the official apache repository
HTH
C,
El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>) escribió:
> Yes.
>
> > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <ch...@c-ware.de>
> wrote:
> >
> > Does that explain things?
>
>
--
Carlos Rovira
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ce99ea555146e44eb03ac08d7d25f9b7f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209180392914491&sdata=BIYUesgvzRuB9UYJKYwAoMCMEo0HpNkZ9YbuPuhC%2BRk%3D&reserved=0
Re: Instructions for releasing with Maven
Posted by Alex Harui <ah...@adobe.com.INVALID>.
On 3/27/20, 11:23 AM, "Christofer Dutz" <ch...@c-ware.de> wrote:
Hi Alex,
well actually it does contain these steps ... however they are automatic.
The maven release plugin is configured to automatically add a timestamp property to the pom.xml as part of the release process.
The default maven plugins are configured to react on this timestamp and create reproducible builds.
Don't we need to be able to manually set a timestamp in order to prove that the binaries I produce locally match the one produced by the RM?
For the Royale modules I added the configuration to the apache-release to use that property as reproducible build to the royale-maven-plugin.
So if the compiler would produce reproducible builds, so would the build.
Chris
Re: Instructions for releasing with Maven
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Alex,
well actually it does contain these steps ... however they are automatic.
The maven release plugin is configured to automatically add a timestamp property to the pom.xml as part of the release process.
The default maven plugins are configured to react on this timestamp and create reproducible builds.
For the Royale modules I added the configuration to the apache-release to use that property as reproducible build to the royale-maven-plugin.
So if the compiler would produce reproducible builds, so would the build.
Chris
Am 27.03.20, 18:41 schrieb "Alex Harui" <ah...@adobe.com.INVALID>:
On 3/27/20, 9:05 AM, "Carlos Rovira" <ca...@apache.org> wrote:
mmm Alex,... remember you that CI steps are 13 step + around 64 commands
spitted between server and local machine, what defeats the purpose of CI
server
The 64 commands does not defeat the purpose of the CI server. Some of those commands are required to validate the reproducible binaries. In fact, I think the commands Chris posted did not include parameters for reproducible binaries, so it would be good to have those included in the wiki. Others commands are required to use a remote machine which had the advantage of not requiring the RM to set things on their local machine.
We are gone full circle in our history now. Chris has again used his local machine to create Maven artifacts. What happened next in our history is that other RMs kept having setup and upload/download issues. It will be interesting to see if that happens again. The only solution I could find was to setup the CI server.
...don't think this is a competition, but it's clear that 13 "commands" is
much more less than 13 steps plus 64 commands (aprox)
I'm just pointing out that reality ended up showing that there really are about 13 commands/steps to create a Royale release, which is not "amazingly simple" or "2 or 3 steps" as you wrote earlier. I wish it were fewer too, and maybe we will decide to refactor the repos. I don't see it as a competition. I just see it as a fact of life for us currently.
-Alex
El vie., 27 mar. 2020 a las 16:00, Alex Harui (<ah...@adobe.com.invalid>)
escribió:
> Thanks for the list. I count 13 steps!
>
> -Alex
>
> On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
>
> Hi,
>
> he exaplained in the first email that he tried to do all with his own
> nexus
> this is a test he did, since he does not has any credentials in Royale
> So all worked for him
> We now need to do the official release
> so the source bundles will be downloaded from the official apache
> repository
>
> HTH
>
> C,
>
>
> El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>)
> escribió:
>
> > Yes.
> >
> > > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <
> christofer.dutz@c-ware.de>
> > wrote:
> > >
> > > Does that explain things?
> >
> >
>
> --
> Carlos Rovira
>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C59cc1feb87f542832d3308d7d2689fe6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209219125696429&sdata=ix0m9CvETz4I7JqVDaJpar3V6%2BIhgMplMP14GOCx3AM%3D&reserved=0
>
>
>
--
Carlos Rovira
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C59cc1feb87f542832d3308d7d2689fe6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209219125696429&sdata=ix0m9CvETz4I7JqVDaJpar3V6%2BIhgMplMP14GOCx3AM%3D&reserved=0
Re: Instructions for releasing with Maven
Posted by Alex Harui <ah...@adobe.com.INVALID>.
On 3/27/20, 9:05 AM, "Carlos Rovira" <ca...@apache.org> wrote:
mmm Alex,... remember you that CI steps are 13 step + around 64 commands
spitted between server and local machine, what defeats the purpose of CI
server
The 64 commands does not defeat the purpose of the CI server. Some of those commands are required to validate the reproducible binaries. In fact, I think the commands Chris posted did not include parameters for reproducible binaries, so it would be good to have those included in the wiki. Others commands are required to use a remote machine which had the advantage of not requiring the RM to set things on their local machine.
We are gone full circle in our history now. Chris has again used his local machine to create Maven artifacts. What happened next in our history is that other RMs kept having setup and upload/download issues. It will be interesting to see if that happens again. The only solution I could find was to setup the CI server.
...don't think this is a competition, but it's clear that 13 "commands" is
much more less than 13 steps plus 64 commands (aprox)
I'm just pointing out that reality ended up showing that there really are about 13 commands/steps to create a Royale release, which is not "amazingly simple" or "2 or 3 steps" as you wrote earlier. I wish it were fewer too, and maybe we will decide to refactor the repos. I don't see it as a competition. I just see it as a fact of life for us currently.
-Alex
El vie., 27 mar. 2020 a las 16:00, Alex Harui (<ah...@adobe.com.invalid>)
escribió:
> Thanks for the list. I count 13 steps!
>
> -Alex
>
> On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
>
> Hi,
>
> he exaplained in the first email that he tried to do all with his own
> nexus
> this is a test he did, since he does not has any credentials in Royale
> So all worked for him
> We now need to do the official release
> so the source bundles will be downloaded from the official apache
> repository
>
> HTH
>
> C,
>
>
> El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>)
> escribió:
>
> > Yes.
> >
> > > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <
> christofer.dutz@c-ware.de>
> > wrote:
> > >
> > > Does that explain things?
> >
> >
>
> --
> Carlos Rovira
>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C59cc1feb87f542832d3308d7d2689fe6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209219125696429&sdata=ix0m9CvETz4I7JqVDaJpar3V6%2BIhgMplMP14GOCx3AM%3D&reserved=0
>
>
>
--
Carlos Rovira
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C59cc1feb87f542832d3308d7d2689fe6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209219125696429&sdata=ix0m9CvETz4I7JqVDaJpar3V6%2BIhgMplMP14GOCx3AM%3D&reserved=0
Re: Instructions for releasing with Maven
Posted by Carlos Rovira <ca...@apache.org>.
mmm Alex,... remember you that CI steps are 13 step + around 64 commands
spitted between server and local machine, what defeats the purpose of CI
server
...don't think this is a competition, but it's clear that 13 "commands" is
much more less than 13 steps plus 64 commands (aprox)
El vie., 27 mar. 2020 a las 16:00, Alex Harui (<ah...@adobe.com.invalid>)
escribió:
> Thanks for the list. I count 13 steps!
>
> -Alex
>
> On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
>
> Hi,
>
> he exaplained in the first email that he tried to do all with his own
> nexus
> this is a test he did, since he does not has any credentials in Royale
> So all worked for him
> We now need to do the official release
> so the source bundles will be downloaded from the official apache
> repository
>
> HTH
>
> C,
>
>
> El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>)
> escribió:
>
> > Yes.
> >
> > > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <
> christofer.dutz@c-ware.de>
> > wrote:
> > >
> > > Does that explain things?
> >
> >
>
> --
> Carlos Rovira
>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cf777c25672b444d9b87008d7d24b7573%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209093843170831&sdata=5xYHqywn%2FxLQcvAuNhoMPWamh%2FbFaPOYCsp4hvZ67YA%3D&reserved=0
>
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Instructions for releasing with Maven
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Thanks for the list. I count 13 steps!
-Alex
On 3/27/20, 5:36 AM, "Carlos Rovira" <ca...@apache.org> wrote:
Hi,
he exaplained in the first email that he tried to do all with his own nexus
this is a test he did, since he does not has any credentials in Royale
So all worked for him
We now need to do the official release
so the source bundles will be downloaded from the official apache repository
HTH
C,
El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>) escribió:
> Yes.
>
> > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <ch...@c-ware.de>
> wrote:
> >
> > Does that explain things?
>
>
--
Carlos Rovira
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cf777c25672b444d9b87008d7d24b7573%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637209093843170831&sdata=5xYHqywn%2FxLQcvAuNhoMPWamh%2FbFaPOYCsp4hvZ67YA%3D&reserved=0
Re: Instructions for releasing with Maven
Posted by Carlos Rovira <ca...@apache.org>.
Hi,
he exaplained in the first email that he tried to do all with his own nexus
this is a test he did, since he does not has any credentials in Royale
So all worked for him
We now need to do the official release
so the source bundles will be downloaded from the official apache repository
HTH
C,
El vie., 27 mar. 2020 a las 12:33, Harbs (<ha...@gmail.com>) escribió:
> Yes.
>
> > On Mar 27, 2020, at 2:30 PM, Christofer Dutz <ch...@c-ware.de>
> wrote:
> >
> > Does that explain things?
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Instructions for releasing with Maven
Posted by Harbs <ha...@gmail.com>.
Yes.
> On Mar 27, 2020, at 2:30 PM, Christofer Dutz <ch...@c-ware.de> wrote:
>
> Does that explain things?
Re: Instructions for releasing with Maven
Posted by Christofer Dutz <ch...@c-ware.de>.
Well that's what we actually vote on when doing a release ...
It is a copy of the code repo in the state of the release (without version control stuff ... just the files)
So if you just unpack these source-bundles, you should have exactly what the release plugin uses to build the release.
In case of Royale ... you are technically doing 3 releases as there are 3 repos involved.
Does that explain things?
Chris
Am 27.03.20, 12:21 schrieb "Harbs" <ha...@gmail.com>:
What exactly is source-bundle in Maven land?
> On Mar 27, 2020, at 2:16 PM, Christofer Dutz <ch...@c-ware.de> wrote:
>
> And I just
>
> 1) Downloaded all of the source-bundles for each of the repos.
> 2) Created a temp directory
> 3) Unpacked the archives to reproduce the royale-compiler, royale-typedefs, royale-asjs directory structure (Had to rename royale-framework to royale-asjs)
> 4) Executed the Ant build: ant all -Dbuild.noprompt=true -Drelease.target=true
>
> And all succeeded:
>
> post-build:
> [mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/locale
> [mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/mx
> [mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/rsls
> [mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
> [copy] Copying 1 file to /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
> [copy] Copying 1 file to /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks
> [touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/macfonts.ser
> [touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/winfonts.ser
> [touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/localfonts.ser
>
> last-message-if-airsdk:
>
> main:
> [echo] ant main target completed on 03/27/2020 12:13:49 PM
>
> all:
>
> BUILD SUCCESSFUL
> Total time: 5 minutes 51 seconds
>
>
>
> Chris
>
>
> Am 27.03.20, 12:13 schrieb "Carlos Rovira" <ca...@apache.org>:
>
> Hi,
>
> just started this wiki page based on Chris instructions in this thread [1]
> will be update to improve formatting and anything that could ease even more
> the current info
>
> [1]
> https://github.com/apache/royale-asjs/wiki/Release-Manager-(New-to-be-tested)
>
> El vie., 27 mar. 2020 a las 11:52, Carlos Rovira (<ca...@apache.org>)
> escribió:
>
>> I think after this release this would be good to bring and discuss, I
>> think it would be a huge simplification for this project :)
>>
>> El vie., 27 mar. 2020 a las 10:48, Christofer Dutz (<
>> christofer.dutz@c-ware.de>) escribió:
>>
>>> And let me add something ....
>>>
>>> If all three git repos were merged into one (No Git submodules don't work
>>> as the tooling can't branch, commit push submodules) ... the release
>>> process would boil down to this:
>>>
>>> 1) mvn -P
>>> with-distribution,with-examples,with-manualtests,option-with-swf
>>> release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
>>>
>>> 2) git checkout release-test/0.9.8
>>>
>>> 3) mvn -P
>>> with-distribution,with-examples,with-manualtests,option-with-swf
>>> release:prepare -DautoVersionSubmodules=true
>>> -Dtag=org.apache.royale.asjs-0.9.8-rc1
>>>
>>> 4) mvn release:perform
>>>
>>> However I would need to refactor the royale-maven-plugin in order to do
>>> that. But I'd be happy to do it.
>>>
>>> Chris
>>>
>>>
>>>
>>> Am 27.03.20, 10:39 schrieb "Carlos Rovira" <ca...@apache.org>:
>>>
>>> Many thanks Chris :)
>>>
>>> I think this is what Alex asked for.
>>> If Alex is ok, and Yishay wants to let me to try, I can
>>> start official 0.9.7 in few hours
>>>
>>> Thanks!
>>>
>>>
>>>
>>> El vie., 27 mar. 2020 a las 10:29, Christofer Dutz (<
>>> christofer.dutz@c-ware.de>) escribió:
>>>
>>>> Hi All,
>>>>
>>>> As I don’t have access to a WIKI … here comes a step by step guide
>>> for
>>>> releasing Royale with Maven:
>>>>
>>>> Prepare:
>>>> export
>>>>
>>> FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
>>>> Player.app/Contents/MacOS/Flash Player Debugger"
>>>>
>>>> ---------------------------------------------------------------
>>>> Release Compiler
>>>> ---------------------------------------------------------------
>>>>
>>>> Branch:
>>>> ---------------------------
>>>> mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
>>>> -DbranchName=release-test/0.9.8
>>>> Just press enter on every question Maven asks you ...
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 21.963 s
>>>> [INFO] Finished at: 2020-03-26T20:39:53+01:00
>>>> [INFO] Final Memory: 18M/77M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> Release:
>>>> ---------------------------
>>>> git checkout release-test/0.9.8
>>>>
>>>> mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
>>>> -Dtag=org.apache.royale.compiler-0.9.8-rc1
>>>> Select the suggested versions by hitting enter
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 04:57 min
>>>> [INFO] Finished at: 2020-03-26T20:45:22+01:00
>>>> [INFO] Final Memory: 22M/84M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> mvn release:perform
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 04:04 min
>>>> [INFO] Finished at: 2020-03-26T20:49:58+01:00
>>>> [INFO] Final Memory: 18M/77M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------
>>>> Release Typedefs
>>>> ---------------------------------------------------------------
>>>>
>>>> Branch:
>>>> ---------------------------
>>>> mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
>>>> -DbranchName=release-test/0.9.8
>>>> Just press enter on every question Maven asks you ...
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 01:09 min
>>>> [INFO] Finished at: 2020-03-26T20:58:28+01:00
>>>> [INFO] Final Memory: 26M/100M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> Release:
>>>> ---------------------------
>>>> git checkout release-test/0.9.8
>>>>
>>>> edit the pom.xml and update the compiler version to the released
>>> versions
>>>> (Cut off the "-SNAPSHOT")
>>>>
>>>> commit and push the changes
>>>>
>>>> mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
>>>> -Dtag=org.apache.royale.typedefs-0.9.8-rc1
>>>> Select the suggested versions by hitting enter
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 02:37 min
>>>> [INFO] Finished at: 2020-03-26T21:08:13+01:00
>>>> [INFO] Final Memory: 26M/60M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> mvn release:perform
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 56.749 s
>>>> [INFO] Finished at: 2020-03-26T21:14:44+01:00
>>>> [INFO] Final Memory: 23M/90M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------
>>>> Release Framework
>>>> ---------------------------------------------------------------
>>>>
>>>> Branch:
>>>> ---------------------------
>>>> mvn -P
>>> with-distribution,with-examples,with-manualtests,option-with-swf
>>>> release:branch -DautoVersionSubmodules=true
>>> -DbranchName=release-test/0.9.8
>>>> Just press enter on every question Maven asks you ...
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 05:51 min
>>>> [INFO] Finished at: 2020-03-26T21:25:56+01:00
>>>> [INFO] Final Memory: 58M/207M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> Release:
>>>> ---------------------------
>>>> git checkout release-test/0.9.8
>>>>
>>>> edit the pom.xml and update the compiler- and typedefs versions to
>>> the
>>>> released versions (Cut off the "-SNAPSHOT")
>>>>
>>>> commit and push the changes
>>>>
>>>> mvn -P
>>> with-distribution,with-examples,with-manualtests,option-with-swf
>>>> release:prepare -DautoVersionSubmodules=true
>>>> -Dtag=org.apache.royale.asjs-0.9.8-rc1
>>>> Select the suggested versions by hitting enter
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 25:38 min
>>>> [INFO] Finished at: 2020-03-27T09:57:09+01:00
>>>> [INFO] Final Memory: 63M/227M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> mvn release:perform
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 19:02 min
>>>> [INFO] Finished at: 2020-03-27T10:16:44+01:00
>>>> [INFO] Final Memory: 41M/150M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------
>>>> DONE!
>>>>
>>>> I did a clean fork for this and updated the SCM and
>>> distributionManagement
>>>> to use my github fork and my private Nexus for deployment … it
>>> worked great
>>>> (After fixing 1-2 things in the ASJS repo … which weren’t found
>>> earlier as
>>>> we never got this far). Also did I do a fake 0.9.8 release as my
>>> fork of
>>>> the official repo had lots of relics from previous 0.9.7 release
>>> attempts.
>>>> So don’t be confused ;-)
>>>>
>>>> The Net execution time of all steps were 1:04:36 … add a few
>>> minutes for
>>>> switching branches, changing pom-versions and stuff like that …
>>>>
>>>> So is this the thing you folks were asking for?
>>>>
>>>> Chris
>>>>
>>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
Re: Instructions for releasing with Maven
Posted by Harbs <ha...@gmail.com>.
What exactly is source-bundle in Maven land?
> On Mar 27, 2020, at 2:16 PM, Christofer Dutz <ch...@c-ware.de> wrote:
>
> And I just
>
> 1) Downloaded all of the source-bundles for each of the repos.
> 2) Created a temp directory
> 3) Unpacked the archives to reproduce the royale-compiler, royale-typedefs, royale-asjs directory structure (Had to rename royale-framework to royale-asjs)
> 4) Executed the Ant build: ant all -Dbuild.noprompt=true -Drelease.target=true
>
> And all succeeded:
>
> post-build:
> [mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/locale
> [mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/mx
> [mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/rsls
> [mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
> [copy] Copying 1 file to /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
> [copy] Copying 1 file to /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks
> [touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/macfonts.ser
> [touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/winfonts.ser
> [touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/localfonts.ser
>
> last-message-if-airsdk:
>
> main:
> [echo] ant main target completed on 03/27/2020 12:13:49 PM
>
> all:
>
> BUILD SUCCESSFUL
> Total time: 5 minutes 51 seconds
>
>
>
> Chris
>
>
> Am 27.03.20, 12:13 schrieb "Carlos Rovira" <ca...@apache.org>:
>
> Hi,
>
> just started this wiki page based on Chris instructions in this thread [1]
> will be update to improve formatting and anything that could ease even more
> the current info
>
> [1]
> https://github.com/apache/royale-asjs/wiki/Release-Manager-(New-to-be-tested)
>
> El vie., 27 mar. 2020 a las 11:52, Carlos Rovira (<ca...@apache.org>)
> escribió:
>
>> I think after this release this would be good to bring and discuss, I
>> think it would be a huge simplification for this project :)
>>
>> El vie., 27 mar. 2020 a las 10:48, Christofer Dutz (<
>> christofer.dutz@c-ware.de>) escribió:
>>
>>> And let me add something ....
>>>
>>> If all three git repos were merged into one (No Git submodules don't work
>>> as the tooling can't branch, commit push submodules) ... the release
>>> process would boil down to this:
>>>
>>> 1) mvn -P
>>> with-distribution,with-examples,with-manualtests,option-with-swf
>>> release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
>>>
>>> 2) git checkout release-test/0.9.8
>>>
>>> 3) mvn -P
>>> with-distribution,with-examples,with-manualtests,option-with-swf
>>> release:prepare -DautoVersionSubmodules=true
>>> -Dtag=org.apache.royale.asjs-0.9.8-rc1
>>>
>>> 4) mvn release:perform
>>>
>>> However I would need to refactor the royale-maven-plugin in order to do
>>> that. But I'd be happy to do it.
>>>
>>> Chris
>>>
>>>
>>>
>>> Am 27.03.20, 10:39 schrieb "Carlos Rovira" <ca...@apache.org>:
>>>
>>> Many thanks Chris :)
>>>
>>> I think this is what Alex asked for.
>>> If Alex is ok, and Yishay wants to let me to try, I can
>>> start official 0.9.7 in few hours
>>>
>>> Thanks!
>>>
>>>
>>>
>>> El vie., 27 mar. 2020 a las 10:29, Christofer Dutz (<
>>> christofer.dutz@c-ware.de>) escribió:
>>>
>>>> Hi All,
>>>>
>>>> As I don’t have access to a WIKI … here comes a step by step guide
>>> for
>>>> releasing Royale with Maven:
>>>>
>>>> Prepare:
>>>> export
>>>>
>>> FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
>>>> Player.app/Contents/MacOS/Flash Player Debugger"
>>>>
>>>> ---------------------------------------------------------------
>>>> Release Compiler
>>>> ---------------------------------------------------------------
>>>>
>>>> Branch:
>>>> ---------------------------
>>>> mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
>>>> -DbranchName=release-test/0.9.8
>>>> Just press enter on every question Maven asks you ...
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 21.963 s
>>>> [INFO] Finished at: 2020-03-26T20:39:53+01:00
>>>> [INFO] Final Memory: 18M/77M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> Release:
>>>> ---------------------------
>>>> git checkout release-test/0.9.8
>>>>
>>>> mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
>>>> -Dtag=org.apache.royale.compiler-0.9.8-rc1
>>>> Select the suggested versions by hitting enter
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 04:57 min
>>>> [INFO] Finished at: 2020-03-26T20:45:22+01:00
>>>> [INFO] Final Memory: 22M/84M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> mvn release:perform
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 04:04 min
>>>> [INFO] Finished at: 2020-03-26T20:49:58+01:00
>>>> [INFO] Final Memory: 18M/77M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------
>>>> Release Typedefs
>>>> ---------------------------------------------------------------
>>>>
>>>> Branch:
>>>> ---------------------------
>>>> mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
>>>> -DbranchName=release-test/0.9.8
>>>> Just press enter on every question Maven asks you ...
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 01:09 min
>>>> [INFO] Finished at: 2020-03-26T20:58:28+01:00
>>>> [INFO] Final Memory: 26M/100M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> Release:
>>>> ---------------------------
>>>> git checkout release-test/0.9.8
>>>>
>>>> edit the pom.xml and update the compiler version to the released
>>> versions
>>>> (Cut off the "-SNAPSHOT")
>>>>
>>>> commit and push the changes
>>>>
>>>> mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
>>>> -Dtag=org.apache.royale.typedefs-0.9.8-rc1
>>>> Select the suggested versions by hitting enter
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 02:37 min
>>>> [INFO] Finished at: 2020-03-26T21:08:13+01:00
>>>> [INFO] Final Memory: 26M/60M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> mvn release:perform
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 56.749 s
>>>> [INFO] Finished at: 2020-03-26T21:14:44+01:00
>>>> [INFO] Final Memory: 23M/90M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------
>>>> Release Framework
>>>> ---------------------------------------------------------------
>>>>
>>>> Branch:
>>>> ---------------------------
>>>> mvn -P
>>> with-distribution,with-examples,with-manualtests,option-with-swf
>>>> release:branch -DautoVersionSubmodules=true
>>> -DbranchName=release-test/0.9.8
>>>> Just press enter on every question Maven asks you ...
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 05:51 min
>>>> [INFO] Finished at: 2020-03-26T21:25:56+01:00
>>>> [INFO] Final Memory: 58M/207M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> Release:
>>>> ---------------------------
>>>> git checkout release-test/0.9.8
>>>>
>>>> edit the pom.xml and update the compiler- and typedefs versions to
>>> the
>>>> released versions (Cut off the "-SNAPSHOT")
>>>>
>>>> commit and push the changes
>>>>
>>>> mvn -P
>>> with-distribution,with-examples,with-manualtests,option-with-swf
>>>> release:prepare -DautoVersionSubmodules=true
>>>> -Dtag=org.apache.royale.asjs-0.9.8-rc1
>>>> Select the suggested versions by hitting enter
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 25:38 min
>>>> [INFO] Finished at: 2020-03-27T09:57:09+01:00
>>>> [INFO] Final Memory: 63M/227M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> mvn release:perform
>>>>
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 19:02 min
>>>> [INFO] Finished at: 2020-03-27T10:16:44+01:00
>>>> [INFO] Final Memory: 41M/150M
>>>> [INFO]
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------
>>>> DONE!
>>>>
>>>> I did a clean fork for this and updated the SCM and
>>> distributionManagement
>>>> to use my github fork and my private Nexus for deployment … it
>>> worked great
>>>> (After fixing 1-2 things in the ASJS repo … which weren’t found
>>> earlier as
>>>> we never got this far). Also did I do a fake 0.9.8 release as my
>>> fork of
>>>> the official repo had lots of relics from previous 0.9.7 release
>>> attempts.
>>>> So don’t be confused ;-)
>>>>
>>>> The Net execution time of all steps were 1:04:36 … add a few
>>> minutes for
>>>> switching branches, changing pom-versions and stuff like that …
>>>>
>>>> So is this the thing you folks were asking for?
>>>>
>>>> Chris
>>>>
>>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
Re: Instructions for releasing with Maven
Posted by Christofer Dutz <ch...@c-ware.de>.
And I just
1) Downloaded all of the source-bundles for each of the repos.
2) Created a temp directory
3) Unpacked the archives to reproduce the royale-compiler, royale-typedefs, royale-asjs directory structure (Had to rename royale-framework to royale-asjs)
4) Executed the Ant build: ant all -Dbuild.noprompt=true -Drelease.target=true
And all succeeded:
post-build:
[mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/locale
[mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/mx
[mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/rsls
[mkdir] Created dir: /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
[copy] Copying 1 file to /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/themes/Halo
[copy] Copying 1 file to /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks
[touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/macfonts.ser
[touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/winfonts.ser
[touch] Creating /Users/christofer.dutz/Temp/royale/royale-asjs/frameworks/localfonts.ser
last-message-if-airsdk:
main:
[echo] ant main target completed on 03/27/2020 12:13:49 PM
all:
BUILD SUCCESSFUL
Total time: 5 minutes 51 seconds
Chris
Am 27.03.20, 12:13 schrieb "Carlos Rovira" <ca...@apache.org>:
Hi,
just started this wiki page based on Chris instructions in this thread [1]
will be update to improve formatting and anything that could ease even more
the current info
[1]
https://github.com/apache/royale-asjs/wiki/Release-Manager-(New-to-be-tested)
El vie., 27 mar. 2020 a las 11:52, Carlos Rovira (<ca...@apache.org>)
escribió:
> I think after this release this would be good to bring and discuss, I
> think it would be a huge simplification for this project :)
>
> El vie., 27 mar. 2020 a las 10:48, Christofer Dutz (<
> christofer.dutz@c-ware.de>) escribió:
>
>> And let me add something ....
>>
>> If all three git repos were merged into one (No Git submodules don't work
>> as the tooling can't branch, commit push submodules) ... the release
>> process would boil down to this:
>>
>> 1) mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
>>
>> 2) git checkout release-test/0.9.8
>>
>> 3) mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> release:prepare -DautoVersionSubmodules=true
>> -Dtag=org.apache.royale.asjs-0.9.8-rc1
>>
>> 4) mvn release:perform
>>
>> However I would need to refactor the royale-maven-plugin in order to do
>> that. But I'd be happy to do it.
>>
>> Chris
>>
>>
>>
>> Am 27.03.20, 10:39 schrieb "Carlos Rovira" <ca...@apache.org>:
>>
>> Many thanks Chris :)
>>
>> I think this is what Alex asked for.
>> If Alex is ok, and Yishay wants to let me to try, I can
>> start official 0.9.7 in few hours
>>
>> Thanks!
>>
>>
>>
>> El vie., 27 mar. 2020 a las 10:29, Christofer Dutz (<
>> christofer.dutz@c-ware.de>) escribió:
>>
>> > Hi All,
>> >
>> > As I don’t have access to a WIKI … here comes a step by step guide
>> for
>> > releasing Royale with Maven:
>> >
>> > Prepare:
>> > export
>> >
>> FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
>> > Player.app/Contents/MacOS/Flash Player Debugger"
>> >
>> > ---------------------------------------------------------------
>> > Release Compiler
>> > ---------------------------------------------------------------
>> >
>> > Branch:
>> > ---------------------------
>> > mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
>> > -DbranchName=release-test/0.9.8
>> > Just press enter on every question Maven asks you ...
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 21.963 s
>> > [INFO] Finished at: 2020-03-26T20:39:53+01:00
>> > [INFO] Final Memory: 18M/77M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> >
>> > Release:
>> > ---------------------------
>> > git checkout release-test/0.9.8
>> >
>> > mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
>> > -Dtag=org.apache.royale.compiler-0.9.8-rc1
>> > Select the suggested versions by hitting enter
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 04:57 min
>> > [INFO] Finished at: 2020-03-26T20:45:22+01:00
>> > [INFO] Final Memory: 22M/84M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > mvn release:perform
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 04:04 min
>> > [INFO] Finished at: 2020-03-26T20:49:58+01:00
>> > [INFO] Final Memory: 18M/77M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > ---------------------------------------------------------------
>> > Release Typedefs
>> > ---------------------------------------------------------------
>> >
>> > Branch:
>> > ---------------------------
>> > mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
>> > -DbranchName=release-test/0.9.8
>> > Just press enter on every question Maven asks you ...
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 01:09 min
>> > [INFO] Finished at: 2020-03-26T20:58:28+01:00
>> > [INFO] Final Memory: 26M/100M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> >
>> > Release:
>> > ---------------------------
>> > git checkout release-test/0.9.8
>> >
>> > edit the pom.xml and update the compiler version to the released
>> versions
>> > (Cut off the "-SNAPSHOT")
>> >
>> > commit and push the changes
>> >
>> > mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
>> > -Dtag=org.apache.royale.typedefs-0.9.8-rc1
>> > Select the suggested versions by hitting enter
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 02:37 min
>> > [INFO] Finished at: 2020-03-26T21:08:13+01:00
>> > [INFO] Final Memory: 26M/60M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > mvn release:perform
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 56.749 s
>> > [INFO] Finished at: 2020-03-26T21:14:44+01:00
>> > [INFO] Final Memory: 23M/90M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > ---------------------------------------------------------------
>> > Release Framework
>> > ---------------------------------------------------------------
>> >
>> > Branch:
>> > ---------------------------
>> > mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> > release:branch -DautoVersionSubmodules=true
>> -DbranchName=release-test/0.9.8
>> > Just press enter on every question Maven asks you ...
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 05:51 min
>> > [INFO] Finished at: 2020-03-26T21:25:56+01:00
>> > [INFO] Final Memory: 58M/207M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> >
>> > Release:
>> > ---------------------------
>> > git checkout release-test/0.9.8
>> >
>> > edit the pom.xml and update the compiler- and typedefs versions to
>> the
>> > released versions (Cut off the "-SNAPSHOT")
>> >
>> > commit and push the changes
>> >
>> > mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> > release:prepare -DautoVersionSubmodules=true
>> > -Dtag=org.apache.royale.asjs-0.9.8-rc1
>> > Select the suggested versions by hitting enter
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 25:38 min
>> > [INFO] Finished at: 2020-03-27T09:57:09+01:00
>> > [INFO] Final Memory: 63M/227M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > mvn release:perform
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 19:02 min
>> > [INFO] Finished at: 2020-03-27T10:16:44+01:00
>> > [INFO] Final Memory: 41M/150M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > ---------------------------------------------------------------
>> > DONE!
>> >
>> > I did a clean fork for this and updated the SCM and
>> distributionManagement
>> > to use my github fork and my private Nexus for deployment … it
>> worked great
>> > (After fixing 1-2 things in the ASJS repo … which weren’t found
>> earlier as
>> > we never got this far). Also did I do a fake 0.9.8 release as my
>> fork of
>> > the official repo had lots of relics from previous 0.9.7 release
>> attempts.
>> > So don’t be confused ;-)
>> >
>> > The Net execution time of all steps were 1:04:36 … add a few
>> minutes for
>> > switching branches, changing pom-versions and stuff like that …
>> >
>> > So is this the thing you folks were asking for?
>> >
>> > Chris
>> >
>> >
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Instructions for releasing with Maven
Posted by Carlos Rovira <ca...@apache.org>.
Hi,
just started this wiki page based on Chris instructions in this thread [1]
will be update to improve formatting and anything that could ease even more
the current info
[1]
https://github.com/apache/royale-asjs/wiki/Release-Manager-(New-to-be-tested)
El vie., 27 mar. 2020 a las 11:52, Carlos Rovira (<ca...@apache.org>)
escribió:
> I think after this release this would be good to bring and discuss, I
> think it would be a huge simplification for this project :)
>
> El vie., 27 mar. 2020 a las 10:48, Christofer Dutz (<
> christofer.dutz@c-ware.de>) escribió:
>
>> And let me add something ....
>>
>> If all three git repos were merged into one (No Git submodules don't work
>> as the tooling can't branch, commit push submodules) ... the release
>> process would boil down to this:
>>
>> 1) mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
>>
>> 2) git checkout release-test/0.9.8
>>
>> 3) mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> release:prepare -DautoVersionSubmodules=true
>> -Dtag=org.apache.royale.asjs-0.9.8-rc1
>>
>> 4) mvn release:perform
>>
>> However I would need to refactor the royale-maven-plugin in order to do
>> that. But I'd be happy to do it.
>>
>> Chris
>>
>>
>>
>> Am 27.03.20, 10:39 schrieb "Carlos Rovira" <ca...@apache.org>:
>>
>> Many thanks Chris :)
>>
>> I think this is what Alex asked for.
>> If Alex is ok, and Yishay wants to let me to try, I can
>> start official 0.9.7 in few hours
>>
>> Thanks!
>>
>>
>>
>> El vie., 27 mar. 2020 a las 10:29, Christofer Dutz (<
>> christofer.dutz@c-ware.de>) escribió:
>>
>> > Hi All,
>> >
>> > As I don’t have access to a WIKI … here comes a step by step guide
>> for
>> > releasing Royale with Maven:
>> >
>> > Prepare:
>> > export
>> >
>> FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
>> > Player.app/Contents/MacOS/Flash Player Debugger"
>> >
>> > ---------------------------------------------------------------
>> > Release Compiler
>> > ---------------------------------------------------------------
>> >
>> > Branch:
>> > ---------------------------
>> > mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
>> > -DbranchName=release-test/0.9.8
>> > Just press enter on every question Maven asks you ...
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 21.963 s
>> > [INFO] Finished at: 2020-03-26T20:39:53+01:00
>> > [INFO] Final Memory: 18M/77M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> >
>> > Release:
>> > ---------------------------
>> > git checkout release-test/0.9.8
>> >
>> > mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
>> > -Dtag=org.apache.royale.compiler-0.9.8-rc1
>> > Select the suggested versions by hitting enter
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 04:57 min
>> > [INFO] Finished at: 2020-03-26T20:45:22+01:00
>> > [INFO] Final Memory: 22M/84M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > mvn release:perform
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 04:04 min
>> > [INFO] Finished at: 2020-03-26T20:49:58+01:00
>> > [INFO] Final Memory: 18M/77M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > ---------------------------------------------------------------
>> > Release Typedefs
>> > ---------------------------------------------------------------
>> >
>> > Branch:
>> > ---------------------------
>> > mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
>> > -DbranchName=release-test/0.9.8
>> > Just press enter on every question Maven asks you ...
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 01:09 min
>> > [INFO] Finished at: 2020-03-26T20:58:28+01:00
>> > [INFO] Final Memory: 26M/100M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> >
>> > Release:
>> > ---------------------------
>> > git checkout release-test/0.9.8
>> >
>> > edit the pom.xml and update the compiler version to the released
>> versions
>> > (Cut off the "-SNAPSHOT")
>> >
>> > commit and push the changes
>> >
>> > mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
>> > -Dtag=org.apache.royale.typedefs-0.9.8-rc1
>> > Select the suggested versions by hitting enter
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 02:37 min
>> > [INFO] Finished at: 2020-03-26T21:08:13+01:00
>> > [INFO] Final Memory: 26M/60M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > mvn release:perform
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 56.749 s
>> > [INFO] Finished at: 2020-03-26T21:14:44+01:00
>> > [INFO] Final Memory: 23M/90M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > ---------------------------------------------------------------
>> > Release Framework
>> > ---------------------------------------------------------------
>> >
>> > Branch:
>> > ---------------------------
>> > mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> > release:branch -DautoVersionSubmodules=true
>> -DbranchName=release-test/0.9.8
>> > Just press enter on every question Maven asks you ...
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 05:51 min
>> > [INFO] Finished at: 2020-03-26T21:25:56+01:00
>> > [INFO] Final Memory: 58M/207M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> >
>> > Release:
>> > ---------------------------
>> > git checkout release-test/0.9.8
>> >
>> > edit the pom.xml and update the compiler- and typedefs versions to
>> the
>> > released versions (Cut off the "-SNAPSHOT")
>> >
>> > commit and push the changes
>> >
>> > mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> > release:prepare -DautoVersionSubmodules=true
>> > -Dtag=org.apache.royale.asjs-0.9.8-rc1
>> > Select the suggested versions by hitting enter
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 25:38 min
>> > [INFO] Finished at: 2020-03-27T09:57:09+01:00
>> > [INFO] Final Memory: 63M/227M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > mvn release:perform
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESS
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 19:02 min
>> > [INFO] Finished at: 2020-03-27T10:16:44+01:00
>> > [INFO] Final Memory: 41M/150M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > ---------------------------------------------------------------
>> > DONE!
>> >
>> > I did a clean fork for this and updated the SCM and
>> distributionManagement
>> > to use my github fork and my private Nexus for deployment … it
>> worked great
>> > (After fixing 1-2 things in the ASJS repo … which weren’t found
>> earlier as
>> > we never got this far). Also did I do a fake 0.9.8 release as my
>> fork of
>> > the official repo had lots of relics from previous 0.9.7 release
>> attempts.
>> > So don’t be confused ;-)
>> >
>> > The Net execution time of all steps were 1:04:36 … add a few
>> minutes for
>> > switching branches, changing pom-versions and stuff like that …
>> >
>> > So is this the thing you folks were asking for?
>> >
>> > Chris
>> >
>> >
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Instructions for releasing with Maven
Posted by Carlos Rovira <ca...@apache.org>.
I think after this release this would be good to bring and discuss, I think
it would be a huge simplification for this project :)
El vie., 27 mar. 2020 a las 10:48, Christofer Dutz (<
christofer.dutz@c-ware.de>) escribió:
> And let me add something ....
>
> If all three git repos were merged into one (No Git submodules don't work
> as the tooling can't branch, commit push submodules) ... the release
> process would boil down to this:
>
> 1) mvn -P with-distribution,with-examples,with-manualtests,option-with-swf
> release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
>
> 2) git checkout release-test/0.9.8
>
> 3) mvn -P with-distribution,with-examples,with-manualtests,option-with-swf
> release:prepare -DautoVersionSubmodules=true
> -Dtag=org.apache.royale.asjs-0.9.8-rc1
>
> 4) mvn release:perform
>
> However I would need to refactor the royale-maven-plugin in order to do
> that. But I'd be happy to do it.
>
> Chris
>
>
>
> Am 27.03.20, 10:39 schrieb "Carlos Rovira" <ca...@apache.org>:
>
> Many thanks Chris :)
>
> I think this is what Alex asked for.
> If Alex is ok, and Yishay wants to let me to try, I can
> start official 0.9.7 in few hours
>
> Thanks!
>
>
>
> El vie., 27 mar. 2020 a las 10:29, Christofer Dutz (<
> christofer.dutz@c-ware.de>) escribió:
>
> > Hi All,
> >
> > As I don’t have access to a WIKI … here comes a step by step guide
> for
> > releasing Royale with Maven:
> >
> > Prepare:
> > export
> >
> FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
> > Player.app/Contents/MacOS/Flash Player Debugger"
> >
> > ---------------------------------------------------------------
> > Release Compiler
> > ---------------------------------------------------------------
> >
> > Branch:
> > ---------------------------
> > mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
> > -DbranchName=release-test/0.9.8
> > Just press enter on every question Maven asks you ...
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Total time: 21.963 s
> > [INFO] Finished at: 2020-03-26T20:39:53+01:00
> > [INFO] Final Memory: 18M/77M
> > [INFO]
> >
> ------------------------------------------------------------------------
> >
> >
> > Release:
> > ---------------------------
> > git checkout release-test/0.9.8
> >
> > mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
> > -Dtag=org.apache.royale.compiler-0.9.8-rc1
> > Select the suggested versions by hitting enter
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Total time: 04:57 min
> > [INFO] Finished at: 2020-03-26T20:45:22+01:00
> > [INFO] Final Memory: 22M/84M
> > [INFO]
> >
> ------------------------------------------------------------------------
> >
> > mvn release:perform
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Total time: 04:04 min
> > [INFO] Finished at: 2020-03-26T20:49:58+01:00
> > [INFO] Final Memory: 18M/77M
> > [INFO]
> >
> ------------------------------------------------------------------------
> >
> > ---------------------------------------------------------------
> > Release Typedefs
> > ---------------------------------------------------------------
> >
> > Branch:
> > ---------------------------
> > mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
> > -DbranchName=release-test/0.9.8
> > Just press enter on every question Maven asks you ...
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Total time: 01:09 min
> > [INFO] Finished at: 2020-03-26T20:58:28+01:00
> > [INFO] Final Memory: 26M/100M
> > [INFO]
> >
> ------------------------------------------------------------------------
> >
> >
> > Release:
> > ---------------------------
> > git checkout release-test/0.9.8
> >
> > edit the pom.xml and update the compiler version to the released
> versions
> > (Cut off the "-SNAPSHOT")
> >
> > commit and push the changes
> >
> > mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
> > -Dtag=org.apache.royale.typedefs-0.9.8-rc1
> > Select the suggested versions by hitting enter
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Total time: 02:37 min
> > [INFO] Finished at: 2020-03-26T21:08:13+01:00
> > [INFO] Final Memory: 26M/60M
> > [INFO]
> >
> ------------------------------------------------------------------------
> >
> > mvn release:perform
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Total time: 56.749 s
> > [INFO] Finished at: 2020-03-26T21:14:44+01:00
> > [INFO] Final Memory: 23M/90M
> > [INFO]
> >
> ------------------------------------------------------------------------
> >
> > ---------------------------------------------------------------
> > Release Framework
> > ---------------------------------------------------------------
> >
> > Branch:
> > ---------------------------
> > mvn -P
> with-distribution,with-examples,with-manualtests,option-with-swf
> > release:branch -DautoVersionSubmodules=true
> -DbranchName=release-test/0.9.8
> > Just press enter on every question Maven asks you ...
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Total time: 05:51 min
> > [INFO] Finished at: 2020-03-26T21:25:56+01:00
> > [INFO] Final Memory: 58M/207M
> > [INFO]
> >
> ------------------------------------------------------------------------
> >
> >
> > Release:
> > ---------------------------
> > git checkout release-test/0.9.8
> >
> > edit the pom.xml and update the compiler- and typedefs versions to
> the
> > released versions (Cut off the "-SNAPSHOT")
> >
> > commit and push the changes
> >
> > mvn -P
> with-distribution,with-examples,with-manualtests,option-with-swf
> > release:prepare -DautoVersionSubmodules=true
> > -Dtag=org.apache.royale.asjs-0.9.8-rc1
> > Select the suggested versions by hitting enter
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Total time: 25:38 min
> > [INFO] Finished at: 2020-03-27T09:57:09+01:00
> > [INFO] Final Memory: 63M/227M
> > [INFO]
> >
> ------------------------------------------------------------------------
> >
> > mvn release:perform
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Total time: 19:02 min
> > [INFO] Finished at: 2020-03-27T10:16:44+01:00
> > [INFO] Final Memory: 41M/150M
> > [INFO]
> >
> ------------------------------------------------------------------------
> >
> > ---------------------------------------------------------------
> > DONE!
> >
> > I did a clean fork for this and updated the SCM and
> distributionManagement
> > to use my github fork and my private Nexus for deployment … it
> worked great
> > (After fixing 1-2 things in the ASJS repo … which weren’t found
> earlier as
> > we never got this far). Also did I do a fake 0.9.8 release as my
> fork of
> > the official repo had lots of relics from previous 0.9.7 release
> attempts.
> > So don’t be confused ;-)
> >
> > The Net execution time of all steps were 1:04:36 … add a few minutes
> for
> > switching branches, changing pom-versions and stuff like that …
> >
> > So is this the thing you folks were asking for?
> >
> > Chris
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Instructions for releasing with Maven
Posted by Christofer Dutz <ch...@c-ware.de>.
And let me add something ....
If all three git repos were merged into one (No Git submodules don't work as the tooling can't branch, commit push submodules) ... the release process would boil down to this:
1) mvn -P with-distribution,with-examples,with-manualtests,option-with-swf release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
2) git checkout release-test/0.9.8
3) mvn -P with-distribution,with-examples,with-manualtests,option-with-swf release:prepare -DautoVersionSubmodules=true -Dtag=org.apache.royale.asjs-0.9.8-rc1
4) mvn release:perform
However I would need to refactor the royale-maven-plugin in order to do that. But I'd be happy to do it.
Chris
Am 27.03.20, 10:39 schrieb "Carlos Rovira" <ca...@apache.org>:
Many thanks Chris :)
I think this is what Alex asked for.
If Alex is ok, and Yishay wants to let me to try, I can
start official 0.9.7 in few hours
Thanks!
El vie., 27 mar. 2020 a las 10:29, Christofer Dutz (<
christofer.dutz@c-ware.de>) escribió:
> Hi All,
>
> As I don’t have access to a WIKI … here comes a step by step guide for
> releasing Royale with Maven:
>
> Prepare:
> export
> FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
> Player.app/Contents/MacOS/Flash Player Debugger"
>
> ---------------------------------------------------------------
> Release Compiler
> ---------------------------------------------------------------
>
> Branch:
> ---------------------------
> mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
> -DbranchName=release-test/0.9.8
> Just press enter on every question Maven asks you ...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 21.963 s
> [INFO] Finished at: 2020-03-26T20:39:53+01:00
> [INFO] Final Memory: 18M/77M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Release:
> ---------------------------
> git checkout release-test/0.9.8
>
> mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
> -Dtag=org.apache.royale.compiler-0.9.8-rc1
> Select the suggested versions by hitting enter
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 04:57 min
> [INFO] Finished at: 2020-03-26T20:45:22+01:00
> [INFO] Final Memory: 22M/84M
> [INFO]
> ------------------------------------------------------------------------
>
> mvn release:perform
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 04:04 min
> [INFO] Finished at: 2020-03-26T20:49:58+01:00
> [INFO] Final Memory: 18M/77M
> [INFO]
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------
> Release Typedefs
> ---------------------------------------------------------------
>
> Branch:
> ---------------------------
> mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
> -DbranchName=release-test/0.9.8
> Just press enter on every question Maven asks you ...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 01:09 min
> [INFO] Finished at: 2020-03-26T20:58:28+01:00
> [INFO] Final Memory: 26M/100M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Release:
> ---------------------------
> git checkout release-test/0.9.8
>
> edit the pom.xml and update the compiler version to the released versions
> (Cut off the "-SNAPSHOT")
>
> commit and push the changes
>
> mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
> -Dtag=org.apache.royale.typedefs-0.9.8-rc1
> Select the suggested versions by hitting enter
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 02:37 min
> [INFO] Finished at: 2020-03-26T21:08:13+01:00
> [INFO] Final Memory: 26M/60M
> [INFO]
> ------------------------------------------------------------------------
>
> mvn release:perform
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 56.749 s
> [INFO] Finished at: 2020-03-26T21:14:44+01:00
> [INFO] Final Memory: 23M/90M
> [INFO]
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------
> Release Framework
> ---------------------------------------------------------------
>
> Branch:
> ---------------------------
> mvn -P with-distribution,with-examples,with-manualtests,option-with-swf
> release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
> Just press enter on every question Maven asks you ...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 05:51 min
> [INFO] Finished at: 2020-03-26T21:25:56+01:00
> [INFO] Final Memory: 58M/207M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Release:
> ---------------------------
> git checkout release-test/0.9.8
>
> edit the pom.xml and update the compiler- and typedefs versions to the
> released versions (Cut off the "-SNAPSHOT")
>
> commit and push the changes
>
> mvn -P with-distribution,with-examples,with-manualtests,option-with-swf
> release:prepare -DautoVersionSubmodules=true
> -Dtag=org.apache.royale.asjs-0.9.8-rc1
> Select the suggested versions by hitting enter
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 25:38 min
> [INFO] Finished at: 2020-03-27T09:57:09+01:00
> [INFO] Final Memory: 63M/227M
> [INFO]
> ------------------------------------------------------------------------
>
> mvn release:perform
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 19:02 min
> [INFO] Finished at: 2020-03-27T10:16:44+01:00
> [INFO] Final Memory: 41M/150M
> [INFO]
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------
> DONE!
>
> I did a clean fork for this and updated the SCM and distributionManagement
> to use my github fork and my private Nexus for deployment … it worked great
> (After fixing 1-2 things in the ASJS repo … which weren’t found earlier as
> we never got this far). Also did I do a fake 0.9.8 release as my fork of
> the official repo had lots of relics from previous 0.9.7 release attempts.
> So don’t be confused ;-)
>
> The Net execution time of all steps were 1:04:36 … add a few minutes for
> switching branches, changing pom-versions and stuff like that …
>
> So is this the thing you folks were asking for?
>
> Chris
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Instructions for releasing with Maven
Posted by Carlos Rovira <ca...@apache.org>.
Many thanks Chris :)
I think this is what Alex asked for.
If Alex is ok, and Yishay wants to let me to try, I can
start official 0.9.7 in few hours
Thanks!
El vie., 27 mar. 2020 a las 10:29, Christofer Dutz (<
christofer.dutz@c-ware.de>) escribió:
> Hi All,
>
> As I don’t have access to a WIKI … here comes a step by step guide for
> releasing Royale with Maven:
>
> Prepare:
> export
> FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
> Player.app/Contents/MacOS/Flash Player Debugger"
>
> ---------------------------------------------------------------
> Release Compiler
> ---------------------------------------------------------------
>
> Branch:
> ---------------------------
> mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
> -DbranchName=release-test/0.9.8
> Just press enter on every question Maven asks you ...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 21.963 s
> [INFO] Finished at: 2020-03-26T20:39:53+01:00
> [INFO] Final Memory: 18M/77M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Release:
> ---------------------------
> git checkout release-test/0.9.8
>
> mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
> -Dtag=org.apache.royale.compiler-0.9.8-rc1
> Select the suggested versions by hitting enter
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 04:57 min
> [INFO] Finished at: 2020-03-26T20:45:22+01:00
> [INFO] Final Memory: 22M/84M
> [INFO]
> ------------------------------------------------------------------------
>
> mvn release:perform
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 04:04 min
> [INFO] Finished at: 2020-03-26T20:49:58+01:00
> [INFO] Final Memory: 18M/77M
> [INFO]
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------
> Release Typedefs
> ---------------------------------------------------------------
>
> Branch:
> ---------------------------
> mvn -P option-with-swf release:branch -DautoVersionSubmodules=true
> -DbranchName=release-test/0.9.8
> Just press enter on every question Maven asks you ...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 01:09 min
> [INFO] Finished at: 2020-03-26T20:58:28+01:00
> [INFO] Final Memory: 26M/100M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Release:
> ---------------------------
> git checkout release-test/0.9.8
>
> edit the pom.xml and update the compiler version to the released versions
> (Cut off the "-SNAPSHOT")
>
> commit and push the changes
>
> mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true
> -Dtag=org.apache.royale.typedefs-0.9.8-rc1
> Select the suggested versions by hitting enter
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 02:37 min
> [INFO] Finished at: 2020-03-26T21:08:13+01:00
> [INFO] Final Memory: 26M/60M
> [INFO]
> ------------------------------------------------------------------------
>
> mvn release:perform
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 56.749 s
> [INFO] Finished at: 2020-03-26T21:14:44+01:00
> [INFO] Final Memory: 23M/90M
> [INFO]
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------
> Release Framework
> ---------------------------------------------------------------
>
> Branch:
> ---------------------------
> mvn -P with-distribution,with-examples,with-manualtests,option-with-swf
> release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
> Just press enter on every question Maven asks you ...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 05:51 min
> [INFO] Finished at: 2020-03-26T21:25:56+01:00
> [INFO] Final Memory: 58M/207M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Release:
> ---------------------------
> git checkout release-test/0.9.8
>
> edit the pom.xml and update the compiler- and typedefs versions to the
> released versions (Cut off the "-SNAPSHOT")
>
> commit and push the changes
>
> mvn -P with-distribution,with-examples,with-manualtests,option-with-swf
> release:prepare -DautoVersionSubmodules=true
> -Dtag=org.apache.royale.asjs-0.9.8-rc1
> Select the suggested versions by hitting enter
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 25:38 min
> [INFO] Finished at: 2020-03-27T09:57:09+01:00
> [INFO] Final Memory: 63M/227M
> [INFO]
> ------------------------------------------------------------------------
>
> mvn release:perform
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 19:02 min
> [INFO] Finished at: 2020-03-27T10:16:44+01:00
> [INFO] Final Memory: 41M/150M
> [INFO]
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------
> DONE!
>
> I did a clean fork for this and updated the SCM and distributionManagement
> to use my github fork and my private Nexus for deployment … it worked great
> (After fixing 1-2 things in the ASJS repo … which weren’t found earlier as
> we never got this far). Also did I do a fake 0.9.8 release as my fork of
> the official repo had lots of relics from previous 0.9.7 release attempts.
> So don’t be confused ;-)
>
> The Net execution time of all steps were 1:04:36 … add a few minutes for
> switching branches, changing pom-versions and stuff like that …
>
> So is this the thing you folks were asking for?
>
> Chris
>
>
--
Carlos Rovira
http://about.me/carlosrovira