Page tree
Skip to end of metadata
Go to start of metadata

This page describes how to setup PowerShell on Windows to support REEF builds.

Java

Make sure Java Development Kit 7 or 8 is installed and $JAVA_HOME points to its installation. Add the following to your PowerShell profile:

 

PowerShell Profile Snippet for Java

Maven

Make sure Maven 3 is installed and $M2_HOME points to the installation. Add following to your PowerShell profile:

PowerShell Profile Snippet for Maven

Git(Hub)

Install GitHub Desktop. Launch the GUI client once. Launch the GitHub Shell once. Then add the following to your PowerShell profile:

PowerShell Profile Snippet for GitHub

Managing Pull Requests (Committers only)

As a committer, you frequently need to checkout pull requests in order to check them. Add the following set of functions to your profile to ease that process:

PowerShell Function to checkout pull requests
PowerShell Function to rebase pull request onto apache master
PowerShell Function to merge pull request into master
PowerShell Function to push merged pull request into apache master and your local git repository master

With this sequence of functions in your profile, the process of reviewing and merging pull request will look as follows:

Checkout, review and merge pull request

Visual Studio

Install Visual Studio 2013. Then add the following to your PowerShell profile:

PowerShell Functions to Setup Visual Studio command line environment

With this in your profile you can start Visual Studio with:

Start Visual Studio

Building (and cleaning) REEF

Assuming $REEFSourcePath points to the right folder, the following two functions can be used to build and reliably clean REEF:

Build and Clean Functions

Verifying Release artifacts

We compute hashes for the releases using the GNU Core Utils. The functions below can be used to verify those hashes.

Hash Functions for PowerShell
  • No labels