Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: REEF-214

...

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

Java and .NET

The whole build is triggered via Maven:

Code Block
languagepowershell
titleCompiling REEF Java and .NET
mvn -PBridge -PDotNet clean install

Or, without tests:

Code Block
languagepowershell
titleCompiling REEF Java and .NET without Tests
mvn -TC1 -PBridge -PDotNet -DskipTests clean install

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"