Setup your environment
- Install Java Development Kit 7 or 8. Make sure that $JAVA_HOME points to it.
- Install Maven 3 or newer. Make sure that mvn is in your $PATH and $M2_HOME points to its installation.
- Install Protocol Buffers Compiler (protoc) 2.5. Make sure that protoc is in your PATH. Note: You need to install version 2.5. Newer versions won't work.
- For C# support:
With these requirements met, the instructions below should work regardless of OS choice and command line interpreter
Cloning the repository
Committers
...
Code Block |
---|
language | powershell |
---|
title | Compiling REEF Java and .NET |
---|
|
msbuild $REEFSourcePath\lang\cs\Org.Apache.REEF.sln /p:Configuration="Release" /p:Platform="x64" |
To run tests in debug mode, go to folder $REEFSourcePath\lang\cs\ and build the projects with the command line:
Code Block |
---|
language | cpp |
---|
title | Build .Net in debug mode |
---|
|
msbuild |
to run tests, go to folder $REEFSourcePath\lang\cs\bin\x64\debug\Org.Apache.REEF.Tests, run command:
Code Block |
---|
language | c# |
---|
title | Build and run tests for .Net code |
---|
|
vstest.console.exe Org.Apache.REEF.Tests.dll /Platform:x64 |