You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by we...@apache.org on 2015/03/20 01:32:30 UTC

[5/5] incubator-reef git commit: [REEF-194] Merge the bridge into a single DLL

[REEF-194]  Merge the bridge into a single DLL

This merges the native and managed parts of the bridge into a single
DLL: `Org.Apache.REEF.Bridge.dll`. There is a NuGet for it

The change covers:
 * Move files in lang\cpp module into Org.Apache.REEF.sln as a project
   Org.Apache.REEF.Bridge. The dependency on Driver.dll should be set
   within Org.Apache.REEF.Bridge.sln
 * Create NuGet for the Org.Apache.REEF.Bridge.dll
 * From REEF.Client, reference jar file from lang\java\reef-bridge-java
   to remove the dependency on lang\reef-bridge
 * As the jar file doesn't contain the clr dll any more, modify libLoader to load clr dll properly.
 * Remove lang\cpp and lang\reef-bridge
 * Update and test REEF.client for E2E.

JIRA:
  [REEF-194] https://issues.apache.org/jira/browse/REEF-194
  [REEF-209] https://issues.apache.org/jira/browse/REEF-209

Pull Request:
  This closes #117


Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/492da34a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/492da34a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/492da34a

Branch: refs/heads/master
Commit: 492da34a0d666f8374c550fc7dab9ca2029e2bcb
Parents: 722d8c4
Author: Julia Wang <jw...@yahoo.com>
Authored: Wed Mar 18 13:55:50 2015 -0700
Committer: Markus Weimer <we...@apache.org>
Committed: Thu Mar 19 17:25:14 2015 -0700

----------------------------------------------------------------------
 lang/cpp/.gitignore                             |   7 -
 lang/cpp/reef-bridge-clr/pom.xml                | 150 ------
 .../Org.Apache.REEF.Bridge.Clr.csproj           |  66 ---
 .../ClrHandler/Properties/AssemblyInfo.cs       |  49 --
 .../ClrHandler/interface/IInteropReturnInfo.cs  |  30 --
 .../CSharp/ClrHandler/interface/ILogger.cs      |  37 --
 .../JavaClrBridge/ActiveContextClr2Java.cpp     | 110 -----
 .../AllocatedEvaluatorClr2Java.cpp              | 168 -------
 .../CppBridge/JavaClrBridge/AssemblyInfo.cpp    |  50 --
 .../CppBridge/JavaClrBridge/AssemblyUtil.cpp    |  53 --
 .../Cpp/CppBridge/JavaClrBridge/BinaryUtil.cpp  | 102 ----
 .../Cpp/CppBridge/JavaClrBridge/BinaryUtil.h    |  26 -
 .../JavaClrBridge/ClosedContextClr2Java.cpp     |  90 ----
 .../CppBridge/JavaClrBridge/Clr2JavaImpl.cpp    |  44 --
 .../Cpp/CppBridge/JavaClrBridge/Clr2JavaImpl.h  | 224 ---------
 .../CppBridge/JavaClrBridge/CommonUtilities.cpp |  55 ---
 .../CompletedEvaluatorClr2Java.cpp              |  62 ---
 .../JavaClrBridge/CompletedTaskClr2Java.cpp     |  73 ---
 .../JavaClrBridge/ContextMessageClr2Java.cpp    |  80 ---
 .../EvaluatorRequestorClr2Java.cpp              |  73 ---
 .../JavaClrBridge/FailedContextClr2Java.cpp     |  98 ----
 .../JavaClrBridge/FailedEvaluatorClr2Java.cpp   |  76 ---
 .../JavaClrBridge/FailedTaskClr2Java.cpp        |  83 ----
 .../JavaClrBridge/HttpServerClr2Java.cpp        | 139 ------
 .../CppBridge/JavaClrBridge/InteropAssemblies.h |  40 --
 .../CppBridge/JavaClrBridge/InteropLogger.cpp   |  50 --
 .../Cpp/CppBridge/JavaClrBridge/InteropLogger.h |  47 --
 .../JavaClrBridge/InteropReturnInfo.cpp         |  88 ----
 .../CppBridge/JavaClrBridge/InteropReturnInfo.h |  57 ---
 .../Cpp/CppBridge/JavaClrBridge/InteropUtil.cpp | 129 -----
 .../Cpp/CppBridge/JavaClrBridge/InteropUtil.h   |  65 ---
 .../CppBridge/JavaClrBridge/JavaClrBridge.cpp   | 492 -------------------
 .../Cpp/CppBridge/JavaClrBridge/JavaClrBridge.h |  33 --
 .../CppBridge/JavaClrBridge/JavaClrBridge.sln   |  58 ---
 .../JavaClrBridge/JavaClrBridge.vcxproj         | 174 -------
 .../JavaClrBridge/JavaClrBridge.vcxproj.filters | 104 ----
 .../CppBridge/JavaClrBridge/ManagedLogger.cpp   |  47 --
 .../main/Cpp/CppBridge/JavaClrBridge/ReadMe.txt |  57 ---
 .../JavaClrBridge/RunningTaskClr2Java.cpp       |  94 ----
 .../JavaClrBridge/SuspendedTaskClr2Java.cpp     |  87 ----
 .../JavaClrBridge/TaskMessageClr2Java.cpp       |  62 ---
 lang/cs/.gitignore                              |   3 +
 lang/cs/.nuget/finalizeNuspec.ps1               |   1 +
 .../Org.Apache.REEF.Bridge.JAR.csproj           |  27 +-
 .../ActiveContextClr2Java.cpp                   | 110 +++++
 .../AllocatedEvaluatorClr2Java.cpp              | 168 +++++++
 lang/cs/Org.Apache.REEF.Bridge/AssemblyInfo.cpp |  57 +++
 lang/cs/Org.Apache.REEF.Bridge/AssemblyUtil.cpp |  53 ++
 lang/cs/Org.Apache.REEF.Bridge/BinaryUtil.cpp   | 102 ++++
 lang/cs/Org.Apache.REEF.Bridge/BinaryUtil.h     |  26 +
 .../ClosedContextClr2Java.cpp                   |  90 ++++
 lang/cs/Org.Apache.REEF.Bridge/Clr2JavaImpl.h   | 223 +++++++++
 .../Org.Apache.REEF.Bridge/CommonUtilities.cpp  |  55 +++
 .../CompletedEvaluatorClr2Java.cpp              |  62 +++
 .../CompletedTaskClr2Java.cpp                   |  73 +++
 .../ContextMessageClr2Java.cpp                  |  80 +++
 .../EvaluatorRequestorClr2Java.cpp              |  73 +++
 .../FailedContextClr2Java.cpp                   |  98 ++++
 .../FailedEvaluatorClr2Java.cpp                 |  76 +++
 .../FailedTaskClr2Java.cpp                      |  83 ++++
 .../HttpServerClr2Java.cpp                      | 139 ++++++
 .../Org.Apache.REEF.Bridge/InteropAssemblies.h  |  40 ++
 .../cs/Org.Apache.REEF.Bridge/InteropLogger.cpp |  50 ++
 lang/cs/Org.Apache.REEF.Bridge/InteropLogger.h  |  47 ++
 .../InteropReturnInfo.cpp                       |  88 ++++
 .../Org.Apache.REEF.Bridge/InteropReturnInfo.h  |  57 +++
 lang/cs/Org.Apache.REEF.Bridge/InteropUtil.cpp  | 129 +++++
 lang/cs/Org.Apache.REEF.Bridge/InteropUtil.h    |  65 +++
 .../cs/Org.Apache.REEF.Bridge/JavaClrBridge.cpp | 492 +++++++++++++++++++
 lang/cs/Org.Apache.REEF.Bridge/JavaClrBridge.h  |  33 ++
 .../Org.Apache.REEF.Bridge.nuspec               |  22 +
 .../Org.Apache.REEF.Bridge.vcxproj              | 180 +++++++
 .../Org.Apache.REEF.Bridge.vcxproj.filters      | 136 +++++
 lang/cs/Org.Apache.REEF.Bridge/ReadMe.txt       |  57 +++
 .../RunningTaskClr2Java.cpp                     |  94 ++++
 lang/cs/Org.Apache.REEF.Bridge/Stdafx.cpp       |  24 +
 lang/cs/Org.Apache.REEF.Bridge/Stdafx.h         |  25 +
 .../SuspendedTaskClr2Java.cpp                   |  87 ++++
 .../TaskMessageClr2Java.cpp                     |  62 +++
 lang/cs/Org.Apache.REEF.Bridge/app.ico          | Bin 0 -> 11001 bytes
 lang/cs/Org.Apache.REEF.Bridge/app.rc           | Bin 0 -> 2558 bytes
 lang/cs/Org.Apache.REEF.Bridge/resource.h       |  22 +
 .../Org.Apache.REEF.Client/CLRBridgeClient.cs   |   4 +-
 .../Org.Apache.REEF.Client.csproj               |   4 +
 .../Bridge/ClrClientHelper.cs                   |   2 +-
 lang/cs/Org.Apache.REEF.Driver/Constants.cs     |   2 +-
 .../DriverConfigGenerator.cs                    |   2 +-
 .../InteropInterface/IInteropReturnInfo.cs      |  30 ++
 .../InteropInterface/ILogger.cs                 |  37 ++
 .../Org.Apache.REEF.Driver.csproj               |   2 +
 .../Functional/Bridge/TestBridgeClient.cs       |   2 +-
 .../Functional/ReefFunctionalTest.cs            |   2 +-
 .../Org.Apache.REEF.Tests.csproj                |   6 +-
 ...bridge-0.11.0-incubating-SNAPSHOT-shaded.jar | Bin 12748678 -> 0 bytes
 ...e-java-0.11.0-incubating-SNAPSHOT-shaded.jar | Bin 0 -> 13268150 bytes
 lang/cs/Org.Apache.REEF.sln                     | Bin 14450 -> 19860 bytes
 lang/cs/build.props                             |  23 -
 lang/cs/pom.xml                                 |  27 +-
 .../org/apache/reef/javabridge/LibLoader.java   |  93 ++--
 .../runtime/common/files/REEFFileNames.java     |  40 +-
 lang/reef-bridge/.gitignore                     |   3 -
 lang/reef-bridge/pom.xml                        | 139 ------
 pom.xml                                         |  19 +-
 103 files changed, 3476 insertions(+), 3899 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/.gitignore
----------------------------------------------------------------------
diff --git a/lang/cpp/.gitignore b/lang/cpp/.gitignore
deleted file mode 100644
index f0bf936..0000000
--- a/lang/cpp/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-**/*.sdf
-**/*.opensdf
-**/*.suo
-**/obj
-**/x64
-**/Debug
-reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/externals/Org.Apache.Reef.Driver.dll
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/pom.xml
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/pom.xml b/lang/cpp/reef-bridge-clr/pom.xml
deleted file mode 100644
index c66d11d..0000000
--- a/lang/cpp/reef-bridge-clr/pom.xml
+++ /dev/null
@@ -1,150 +0,0 @@
-<?xml version="1.0"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>reef-bridge-clr</artifactId>
-    <name>REEF Bridge CLR</name>
-    <description>Bridge between JVM and CLR.</description>
-
-
-    <parent>
-        <groupId>org.apache.reef</groupId>
-        <artifactId>reef-project</artifactId>
-        <version>0.11.0-incubating-SNAPSHOT</version>
-        <relativePath>../../..</relativePath>
-    </parent>
-
-
-    <dependencies>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>reef-common</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>reef-runtime-local</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>reef-runtime-yarn</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>reef-io</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>reef-checkpoint</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>reef-dotnet</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>reef-bridge-java</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.avro</groupId>
-            <artifactId>avro</artifactId>
-        </dependency>
-    </dependencies>
-
-    <profiles>
-        <profile>
-            <id>Bridge</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>exec-maven-plugin</artifactId>
-                        <configuration>
-                            <executable>msbuild.exe</executable>
-                        </configuration>
-                        <executions>
-                            <execution>
-                                <id>clean</id>
-                                <phase>clean</phase>
-                                <configuration>
-                                    <arguments>
-                                        <argument>
-                                            ${project.basedir}/src/main/Cpp/CppBridge/JavaClrBridge/JavaClrBridge.sln
-                                        </argument>
-                                        <argument>/p:Configuration="Release"</argument>
-                                        <argument>/p:Platform="x64"</argument>
-                                        <argument>/t:Clean</argument>
-                                    </arguments>
-                                </configuration>
-                                <goals>
-                                    <goal>exec</goal>
-                                </goals>
-                            </execution>
-                            <execution>
-                                <id>build</id>
-                                <phase>compile</phase>
-                                <configuration>
-                                    <arguments>
-                                        <argument>
-                                            ${project.basedir}/src/main/Cpp/CppBridge/JavaClrBridge/JavaClrBridge.sln
-                                        </argument>
-                                        <argument>/p:Configuration="Release"</argument>
-                                        <argument>/p:Platform="x64"</argument>
-                                    </arguments>
-                                </configuration>
-                                <goals>
-                                    <goal>exec</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <plugin>
-                        <artifactId>maven-resources-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>copy-external-dlls</id>
-                                <phase>process-resources</phase>
-                                <goals>
-                                    <goal>copy-resources</goal>
-                                </goals>
-                                <configuration>
-                                    <overwrite>true</overwrite>
-                                    <outputDirectory>${basedir}/target/classes</outputDirectory>
-                                    <resources>
-                                        <resource>
-                                            <directory>src/main/CSharp/CSharp/ClrHandler/externals</directory>
-                                        </resource>
-                                    </resources>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/Org.Apache.REEF.Bridge.Clr.csproj
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/Org.Apache.REEF.Bridge.Clr.csproj b/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/Org.Apache.REEF.Bridge.Clr.csproj
deleted file mode 100644
index b8b1e56..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/Org.Apache.REEF.Bridge.Clr.csproj
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{443A7B61-5C91-4F67-9FCD-81BC6FABFDBD}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Org.Apache.REEF.Bridge.Clr</RootNamespace>
-    <AssemblyName>Org.Apache.REEF.Bridge.Clr</AssemblyName>
-    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
-    <FileAlignment>512</FileAlignment>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>..\..\..\..\..\target\classes\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>..\..\..\..\..\target\classes\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup>
-    <SignAssembly>false</SignAssembly>
-  </PropertyGroup>
-  <PropertyGroup>
-    <AssemblyOriginatorKeyFile>
-    </AssemblyOriginatorKeyFile>
-  </PropertyGroup>
-  <ItemGroup>
-    <Reference Include="Org.Apache.Reef.Driver">
-      <HintPath>externals\Org.Apache.Reef.Driver</HintPath>
-      <Private>true</Private>
-    </Reference>
-    <Reference Include="System" />
-    <Reference Include="System.Core" />
-    <Reference Include="System.Runtime.Serialization" />
-    <Reference Include="System.Xml.Linq" />
-    <Reference Include="System.Data.DataSetExtensions" />
-    <Reference Include="Microsoft.CSharp" />
-    <Reference Include="System.Data" />
-    <Reference Include="System.Xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="interface\ILogger.cs" />
-    <Compile Include="interface\IInteropReturnInfo.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-  </ItemGroup>
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
-       Other similar extension points exist, see Microsoft.Common.targets.
-  <Target Name="BeforeBuild">
-  </Target>
-  <Target Name="AfterBuild">
-  </Target>
-  -->
-</Project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/Properties/AssemblyInfo.cs
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/Properties/AssemblyInfo.cs b/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/Properties/AssemblyInfo.cs
deleted file mode 100644
index ffbe4dd..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Org.Apache.REEF.Bridge.Clr")]
-[assembly: AssemblyDescription("The interface dll between CPP and CLR code")]
-[assembly: AssemblyProduct("Org.Apache.REEF.Bridge.Clr")]
-[assembly: AssemblyCopyright("Copyright ©  2014")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("3efe4d3c-087b-4076-b331-8f3e36c10016")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/interface/IInteropReturnInfo.cs
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/interface/IInteropReturnInfo.cs b/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/interface/IInteropReturnInfo.cs
deleted file mode 100644
index b3b930a..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/interface/IInteropReturnInfo.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-using System;
-
-namespace Microsoft.Reef.Interop
-{
-    public interface IInteropReturnInfo
-    {
-        void AddExceptionString(String exceptionString);       
-        Boolean HasExceptions();
-        void SetReturnCode(int rc);
-        int GetReturnCode();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/interface/ILogger.cs
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/interface/ILogger.cs b/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/interface/ILogger.cs
deleted file mode 100644
index 4a7f9b2..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/CSharp/CSharp/ClrHandler/interface/ILogger.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-using System;
-
-namespace Microsoft.Reef.Interop
-{
-    public enum TraceLevel : int
-    {
-        NoTrace = Int32.MaxValue,
-
-        Error = 1000,
-        Warning = 900,
-        Info = 800,
-        Verbose = 300, 
-    }
-
-    public interface ILogger
-    {
-        void Log(TraceLevel traceLevel, String message);
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ActiveContextClr2Java.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ActiveContextClr2Java.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ActiveContextClr2Java.cpp
deleted file mode 100644
index 6e56806..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ActiveContextClr2Java.cpp
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "Clr2JavaImpl.h"
-
-namespace Org {
-	namespace Apache {
-		namespace REEF {
-			namespace Driver {
-				namespace Bridge {
-					namespace Clr2java {
-						private ref class ManagedLog {
-						internal:
-							static BridgeLogger^ LOGGER = BridgeLogger::GetLogger("<C++>");
-						};
-
-						ActiveContextClr2Java::ActiveContextClr2Java(JNIEnv *env, jobject jobjectActiveContext) {
-							ManagedLog::LOGGER->LogStart("ActiveContextClr2Java::ActiveContextClr2Java");
-							pin_ptr<JavaVM*> pJavaVm = &_jvm;
-							if (env->GetJavaVM(pJavaVm) != 0) {
-								ManagedLog::LOGGER->LogError("Failed to get JavaVM", nullptr);
-							}
-
-							_jobjectActiveContext = reinterpret_cast<jobject>(env->NewGlobalRef(jobjectActiveContext));
-
-							jclass jclassActiveContext = env->GetObjectClass(_jobjectActiveContext);
-
-							jfieldID jidContextId = env->GetFieldID(jclassActiveContext, "contextId", "Ljava/lang/String;");
-							_jstringId = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectActiveContext, jidContextId)));
-
-							jfieldID jidEvaluatorId = env->GetFieldID(jclassActiveContext, "evaluatorId", "Ljava/lang/String;");
-							_jstringEvaluatorId = (jstring)env->GetObjectField(_jobjectActiveContext, jidEvaluatorId);
-							_jstringEvaluatorId = reinterpret_cast<jstring>(env->NewGlobalRef(_jstringEvaluatorId));
-
-							ManagedLog::LOGGER->LogStop("ActiveContextClr2Java::ActiveContextClr2Java");
-						}
-
-						void ActiveContextClr2Java::SubmitTask(String^ taskConfigStr) {
-							ManagedLog::LOGGER->LogStart("ActiveContextClr2Java::SubmitTask");
-							JNIEnv *env = RetrieveEnv(_jvm);
-							jclass jclassActiveContext = env->GetObjectClass(_jobjectActiveContext);
-							jmethodID jmidSubmitTask = env->GetMethodID(jclassActiveContext, "submitTaskString", "(Ljava/lang/String;)V");
-
-							if (jmidSubmitTask == NULL) {
-								ManagedLog::LOGGER->Log("jmidSubmitTask is NULL");
-								return;
-							}
-							env->CallObjectMethod(
-								_jobjectActiveContext,
-								jmidSubmitTask,
-								JavaStringFromManagedString(env, taskConfigStr));
-							ManagedLog::LOGGER->LogStop("ActiveContextClr2Java::SubmitTask");
-						}
-
-						void ActiveContextClr2Java::OnError(String^ message) {
-							JNIEnv *env = RetrieveEnv(_jvm);
-							HandleClr2JavaError(env, message, _jobjectActiveContext);
-						}
-
-						void ActiveContextClr2Java::Close() {
-							ManagedLog::LOGGER->LogStart("ActiveContextClr2Java::Close");
-							JNIEnv *env = RetrieveEnv(_jvm);
-							jclass jclassActiveContext = env->GetObjectClass(_jobjectActiveContext);
-							jmethodID jmidClose = env->GetMethodID(jclassActiveContext, "close", "()V");
-
-							if (jmidClose == NULL) {
-								ManagedLog::LOGGER->Log("jmidClose is NULL");
-								return;
-							}
-							env->CallObjectMethod(
-								_jobjectActiveContext,
-								jmidClose);
-							ManagedLog::LOGGER->LogStop("ActiveContextClr2Java::Close");
-						}
-
-						String^ ActiveContextClr2Java::GetId() {
-							JNIEnv *env = RetrieveEnv(_jvm);
-							return ManagedStringFromJavaString(env, _jstringId);
-						}
-
-						String^ ActiveContextClr2Java::GetEvaluatorId() {
-							JNIEnv *env = RetrieveEnv(_jvm);
-							return ManagedStringFromJavaString(env, _jstringEvaluatorId);
-						}
-
-						IEvaluatorDescriptor^ ActiveContextClr2Java::GetEvaluatorDescriptor() {
-							ManagedLog::LOGGER->LogStart("ActiveContextClr2Java::GetEvaluatorDescriptor");
-							return CommonUtilities::RetrieveEvaluatorDescriptor(_jobjectActiveContext, _jvm);
-						}
-					}
-				}
-			}
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AllocatedEvaluatorClr2Java.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AllocatedEvaluatorClr2Java.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AllocatedEvaluatorClr2Java.cpp
deleted file mode 100644
index 4dabd96..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AllocatedEvaluatorClr2Java.cpp
+++ /dev/null
@@ -1,168 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "Clr2JavaImpl.h"
-
-using namespace JavaClrBridge;
-
-namespace Org {
-  namespace Apache {
-	  namespace REEF {
-		  namespace Driver {
-			  namespace Bridge {
-				  namespace Clr2java {
-					  ref class ManagedLog {
-					  internal:
-						  static BridgeLogger^ LOGGER = BridgeLogger::GetLogger("<C++>");
-					  };
-
-					  AllocatedEvaluatorClr2Java::AllocatedEvaluatorClr2Java(JNIEnv *env, jobject jallocatedEvaluator) {
-
-						  ManagedLog::LOGGER->LogStart("AllocatedEvaluatorClr2Java::AllocatedEvaluatorClr2Java");
-
-						  pin_ptr<JavaVM*> pJavaVm = &_jvm;
-						  if (env->GetJavaVM(pJavaVm) != 0) {
-							  ManagedLog::LOGGER->LogError("Failed to get JavaVM", nullptr);
-						  }
-						  _jobjectAllocatedEvaluator = reinterpret_cast<jobject>(env->NewGlobalRef(jallocatedEvaluator));
-
-						  jclass jclassAllocatedEvaluator = env->GetObjectClass(_jobjectAllocatedEvaluator);
-						  jfieldID jidEvaluatorId = env->GetFieldID(jclassAllocatedEvaluator, "evaluatorId", "Ljava/lang/String;");
-						  _jstringId = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectAllocatedEvaluator, jidEvaluatorId)));
-
-						  jfieldID jidNameServerInfo = env->GetFieldID(jclassAllocatedEvaluator, "nameServerInfo", "Ljava/lang/String;");
-						  _jstringNameServerInfo = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectAllocatedEvaluator, jidNameServerInfo)));
-
-						  ManagedLog::LOGGER->LogStop("AllocatedEvaluatorClr2Java::AllocatedEvaluatorClr2Java");
-					  }
-
-					  void AllocatedEvaluatorClr2Java::SubmitContext(String^ contextConfigStr) {
-						  ManagedLog::LOGGER->LogStart("AllocatedEvaluatorClr2Java::SubmitContext");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  jclass jclassAllocatedEvaluator = env->GetObjectClass(_jobjectAllocatedEvaluator);
-						  jmethodID jmidSubmitContext = env->GetMethodID(jclassAllocatedEvaluator, "submitContextString", "(Ljava/lang/String;)V");
-
-						  if (jmidSubmitContext == NULL) {
-							  ManagedLog::LOGGER->Log("jmidSubmitContext is NULL");
-							  return;
-						  }
-						  env->CallObjectMethod(
-							  _jobjectAllocatedEvaluator,
-							  jmidSubmitContext,
-							  JavaStringFromManagedString(env, contextConfigStr));
-						  ManagedLog::LOGGER->LogStop("AllocatedEvaluatorClr2Java::SubmitContext");
-					  }
-
-					  void AllocatedEvaluatorClr2Java::SubmitContextAndTask(String^ contextConfigStr, String^ taskConfigStr) {
-						  ManagedLog::LOGGER->LogStart("AllocatedEvaluatorClr2Java::SubmitContextAndTask");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  jclass jclassAllocatedEvaluator = env->GetObjectClass(_jobjectAllocatedEvaluator);
-						  jmethodID jmidSubmitContextAndTask = env->GetMethodID(jclassAllocatedEvaluator, "submitContextAndTaskString", "(Ljava/lang/String;Ljava/lang/String;)V");
-
-						  if (jmidSubmitContextAndTask == NULL) {
-							  ManagedLog::LOGGER->Log("jmidSubmitContextAndTask is NULL");
-							  return;
-						  }
-						  env->CallObjectMethod(
-							  _jobjectAllocatedEvaluator,
-							  jmidSubmitContextAndTask,
-							  JavaStringFromManagedString(env, contextConfigStr),
-							  JavaStringFromManagedString(env, taskConfigStr));
-						  ManagedLog::LOGGER->LogStop("AllocatedEvaluatorClr2Java::SubmitContextAndTask");
-					  }
-
-					  void AllocatedEvaluatorClr2Java::SubmitContextAndService(String^ contextConfigStr, String^ serviceConfigStr) {
-						  ManagedLog::LOGGER->LogStart("AllocatedEvaluatorClr2Java::SubmitContextAndService");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  jclass jclassAllocatedEvaluator = env->GetObjectClass(_jobjectAllocatedEvaluator);
-						  jmethodID jmidSubmitContextAndService = env->GetMethodID(jclassAllocatedEvaluator, "submitContextAndServiceString", "(Ljava/lang/String;Ljava/lang/String;)V");
-
-						  if (jmidSubmitContextAndService == NULL) {
-							  ManagedLog::LOGGER->Log("jmidSubmitContextAndService is NULL");
-							  return;
-						  }
-						  env->CallObjectMethod(
-							  _jobjectAllocatedEvaluator,
-							  jmidSubmitContextAndService,
-							  JavaStringFromManagedString(env, contextConfigStr),
-							  JavaStringFromManagedString(env, serviceConfigStr));
-						  ManagedLog::LOGGER->LogStop("AllocatedEvaluatorClr2Java::SubmitContextAndService");
-					  }
-
-					  void AllocatedEvaluatorClr2Java::SubmitContextAndServiceAndTask(String^ contextConfigStr, String^ serviceConfigStr, String^ taskConfigStr) {
-						  ManagedLog::LOGGER->LogStart("AllocatedEvaluatorClr2Java::SubmitContextAndServiceAndTask");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  jclass jclassAllocatedEvaluator = env->GetObjectClass(_jobjectAllocatedEvaluator);
-						  jmethodID jmidSubmitContextAndServiceAndTask = env->GetMethodID(jclassAllocatedEvaluator, "submitContextAndServiceAndTaskString", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V");
-
-						  if (jmidSubmitContextAndServiceAndTask == NULL) {
-							  ManagedLog::LOGGER->Log("jmidSubmitContextAndServiceAndTask is NULL");
-							  return;
-						  }
-						  env->CallObjectMethod(
-							  _jobjectAllocatedEvaluator,
-							  jmidSubmitContextAndServiceAndTask,
-							  JavaStringFromManagedString(env, contextConfigStr),
-							  JavaStringFromManagedString(env, serviceConfigStr),
-							  JavaStringFromManagedString(env, taskConfigStr));
-						  ManagedLog::LOGGER->LogStop("AllocatedEvaluatorClr2Java::SubmitContextAndServiceAndTask");
-					  }
-
-					  void AllocatedEvaluatorClr2Java::OnError(String^ message) {
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  HandleClr2JavaError(env, message, _jobjectAllocatedEvaluator);
-					  }
-
-					  void AllocatedEvaluatorClr2Java::Close() {
-						  ManagedLog::LOGGER->LogStart("AllocatedEvaluatorClr2Java::Close");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  jclass jclassAllocatedEvaluator = env->GetObjectClass(_jobjectAllocatedEvaluator);
-						  jmethodID jmidClose = env->GetMethodID(jclassAllocatedEvaluator, "close", "()V");
-
-						  if (jmidClose == NULL) {
-							  ManagedLog::LOGGER->Log("jmidClose is NULL");
-							  return;
-						  }
-						  env->CallObjectMethod(
-							  _jobjectAllocatedEvaluator,
-							  jmidClose);
-						  ManagedLog::LOGGER->LogStop("AllocatedEvaluatorClr2Java::Close");
-					  }
-
-					  String^ AllocatedEvaluatorClr2Java::GetId() {
-						  ManagedLog::LOGGER->Log("AllocatedEvaluatorClr2Java::GetId");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedStringFromJavaString(env, _jstringId);
-					  }
-
-					  String^ AllocatedEvaluatorClr2Java::GetNameServerInfo() {
-						  ManagedLog::LOGGER->Log("AllocatedEvaluatorClr2Java::GetNameServerInfo");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedStringFromJavaString(env, _jstringNameServerInfo);
-					  }
-
-					  IEvaluatorDescriptor^ AllocatedEvaluatorClr2Java::GetEvaluatorDescriptor() {
-						  ManagedLog::LOGGER->LogStart("AllocatedEvaluatorClr2Java::GetEvaluatorDescriptor");
-						  return CommonUtilities::RetrieveEvaluatorDescriptor(_jobjectAllocatedEvaluator, _jvm);
-					  }
-				  }
-			  }
-		  }
-	  }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AssemblyInfo.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AssemblyInfo.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AssemblyInfo.cpp
deleted file mode 100644
index f6c3178..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AssemblyInfo.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-using namespace System;
-using namespace System::Reflection;
-using namespace System::Runtime::CompilerServices;
-using namespace System::Runtime::InteropServices;
-using namespace System::Security::Permissions;
-
-//
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-//
-[assembly:AssemblyTitleAttribute("JavaClrBridge")];
-[assembly:AssemblyProductAttribute("JavaClrBridge")];
-[assembly:AssemblyCopyrightAttribute("Copyright (c)  2014")];
-//
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version
-//      Build Number
-//      Revision
-//
-// You can specify all the value or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-
-[assembly:AssemblyVersionAttribute("1.0.*")];
-
-[assembly:ComVisible(false)];
-
-[assembly:CLSCompliantAttribute(true)];
-
-[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AssemblyUtil.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AssemblyUtil.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AssemblyUtil.cpp
deleted file mode 100644
index ce9239c..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/AssemblyUtil.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "InteropAssemblies.h"
-
-
-void AssemblyUtil::Add(Assembly^  myasm) {
-  if (0 == _asmCount) {
-    //asm1 = myasm;
-    AppDomain^ currentDomain = AppDomain::CurrentDomain;
-    currentDomain->AssemblyResolve += gcnew ResolveEventHandler(&MyResolveEventHandler);
-  }
-  String^ asmName = myasm->FullName->ToLower();
-  Assembly^ existingAsm = nullptr;
-  if (!asms2->TryGetValue(asmName, existingAsm)) {
-    Console::WriteLine ("AssemblyUtil:: Adding " + asmName);
-    asms2->Add(asmName , myasm);
-    ++_asmCount;
-  }
-}
-
-Assembly^ AssemblyUtil::FindAsm (String^ myasm) {
-  Assembly^ returnAsm = nullptr;
-  if (!asms2->TryGetValue(myasm->ToLower(), returnAsm)) {
-    Console::WriteLine ("AssemblyUtil:: FindAsm_Not_Found " + myasm->ToString());
-  }
-  return returnAsm;
-}
-
-Assembly^ AssemblyUtil::MyResolveEventHandler(Object^ sender, ResolveEventArgs^ args) {
-  Console::WriteLine ("AssemblyUtil:: Resolving " + args->Name);
-  Assembly^ myAsm = AssemblyUtil::FindAsm(args->Name);
-  if (nullptr != myAsm) {
-    Console::WriteLine ("AssemblyUtil:: Found " + args->Name);
-  }
-  return myAsm ;
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/BinaryUtil.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/BinaryUtil.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/BinaryUtil.cpp
deleted file mode 100644
index b7c3a2e..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/BinaryUtil.cpp
+++ /dev/null
@@ -1,102 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "InteropUtil.h"
-#include "BinaryUtil.h"
-
-DWORD GetActualAddressFromRVA(IMAGE_SECTION_HEADER* pSectionHeader, IMAGE_NT_HEADERS* pNTHeaders, DWORD dwRVA) {
-  DWORD dwRet = 0;
-
-  for (int j = 0; j < pNTHeaders->FileHeader.NumberOfSections; j++, pSectionHeader++) {
-    DWORD cbMaxOnDisk = min( pSectionHeader->Misc.VirtualSize, pSectionHeader->SizeOfRawData );
-
-    DWORD startSectRVA, endSectRVA;
-
-    startSectRVA = pSectionHeader->VirtualAddress;
-    endSectRVA = startSectRVA + cbMaxOnDisk;
-
-    if ( (dwRVA >= startSectRVA) && (dwRVA < endSectRVA)) {
-      dwRet =  (pSectionHeader->PointerToRawData ) + (dwRVA - startSectRVA);
-      break;
-    }
-
-  }
-
-  return dwRet;
-}
-
-
-BINARY_TYPE IsManagedBinary(const wchar_t*  lpszImageName) {
-  BINARY_TYPE binaryType = BINARY_TYPE_NONE;
-  HANDLE hFile = CreateFile(lpszImageName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
-
-  if (INVALID_HANDLE_VALUE != hFile) {
-    //succeeded
-    HANDLE hOpenFileMapping = CreateFileMapping(hFile, NULL, PAGE_READONLY, 0, 0, NULL);
-    if (hOpenFileMapping) {
-      BYTE* lpBaseAddress = NULL;
-
-      lpBaseAddress = (BYTE*)MapViewOfFile(hOpenFileMapping, FILE_MAP_READ, 0, 0, 0);
-
-      if (lpBaseAddress) {
-        //having mapped the executable to our process space, now start navigating through the sections
-
-        //DOS header is straightforward. It is the topmost structure in the PE file
-        //i.e. the one at the lowest offset into the file
-        IMAGE_DOS_HEADER* pDOSHeader = (IMAGE_DOS_HEADER*)lpBaseAddress;
-
-        //the only important data in the DOS header is the e_lfanew
-        //the e_lfanew points to the offset of the beginning of NT Headers data
-        IMAGE_NT_HEADERS* pNTHeaders = (IMAGE_NT_HEADERS*)((BYTE*)pDOSHeader + pDOSHeader->e_lfanew);
-
-        IMAGE_SECTION_HEADER* pSectionHeader = (IMAGE_SECTION_HEADER*)((BYTE*)pNTHeaders + sizeof(IMAGE_NT_HEADERS));
-
-        //Now, start parsing
-        //check if it is a PE file
-
-        if (pNTHeaders->Signature == IMAGE_NT_SIGNATURE) {
-          //start parsing COM table
-
-          DWORD dwNETHeaderTableLocation = pNTHeaders->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR].VirtualAddress;
-
-          if (dwNETHeaderTableLocation) {
-            //import data does exist for this module
-            IMAGE_COR20_HEADER* pNETHeader = (IMAGE_COR20_HEADER*)((BYTE*)pDOSHeader + GetActualAddressFromRVA(pSectionHeader, pNTHeaders, dwNETHeaderTableLocation));
-
-            if (pNETHeader) {
-              binaryType = BINARY_TYPE_CLR;
-            }
-            else {
-              binaryType = BINARY_TYPE_NATIVE;
-            }
-          }
-          else {
-            binaryType = BINARY_TYPE_NATIVE;
-          }
-        }
-        else {
-          binaryType = BINARY_TYPE_NONE;
-        }
-        UnmapViewOfFile(lpBaseAddress);
-      }
-      CloseHandle(hOpenFileMapping);
-    }
-    CloseHandle(hFile);
-  }
-  return binaryType;
-}

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/BinaryUtil.h
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/BinaryUtil.h b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/BinaryUtil.h
deleted file mode 100644
index dc946a6..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/BinaryUtil.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-typedef enum BINARY_TYPE {
-  BINARY_TYPE_NONE = 0,
-  BINARY_TYPE_NATIVE = 1,
-  BINARY_TYPE_CLR = 2,
-} BINARY_TYPE ;
-
-
-BINARY_TYPE IsManagedBinary(const wchar_t* lpszImageName);

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ClosedContextClr2Java.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ClosedContextClr2Java.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ClosedContextClr2Java.cpp
deleted file mode 100644
index 6584abe..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ClosedContextClr2Java.cpp
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "Clr2JavaImpl.h"
-
-namespace Org {
-  namespace Apache {
-	  namespace REEF {
-		  namespace Driver {
-			  namespace Bridge {
-				  namespace Clr2java {
-					  ref class ManagedLog {
-					  internal:
-						  static BridgeLogger^ LOGGER = BridgeLogger::GetLogger("<C++>");
-					  };
-					  ClosedContextClr2Java::ClosedContextClr2Java(JNIEnv *env, jobject jobjectClosedContext) {
-						  ManagedLog::LOGGER->LogStart("ClosedContextClr2Java::ClosedContextClr2Java");
-
-						  pin_ptr<JavaVM*> pJavaVm = &_jvm;
-						  if (env->GetJavaVM(pJavaVm) != 0) {
-							  ManagedLog::LOGGER->LogError("Failed to get JavaVM", nullptr);
-						  }
-						  _jobjectClosedContext = reinterpret_cast<jobject>(env->NewGlobalRef(jobjectClosedContext));
-						  jclass jclassClosedContext = env->GetObjectClass(_jobjectClosedContext);
-
-						  jfieldID jidContextId = env->GetFieldID(jclassClosedContext, "contextId", "Ljava/lang/String;");
-						  jfieldID jidEvaluatorId = env->GetFieldID(jclassClosedContext, "evaluatorId", "Ljava/lang/String;");
-
-						  _jstringContextId = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectClosedContext, jidContextId)));
-						  _jstringEvaluatorId = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectClosedContext, jidEvaluatorId)));
-
-						  ManagedLog::LOGGER->LogStop("ClosedContextClr2Java::ClosedContextClr2Java");
-					  }
-
-					  IActiveContextClr2Java^ ClosedContextClr2Java::GetParentContext() {
-						  ManagedLog::LOGGER->LogStart("ClosedContextClr2Java::GetParentContext");
-
-						  JNIEnv *env = RetrieveEnv(_jvm);
-
-						  jclass jclassClosedContext = env->GetObjectClass(_jobjectClosedContext);
-						  jfieldID jidParentContext = env->GetFieldID(jclassClosedContext, "parentContext", "Lorg/apache/reef/javabridge/ActiveContextBridge;");
-						  jobject jobjectParentContext = env->GetObjectField(_jobjectClosedContext, jidParentContext);
-						  ManagedLog::LOGGER->LogStop("ClosedContextClr2Java::GetParentContext");
-
-						  return gcnew ActiveContextClr2Java(env, jobjectParentContext);
-					  }
-
-					  String^ ClosedContextClr2Java::GetId() {
-						  ManagedLog::LOGGER->Log("ClosedContextClr2Java::GetId");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedStringFromJavaString(env, _jstringContextId);
-					  }
-
-					  String^ ClosedContextClr2Java::GetEvaluatorId() {
-						  ManagedLog::LOGGER->Log("ClosedContextClr2Java::GetEvaluatorId");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedStringFromJavaString(env, _jstringEvaluatorId);
-					  }
-
-					  IEvaluatorDescriptor^ ClosedContextClr2Java::GetEvaluatorDescriptor() {
-						  ManagedLog::LOGGER->LogStart("ClosedContextClr2Java::GetEvaluatorDescriptor");
-						  return CommonUtilities::RetrieveEvaluatorDescriptor(_jobjectClosedContext, _jvm);
-					  }
-
-					  void ClosedContextClr2Java::OnError(String^ message) {
-						  ManagedLog::LOGGER->Log("ClosedContextClr2Java::OnError");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  HandleClr2JavaError(env, message, _jobjectClosedContext);
-					  }
-				  }
-			  }
-		  }
-	  }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/Clr2JavaImpl.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/Clr2JavaImpl.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/Clr2JavaImpl.cpp
deleted file mode 100644
index ebd1aa4..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/Clr2JavaImpl.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "Clr2JavaImpl.h"
-
-namespace Microsoft
-{
-	namespace Reef
-	{
-		namespace Interop
-		{
-			Clr2JavaImpl::Clr2JavaImpl (JNIEnv* env, jobject  jobjectEManager, jobject  jobjectDriverManager)
-			{
-				_env = env;
-				_jobjectEManager = jobjectEManager;
-				_jclassEManager =  env->GetObjectClass (_jobjectEManager);
-				_jmidSubmit = env->GetMethodID(_jclassEManager, "submit", "([B)V");	
-				_jobjectDriverManager = jobjectDriverManager;
-				_jclassDriverManager = env->GetObjectClass (_jobjectDriverManager);
-
-			}
-
-			void Clr2JavaImpl::AllocatedEvaluatorSubmitContextAndTask(String^ contextConfigStr, String^ taskConfigStr)
-			{
-				Console::WriteLine("AllocatedEvaluatorSubmitContextAndTask not implemented for Clr2JavaImpl");
-			}
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/Clr2JavaImpl.h
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/Clr2JavaImpl.h b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/Clr2JavaImpl.h
deleted file mode 100644
index 39a7bfa..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/Clr2JavaImpl.h
+++ /dev/null
@@ -1,224 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "InteropUtil.h"
-#include "org_apache_reef_javabridge_NativeInterop.h"
-#include "JavaClrBridge.h"
-#include "InteropAssemblies.h"
-#using "Org.Apache.REEF.Bridge.Clr.dll"
-#using "Org.Apache.REEF.Driver.dll"
-
-using namespace System;
-using namespace System::IO;
-using namespace System::Collections::Generic;
-using namespace System::Runtime::InteropServices;
-using namespace System::Reflection;
-using namespace Org::Apache::REEF::Driver::Bridge;
-using namespace Org::Apache::REEF::Driver::Evaluator;
-
-namespace Org {
-  namespace Apache {
-	  namespace REEF {
-		  namespace Driver {
-			  namespace Bridge {
-				  namespace Clr2java {
-					  public ref class CommonUtilities {
-					  public:
-						  static IEvaluatorDescriptor^ RetrieveEvaluatorDescriptor(jobject object, JavaVM* jvm);
-					  };
-
-					  public ref class AllocatedEvaluatorClr2Java : public IAllocatedEvaluaotrClr2Java {
-						  jobject  _jobjectAllocatedEvaluator;
-						  JavaVM* _jvm;
-						  jstring _jstringId;
-						  jstring _jstringNameServerInfo;
-					  public:
-						  AllocatedEvaluatorClr2Java(JNIEnv *env, jobject jallocatedEvaluator);
-						  virtual void SubmitContextAndTask(String^ contextConfigStr, String^ taskConfigStr);
-						  virtual void SubmitContext(String^ contextConfigStr);
-						  virtual void SubmitContextAndService(String^ contextConfigStr, String^ serviceConfigStr);
-						  virtual void SubmitContextAndServiceAndTask(String^ contextConfigStr, String^ serviceConfigStr, String^ taskConfigStr);
-						  virtual void OnError(String^ message);
-						  virtual void Close();
-						  virtual String^ GetId();
-						  virtual String^ GetNameServerInfo();
-						  virtual IEvaluatorDescriptor^ GetEvaluatorDescriptor();
-					  };
-
-					  public ref class ActiveContextClr2Java : public IActiveContextClr2Java {
-						  jobject _jobjectActiveContext;
-						  jstring _jstringId;
-						  jstring _jstringEvaluatorId;
-						  JavaVM* _jvm;
-					  public:
-						  ActiveContextClr2Java(JNIEnv *env, jobject jallocatedEvaluator);
-						  virtual void SubmitTask(String^ taskConfigStr);
-						  virtual void Close();
-						  virtual void OnError(String^ message);
-						  virtual String^ GetId();
-						  virtual String^ GetEvaluatorId();
-						  virtual IEvaluatorDescriptor^ GetEvaluatorDescriptor();
-					  };
-
-					  public ref class EvaluatorRequestorClr2Java : public IEvaluatorRequestorClr2Java {
-						  jobject  _jobjectEvaluatorRequestor;
-						  JavaVM* _jvm;
-					  public:
-						  EvaluatorRequestorClr2Java(JNIEnv *env, jobject jevaluatorRequestor);
-						  virtual void OnError(String^ message);
-						  virtual void Submit(IEvaluatorRequest^ request);
-					  };
-
-					  public ref class TaskMessageClr2Java : public ITaskMessageClr2Java {
-						  jobject  _jobjectTaskMessage;
-						  JavaVM* _jvm;
-						  jstring _jstringId;
-					  public:
-						  TaskMessageClr2Java(JNIEnv *env, jobject jtaskMessage);
-						  virtual void OnError(String^ message);
-						  virtual String^ GetId();
-					  };
-
-					  public ref class FailedTaskClr2Java : public IFailedTaskClr2Java {
-						  jobject  _jobjectFailedTask;
-						  JavaVM* _jvm;
-					  public:
-						  FailedTaskClr2Java(JNIEnv *env, jobject jfailedTask);
-						  virtual void OnError(String^ message);
-						  virtual IActiveContextClr2Java^ GetActiveContext();
-						  virtual String^ GetString();
-					  };
-
-					  public ref class RunningTaskClr2Java : public IRunningTaskClr2Java {
-						  jobject  _jobjectRunningTask;
-						  JavaVM* _jvm;
-						  jstring _jstringId;
-					  public:
-						  RunningTaskClr2Java(JNIEnv *env, jobject jrunningTask);
-						  virtual void OnError(String^ message);
-						  virtual IActiveContextClr2Java^ GetActiveContext();
-						  virtual String^ GetId();
-						  virtual void Send(array<byte>^ message);
-					  };
-
-					  public ref class FailedEvaluatorClr2Java : public IFailedEvaluatorClr2Java {
-						  jobject  _jobjectFailedEvaluator;
-						  JavaVM* _jvm;
-						  jstring _jstringId;
-					  public:
-						  FailedEvaluatorClr2Java(JNIEnv *env, jobject jfailedEvaluator);
-						  virtual void OnError(String^ message);
-						  virtual IEvaluatorRequestorClr2Java^ GetEvaluatorRequestor();
-						  virtual String^ GetId();
-					  };
-
-					  public ref class HttpServerClr2Java : public IHttpServerBridgeClr2Java {
-						  jobject _jhttpServerEventBridge;
-						  JavaVM* _jvm;
-					  public:
-						  HttpServerClr2Java(JNIEnv *env, jobject jhttpServerEventBridge);
-						  virtual void OnError(String^ message);
-						  virtual String^ GetQueryString();
-						  virtual void SetUriSpecification(String^ uriSpecification);
-						  virtual void SetQueryResult(String^ queryResult);
-						  virtual array<byte>^ GetQueryRequestData();
-						  virtual void SetQueryResponseData(array<byte>^ responseData);
-					  };
-
-					  public ref class CompletedTaskClr2Java : public ICompletedTaskClr2Java {
-						  jobject  _jobjectCompletedTask;
-						  JavaVM* _jvm;
-						  jstring _jstringId;
-					  public:
-						  CompletedTaskClr2Java(JNIEnv *env, jobject jcompletedTask);
-						  virtual void OnError(String^ message);
-						  virtual IActiveContextClr2Java^ GetActiveContext();
-						  virtual String^ GetId();
-					  };
-
-					  public ref class SuspendedTaskClr2Java : public ISuspendedTaskClr2Java {
-						  jobject  _jobjectSuspendedTask;
-						  JavaVM* _jvm;
-						  jstring _jstringId;
-					  public:
-						  SuspendedTaskClr2Java(JNIEnv *env, jobject jobjectSuspendedTask);
-						  virtual void OnError(String^ message);
-						  virtual IActiveContextClr2Java^ GetActiveContext();
-						  virtual String^ GetId();
-						  virtual array<byte>^ Get();
-					  };
-
-					  public ref class CompletedEvaluatorClr2Java : public ICompletedEvaluatorClr2Java {
-						  jobject  _jobjectCompletedEvaluator;
-						  JavaVM* _jvm;
-						  jstring _jstringId;
-					  public:
-						  CompletedEvaluatorClr2Java(JNIEnv *env, jobject jobjectCompletedEvaluator);
-						  virtual void OnError(String^ message);
-						  virtual String^ GetId();
-					  };
-
-					  public ref class ClosedContextClr2Java : public IClosedContextClr2Java {
-						  jobject  _jobjectClosedContext;
-						  JavaVM* _jvm;
-						  jstring _jstringContextId;
-						  jstring _jstringEvaluatorId;
-					  public:
-						  ClosedContextClr2Java(JNIEnv *env, jobject jobjectClosedContext);
-						  virtual void OnError(String^ message);
-						  virtual String^ GetId();
-						  virtual String^ GetEvaluatorId();
-						  virtual IEvaluatorDescriptor^ GetEvaluatorDescriptor();
-						  virtual IActiveContextClr2Java^ GetParentContext();
-					  };
-
-					  public ref class FailedContextClr2Java : public IFailedContextClr2Java {
-						  jobject  _jobjectFailedContext;
-						  JavaVM* _jvm;
-						  jstring _jstringContextId;
-						  jstring _jstringEvaluatorId;
-						  jstring _jstringParentContextId;
-					  public:
-						  FailedContextClr2Java(JNIEnv *env, jobject jobjectFailedContext);
-						  virtual void OnError(String^ message);
-						  virtual String^ GetId();
-						  virtual String^ GetEvaluatorId();
-						  virtual String^ GetParentId();
-						  virtual IEvaluatorDescriptor^ GetEvaluatorDescriptor();
-						  virtual IActiveContextClr2Java^ GetParentContext();
-					  };
-
-					  public ref class ContextMessageClr2Java : public IContextMessageClr2Java {
-						  jobject  _jobjectContextMessage;
-						  JavaVM* _jvm;
-						  jbyteArray _jarrayMessage;
-						  jstring _jstringId;
-						  jstring _jstringSourceId;
-					  public:
-						  ContextMessageClr2Java(JNIEnv *env, jobject jobjectContextMessage);
-						  virtual void OnError(String^ message);
-						  virtual array<byte>^ Get();
-						  virtual String^ GetId();
-						  virtual String^ GetMessageSourceId();
-					  };
-				  }
-			  }
-		  }
-	  }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CommonUtilities.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CommonUtilities.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CommonUtilities.cpp
deleted file mode 100644
index 5de6e75..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CommonUtilities.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "Clr2JavaImpl.h"
-
-namespace Org {
-  namespace Apache {
-	  namespace REEF {
-		  namespace Driver {
-			  namespace Bridge {
-				  namespace Clr2java {
-					  ref class ManagedLog {
-					  internal:
-						  static BridgeLogger^ LOGGER = BridgeLogger::GetLogger("<C++>CommonUtilities");
-					  };
-
-					  IEvaluatorDescriptor^ CommonUtilities::RetrieveEvaluatorDescriptor(jobject object, JavaVM* jvm) {
-						  ManagedLog::LOGGER->LogStart("CommonUtilities::GetEvaluatorDescriptor");
-						  JNIEnv *env = RetrieveEnv(jvm);
-						  jclass jclassActiveContext = env->GetObjectClass(object);
-						  jmethodID jmidGetEvaluatorDescriptor = env->GetMethodID(jclassActiveContext, "getEvaluatorDescriptorSring", "()Ljava/lang/String;");
-
-						  if (jmidGetEvaluatorDescriptor == NULL) {
-							  ManagedLog::LOGGER->Log("jmidGetEvaluatorDescriptor is NULL");
-							  return nullptr;
-						  }
-						  jstring jevaluatorDescriptorString = (jstring)env->CallObjectMethod(
-							  object,
-							  jmidGetEvaluatorDescriptor);
-						  String^ evaluatorDescriptorString = ManagedStringFromJavaString(env, jevaluatorDescriptorString);
-						  ManagedLog::LOGGER->LogStop("InteropUtil::GetEvaluatorDescriptor");
-
-						  return gcnew EvaluatorDescriptorImpl(evaluatorDescriptorString);
-					  }
-				  }
-			  }
-		  }
-	  }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CompletedEvaluatorClr2Java.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CompletedEvaluatorClr2Java.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CompletedEvaluatorClr2Java.cpp
deleted file mode 100644
index c961881..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CompletedEvaluatorClr2Java.cpp
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "Clr2JavaImpl.h"
-
-namespace Org {
-  namespace Apache {
-	  namespace REEF {
-		  namespace Driver {
-			  namespace Bridge {
-				  namespace Clr2java {
-					  ref class ManagedLog {
-					  internal:
-						  static BridgeLogger^ LOGGER = BridgeLogger::GetLogger("<C++>");
-					  };
-
-					  CompletedEvaluatorClr2Java::CompletedEvaluatorClr2Java(JNIEnv *env, jobject jCompletedEvaluator) {
-						  ManagedLog::LOGGER->LogStart("CompletedEvaluatorClr2Java::CompletedEvaluatorClr2Java");
-						  pin_ptr<JavaVM*> pJavaVm = &_jvm;
-						  if (env->GetJavaVM(pJavaVm) != 0) {
-							  ManagedLog::LOGGER->LogError("Failed to get JavaVM", nullptr);
-						  }
-						  _jobjectCompletedEvaluator = reinterpret_cast<jobject>(env->NewGlobalRef(jCompletedEvaluator));
-
-						  jclass jclassCompletedEvaluator = env->GetObjectClass(_jobjectCompletedEvaluator);
-						  jfieldID jidEvaluatorId = env->GetFieldID(jclassCompletedEvaluator, "evaluatorId", "Ljava/lang/String;");
-						  _jstringId = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectCompletedEvaluator, jidEvaluatorId)));
-						  ManagedLog::LOGGER->LogStop("CompletedEvaluatorClr2Java::CompletedEvaluatorClr2Java");
-					  }
-
-					  void CompletedEvaluatorClr2Java::OnError(String^ message) {
-						  ManagedLog::LOGGER->Log("CompletedEvaluatorClr2Java::OnError");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  HandleClr2JavaError(env, message, _jobjectCompletedEvaluator);
-					  }
-
-					  String^ CompletedEvaluatorClr2Java::GetId() {
-						  ManagedLog::LOGGER->Log("CompletedEvaluatorClr2Java::GetId");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedStringFromJavaString(env, _jstringId);
-					  }
-				  }
-			  }
-		  }
-	  }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CompletedTaskClr2Java.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CompletedTaskClr2Java.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CompletedTaskClr2Java.cpp
deleted file mode 100644
index be9fe31..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/CompletedTaskClr2Java.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "Clr2JavaImpl.h"
-
-namespace Org {
-  namespace Apache {
-	  namespace REEF {
-		  namespace Driver {
-			  namespace Bridge {
-				  namespace Clr2java {
-					  ref class ManagedLog {
-					  internal:
-						  static BridgeLogger^ LOGGER = BridgeLogger::GetLogger("<C++>");
-					  };
-
-					  CompletedTaskClr2Java::CompletedTaskClr2Java(JNIEnv *env, jobject jobjectCompletedTask) {
-						  ManagedLog::LOGGER->LogStart("CompletedTaskClr2Java::CompletedTaskClr2Java");
-						  pin_ptr<JavaVM*> pJavaVm = &_jvm;
-						  if (env->GetJavaVM(pJavaVm) != 0) {
-							  ManagedLog::LOGGER->LogError("Failed to get JavaVM", nullptr);
-						  }
-						  _jobjectCompletedTask = reinterpret_cast<jobject>(env->NewGlobalRef(jobjectCompletedTask));
-
-						  jclass jclassCompletedTask = env->GetObjectClass(_jobjectCompletedTask);
-						  jfieldID jidTaskId = env->GetFieldID(jclassCompletedTask, "taskId", "Ljava/lang/String;");
-						  _jstringId = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectCompletedTask, jidTaskId)));
-						  ManagedLog::LOGGER->LogStop("CompletedTaskClr2Java::CompletedTaskClr2Java");
-					  }
-
-					  void CompletedTaskClr2Java::OnError(String^ message) {
-						  ManagedLog::LOGGER->Log("CompletedTaskClr2Java::OnError");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  HandleClr2JavaError(env, message, _jobjectCompletedTask);
-					  }
-
-					  IActiveContextClr2Java^ CompletedTaskClr2Java::GetActiveContext() {
-						  ManagedLog::LOGGER->LogStart("CompletedTaskClr2Java::GetActiveContext");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-
-						  jclass jclassCompletedTask = env->GetObjectClass(_jobjectCompletedTask);
-						  jfieldID jidActiveContext = env->GetFieldID(jclassCompletedTask, "jactiveContext", "Lorg/apache/reef/javabridge/ActiveContextBridge;");
-						  jobject jobjectActiveContext = env->GetObjectField(_jobjectCompletedTask, jidActiveContext);
-						  ManagedLog::LOGGER->LogStop("CompletedTaskClr2Java::GetActiveContext");
-						  return gcnew ActiveContextClr2Java(env, jobjectActiveContext);
-					  }
-
-					  String^ CompletedTaskClr2Java::GetId() {
-						  ManagedLog::LOGGER->Log("CompletedTaskClr2Java::GetId");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedStringFromJavaString(env, _jstringId);
-					  }
-				  }
-			  }
-		  }
-	  }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ContextMessageClr2Java.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ContextMessageClr2Java.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ContextMessageClr2Java.cpp
deleted file mode 100644
index c385e46..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/ContextMessageClr2Java.cpp
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "Clr2JavaImpl.h"
-
-namespace Org {
-  namespace Apache {
-	  namespace REEF {
-		  namespace Driver {
-			  namespace Bridge {
-				  namespace Clr2java {
-					  ref class ManagedLog {
-					  internal:
-						  static BridgeLogger^ LOGGER = BridgeLogger::GetLogger("<C++>");
-					  };
-					  ContextMessageClr2Java::ContextMessageClr2Java(JNIEnv *env, jobject jobjectContextMessage) {
-						  ManagedLog::LOGGER->LogStart("ContextMessageClr2Java::ContextMessageClr2Java");
-
-						  pin_ptr<JavaVM*> pJavaVm = &_jvm;
-						  if (env->GetJavaVM(pJavaVm) != 0) {
-							  ManagedLog::LOGGER->LogError("Failed to get JavaVM", nullptr);
-						  }
-						  _jobjectContextMessage = reinterpret_cast<jobject>(env->NewGlobalRef(jobjectContextMessage));
-						  jclass jclassContextMessage = env->GetObjectClass(_jobjectContextMessage);
-
-						  jfieldID jidId = env->GetFieldID(jclassContextMessage, "contextMessageId", "Ljava/lang/String;");
-						  jfieldID jidSourceId = env->GetFieldID(jclassContextMessage, "messageSourceId", "Ljava/lang/String;");
-						  jfieldID jidMessage = env->GetFieldID(jclassContextMessage, "message", "()[B");
-
-						  _jstringId = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectContextMessage, jidId)));
-						  _jstringSourceId = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectContextMessage, jidSourceId)));
-						  _jarrayMessage = reinterpret_cast<jbyteArray>(env->NewGlobalRef(env->GetObjectField(_jobjectContextMessage, jidMessage)));
-
-						  ManagedLog::LOGGER->LogStop("ContextMessageClr2Java::ContextMessageClr2Java");
-					  }
-
-					  String^ ContextMessageClr2Java::GetId() {
-						  ManagedLog::LOGGER->Log("ContextMessageClr2Java::GetId");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedStringFromJavaString(env, _jstringId);
-					  }
-
-					  String^ ContextMessageClr2Java::GetMessageSourceId() {
-						  ManagedLog::LOGGER->Log("ContextMessageClr2Java::GetMessageSourceId");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedStringFromJavaString(env, _jstringSourceId);
-					  }
-
-					  array<byte>^ ContextMessageClr2Java::Get() {
-						  ManagedLog::LOGGER->Log("ContextMessageClr2Java::Get");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedByteArrayFromJavaByteArray(env, _jarrayMessage);
-					  }
-
-					  void ContextMessageClr2Java::OnError(String^ message) {
-						  ManagedLog::LOGGER->Log("ContextMessageClr2Java::OnError");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  HandleClr2JavaError(env, message, _jobjectContextMessage);
-					  }
-				  }
-			  }
-		  }
-	  }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/EvaluatorRequestorClr2Java.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/EvaluatorRequestorClr2Java.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/EvaluatorRequestorClr2Java.cpp
deleted file mode 100644
index 2daed9e..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/EvaluatorRequestorClr2Java.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "Clr2JavaImpl.h"
-
-namespace Org {
-  namespace Apache {
-	  namespace REEF {
-		  namespace Driver {
-			  namespace Bridge {
-				  namespace Clr2java {
-					  ref class ManagedLog {
-					  internal:
-						  static BridgeLogger^ LOGGER = BridgeLogger::GetLogger("<C++>");
-					  };
-
-					  EvaluatorRequestorClr2Java::EvaluatorRequestorClr2Java(JNIEnv *env, jobject jevaluatorRequestor) {
-						  ManagedLog::LOGGER->LogStart("EvaluatorRequestorClr2Java::EvaluatorRequestorClr2Java");
-						  pin_ptr<JavaVM*> pJavaVm = &_jvm;
-						  if (env->GetJavaVM(pJavaVm) != 0) {
-							  ManagedLog::LOGGER->LogError("Failed to get JavaVM", nullptr);
-						  }
-						  _jobjectEvaluatorRequestor = reinterpret_cast<jobject>(env->NewGlobalRef(jevaluatorRequestor));
-						  ManagedLog::LOGGER->LogStop("EvaluatorRequestorClr2Java::EvaluatorRequestorClr2Java");
-					  }
-
-					  void EvaluatorRequestorClr2Java::Submit(IEvaluatorRequest^ request) {
-						  ManagedLog::LOGGER->LogStart("EvaluatorRequestorClr2Java::Submit");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  jclass jclassEvaluatorRequestor = env->GetObjectClass(_jobjectEvaluatorRequestor);
-						  jmethodID jmidSubmit = env->GetMethodID(jclassEvaluatorRequestor, "submit", "(IIILjava/lang/String;)V");
-
-						  if (jmidSubmit == NULL) {
-							  fprintf(stdout, " jmidSubmit is NULL\n");
-							  fflush(stdout);
-							  return;
-						  }
-						  env->CallObjectMethod(
-							  _jobjectEvaluatorRequestor,
-							  jmidSubmit,
-							  request->Number,
-							  request->MemoryMegaBytes,
-							  request->VirtualCore,
-							  JavaStringFromManagedString(env, request->Rack));
-						  ManagedLog::LOGGER->LogStop("EvaluatorRequestorClr2Java::Submit");
-					  }
-
-					  void EvaluatorRequestorClr2Java::OnError(String^ message) {
-						  ManagedLog::LOGGER->Log("EvaluatorRequestorClr2Java::OnError");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  HandleClr2JavaError(env, message, _jobjectEvaluatorRequestor);
-					  }
-				  }
-			  }
-		  }
-	  }
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/492da34a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/FailedContextClr2Java.cpp
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/FailedContextClr2Java.cpp b/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/FailedContextClr2Java.cpp
deleted file mode 100644
index 5a96202..0000000
--- a/lang/cpp/reef-bridge-clr/src/main/Cpp/CppBridge/JavaClrBridge/FailedContextClr2Java.cpp
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "Clr2JavaImpl.h"
-
-namespace Org {
-  namespace Apache {
-	  namespace REEF {
-		  namespace Driver {
-			  namespace Bridge {
-				  namespace Clr2java {
-					  ref class ManagedLog {
-					  internal:
-						  static BridgeLogger^ LOGGER = BridgeLogger::GetLogger("<C++>");
-					  };
-					  FailedContextClr2Java::FailedContextClr2Java(JNIEnv *env, jobject jobjectFailedContext) {
-						  ManagedLog::LOGGER->LogStart("FailedContextClr2Java::FailedContextClr2Java");
-
-						  pin_ptr<JavaVM*> pJavaVm = &_jvm;
-						  if (env->GetJavaVM(pJavaVm) != 0) {
-							  ManagedLog::LOGGER->LogError("Failed to get JavaVM", nullptr);
-						  }
-						  _jobjectFailedContext = reinterpret_cast<jobject>(env->NewGlobalRef(jobjectFailedContext));
-						  jclass jclassFailedContext = env->GetObjectClass(_jobjectFailedContext);
-
-						  jfieldID jidContextId = env->GetFieldID(jclassFailedContext, "contextId", "Ljava/lang/String;");
-						  jfieldID jidEvaluatorId = env->GetFieldID(jclassFailedContext, "evaluatorId", "Ljava/lang/String;");
-						  jfieldID jidParentId = env->GetFieldID(jclassFailedContext, "parentContextId", "Ljava/lang/String;");
-
-						  _jstringContextId = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectFailedContext, jidContextId)));
-						  _jstringEvaluatorId = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectFailedContext, jidEvaluatorId)));
-						  _jstringParentContextId = reinterpret_cast<jstring>(env->NewGlobalRef(env->GetObjectField(_jobjectFailedContext, jidParentId)));
-
-						  ManagedLog::LOGGER->LogStop("FailedContextClr2Java::FailedContextClr2Java");
-					  }
-
-					  IActiveContextClr2Java^ FailedContextClr2Java::GetParentContext() {
-						  ManagedLog::LOGGER->LogStart("FailedContextClr2Java::GetParentContext");
-
-						  JNIEnv *env = RetrieveEnv(_jvm);
-
-						  jclass jclassFailedContext = env->GetObjectClass(_jobjectFailedContext);
-						  jfieldID jidParentContext = env->GetFieldID(jclassFailedContext, "parentContext", "Lorg/apache/reef/javabridge/ActiveContextBridge;");
-						  jobject jobjectParentContext = env->GetObjectField(_jobjectFailedContext, jidParentContext);
-						  ManagedLog::LOGGER->LogStop("FailedContextClr2Java::GetParentContext");
-
-						  return gcnew ActiveContextClr2Java(env, jobjectParentContext);
-					  }
-
-					  String^ FailedContextClr2Java::GetId() {
-						  ManagedLog::LOGGER->Log("FailedContextClr2Java::GetId");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedStringFromJavaString(env, _jstringContextId);
-					  }
-
-					  String^ FailedContextClr2Java::GetEvaluatorId() {
-						  ManagedLog::LOGGER->Log("FailedContextClr2Java::GetEvaluatorId");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedStringFromJavaString(env, _jstringEvaluatorId);
-					  }
-
-					  String^ FailedContextClr2Java::GetParentId() {
-						  ManagedLog::LOGGER->Log("FailedContextClr2Java::GetParentId");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  return ManagedStringFromJavaString(env, _jstringParentContextId);
-					  }
-
-					  IEvaluatorDescriptor^ FailedContextClr2Java::GetEvaluatorDescriptor() {
-						  ManagedLog::LOGGER->LogStart("FailedContextClr2Java::GetEvaluatorDescriptor");
-						  return CommonUtilities::RetrieveEvaluatorDescriptor(_jobjectFailedContext, _jvm);
-					  }
-
-					  void FailedContextClr2Java::OnError(String^ message) {
-						  ManagedLog::LOGGER->Log("FailedContextClr2Java::OnError");
-						  JNIEnv *env = RetrieveEnv(_jvm);
-						  HandleClr2JavaError(env, message, _jobjectFailedContext);
-					  }
-				  }
-			  }
-		  }
-	  }
-  }
-}
\ No newline at end of file