This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new df33559 Updated Release Manager Notes (markdown)
df33559 is described below
commit df33559a58d672f720be5825f47e2c561407518a
Author: aharui <[email protected]>
AuthorDate: Mon May 14 17:13:25 2018 +0000
Updated Release Manager Notes (markdown)
---
Release-Manager-Notes.md | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/Release-Manager-Notes.md b/Release-Manager-Notes.md
index d9a178e..cab14b0 100644
--- a/Release-Manager-Notes.md
+++ b/Release-Manager-Notes.md
@@ -105,6 +105,22 @@ And then import in GitBash via:
Then to build an RC, open a command prompt and run start-ssh-agent. Then you
should be able to run the releasecandidate.xml scripts.
+## Using Powershell
+
+There are articles on the internet about using Git and Powershell, but I found
that I could just use Git from Powershell without all of that setup.
+
+I first had to set the MAVEN_OPTS environment variable to make sure there is
enough heap space:
+
+`MAVEN_OPTS='-Xmx2048m -XX:-UseGCOverheadLimit'`
+
+Then, I opened a Powershell Window and ran:
+
+'"C:\Program Files\Git\cmd\start-ssh-agent.cmd"'
+
+For some reason, that causes the Powershell command to go away. I think
start-ssh-agent runs a command prompt shell afterwards instead of Powershell,
so that means that Powershell features go away. And because Powershell limits
to 9999 lines of console output and the build spits out many more lines than
that, having Powershell fork output to a file is useful. So I would launch
another Powershell window and run Ant in there, but pipe the output to a file
via:
+
+'ant -f releasecandidate.xml <options> | Tee-Object -file <path to log>'
+
## local.properties
It is recommended to create releases in a separate folder than your Git
working copies. Create an empty folder and create in it a local.properties
file. In local.properties, set:
--
To stop receiving notification emails like this one, please contact
[email protected].