Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Replaced build instructions with link to Github

Setup your environment

With these requirements met, the instructions below should work regardless of OS choice and command line interpreter   

Cloning the repository

Committers

...

Code Block
languagepowershell
titleCloning the REEF repository for everyone else
git clone git://git.apache.org/reef.git

Compiling

Java

...

build instructions

C# build instructions

 

REEF is built using Maven. Hence, a simple

Code Block
languagepowershell
titleCompiling REEF Java only
mvn clean install

 should suffice. Not that we have quite a few integration tests in the default build. Hence, you might be better off using

Code Block
languagepowershell
titleCompiling REEF Java without tests
mvn -TC1 -DskipTests clean install

This runs one thread per core (-TC1) and skips the tests (-DskipTests)

Note: You will see many exception printouts during the compilation of REEF with tests. Those are not, in fact, problems with the build: REEF guarantees that exceptions thrown on remote machines get serialized and shipped back to the Driver. We have extensive unit tests for that feature that produce the confusing printouts.

Java and .NET

REEF.NET depends on the Java side of it. This dependency is captured in the project Org.Apache.REEF.Bridge.Jar in the solution Org.Apache.REEF. Hence, REEF can be compiled directly in Visual Studio or, if you prefer, from the command line:

Code Block
languagepowershell
titleCompiling REEF Java and .NET
msbuild $REEFSourcePath\lang\cs\Org.Apache.REEF.sln /p:Configuration="Release" /p:Platform="x64"

Where $REEFSourcePath is the root folder after you clone the REEF source code from GIT.

To run Java and Net testing, reference Accepting Pull Requests