ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/2] incubator-ignite git commit: # ignite-496
Date Tue, 17 Mar 2015 15:04:54 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-496 [created] c4f6e7563


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c4f6e756/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.cpp
----------------------------------------------------------------------
diff --git a/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.cpp
b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.cpp
new file mode 100644
index 0000000..6d905c3
--- /dev/null
+++ b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.cpp
@@ -0,0 +1,127 @@
+/*
+ * 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 "stdafx.h"
+
+#include <jni.h>
+
+#include <iostream>
+#include <stdlib.h>
+#include <string>
+
+#include "ignite-interop-api.h"
+
+using namespace std;
+
+class IgniteCache {
+private:
+	IgniteInteropCache* interopCache;
+
+public:
+	IgniteCache(IgniteInteropCache* interopCache) : interopCache(interopCache) {
+	}
+
+	~IgniteCache() {
+		delete interopCache;
+	}
+
+	void put(int key, int val) {
+	}
+
+	int get(int key) {
+		return 0;
+	}
+};
+
+int _tmain(int argc, _TCHAR* argv[])
+{
+	char* igniteHome;
+
+	igniteHome = getenv("IGNITE_HOME");
+
+	if (!igniteHome) {
+		cout << "IGNITE_HOME is not set" << endl;
+
+		return 0;
+	}
+
+	string home(igniteHome);
+
+	cout << "IGNITE_HOME:" << home << endl;
+
+	string classpath = "-Djava.class.path=" + home + "\\modules\\core\\target\\classes;";
+
+	classpath += home + "\\modules\\core\\target\\libs\\cache-api-1.0.0.jar;";
+	classpath += home + "\\modules\\spring\\target\\classes;";
+	classpath += home + "\\modules\\spring\\target\\libs\\spring-core-4.1.0.RELEASE.jar;";
+	classpath += home + "\\modules\\spring\\target\\libs\\spring-context-4.1.0.RELEASE.jar;";
+	classpath += home + "\\modules\\spring\\target\\libs\\spring-beans-4.1.0.RELEASE.jar;";
+	classpath += home + "\\modules\\spring\\target\\libs\\spring-tx-4.1.0.RELEASE.jar;";
+	classpath += home + "\\modules\\spring\\target\\libs\\spring-aop-4.1.0.RELEASE.jar;";
+	classpath += home + "\\modules\\spring\\target\\libs\\spring-expression-4.1.0.RELEASE.jar;";
+	classpath += home + "\\modules\\spring\\target\\libs\\commons-logging-1.1.1.jar;";
+
+	cout << "Classpath:" << classpath << endl;
+
+	JavaVMInitArgs args;
+
+	JavaVMOption* options = new JavaVMOption[2];
+
+	options[0].optionString = const_cast<char*>(classpath.c_str());
+	options[1].optionString = "-DIGNITE_QUIET=false";
+
+	args.version = JNI_VERSION_1_6;
+	args.nOptions = 2;
+	args.options = options;
+	args.ignoreUnrecognized = 0;
+
+	char* errClsName;
+	char* errMsg;
+
+	int res = ContextInit(args, &errClsName, &errMsg);
+
+	if (res != JNI_OK) {
+		printf("Failed to create JVM: %s\n", errMsg);
+
+		return 0;
+	}
+
+	delete[] options;
+
+	cout << "Created JVM" << endl;
+
+	IgniteInteropNode* node = StartNode();
+
+	if (!node)
+		return 0;
+
+	IgniteInteropCache* cache = node->getCache("cache1");
+
+	if (!cache)
+		return 0;
+
+	IgniteCache igniteCache(cache);
+
+	igniteCache.put(1, 10);
+
+	int val = igniteCache.get(1);
+
+	cout << "Cache get: " << val << endl;
+
+	return 0;
+}
+

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c4f6e756/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.vcxproj
----------------------------------------------------------------------
diff --git a/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.vcxproj
b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.vcxproj
new file mode 100644
index 0000000..ba9e1b3
--- /dev/null
+++ b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.vcxproj
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+  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 DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{15376F49-5837-4FBE-9FE4-636A3A0A686C}</ProjectGuid>
+    <Keyword>Win32Proj</Keyword>
+    <RootNamespace>igniteinteropcppprototype</RootNamespace>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v120</PlatformToolset>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v120</PlatformToolset>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <PlatformToolset>v120</PlatformToolset>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <PlatformToolset>v120</PlatformToolset>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <LinkIncremental>true</LinkIncremental>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <LinkIncremental>true</LinkIncremental>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <LinkIncremental>false</LinkIncremental>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <LinkIncremental>false</LinkIncremental>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <PrecompiledHeader>Use</PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <Optimization>Disabled</Optimization>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <ClCompile>
+      <PrecompiledHeader>Use</PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <Optimization>Disabled</Optimization>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <AdditionalIncludeDirectories>$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32;$(SolutionDir)\ignite-interop-api</AdditionalIncludeDirectories>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <AdditionalDependencies>$(SolutionDir)\x64\Debug\ignite-interop-api.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>Use</PrecompiledHeader>
+      <Optimization>MaxSpeed</Optimization>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>Use</PrecompiledHeader>
+      <Optimization>MaxSpeed</Optimization>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <Text Include="ReadMe.txt" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="stdafx.h" />
+    <ClInclude Include="targetver.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="ignite-interop-cpp-prototype.cpp" />
+    <ClCompile Include="stdafx.cpp">
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
+    </ClCompile>
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c4f6e756/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.vcxproj.filters
----------------------------------------------------------------------
diff --git a/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.vcxproj.filters
b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.vcxproj.filters
new file mode 100644
index 0000000..d57b9f5
--- /dev/null
+++ b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/ignite-interop-cpp-prototype.vcxproj.filters
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+  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 ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="Source Files">
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+    </Filter>
+    <Filter Include="Header Files">
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+      <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
+    </Filter>
+    <Filter Include="Resource Files">
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <Text Include="ReadMe.txt" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="stdafx.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="targetver.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="stdafx.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="ignite-interop-cpp-prototype.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+  </ItemGroup>
+</Project>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c4f6e756/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/stdafx.cpp
----------------------------------------------------------------------
diff --git a/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/stdafx.cpp
b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/stdafx.cpp
new file mode 100644
index 0000000..a315b30
--- /dev/null
+++ b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/stdafx.cpp
@@ -0,0 +1,21 @@
+/*
+ * 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 "stdafx.h"
+
+// TODO: reference any additional headers you need in STDAFX.H
+// and not in this file

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c4f6e756/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/stdafx.h
----------------------------------------------------------------------
diff --git a/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/stdafx.h
b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/stdafx.h
new file mode 100644
index 0000000..980bde7
--- /dev/null
+++ b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/stdafx.h
@@ -0,0 +1,27 @@
+/*
+ * 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.
+ */
+
+#pragma once
+
+#include "targetver.h"
+
+#include <stdio.h>
+#include <tchar.h>
+
+
+
+// TODO: reference additional headers your program requires here

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c4f6e756/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/targetver.h
----------------------------------------------------------------------
diff --git a/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/targetver.h
b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/targetver.h
new file mode 100644
index 0000000..87885e0
--- /dev/null
+++ b/modules/interop/src/main/cpp/ignite-interop/ignite-interop-cpp-prototype/targetver.h
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+
+#pragma once
+
+// Including SDKDDKVer.h defines the highest available Windows platform.
+
+// If you wish to build your application for a previous Windows platform, include WinSDKVer.h
and
+// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
+
+#include <SDKDDKVer.h>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c4f6e756/modules/interop/src/main/cpp/ignite-interop/ignite-interop.sln
----------------------------------------------------------------------
diff --git a/modules/interop/src/main/cpp/ignite-interop/ignite-interop.sln b/modules/interop/src/main/cpp/ignite-interop/ignite-interop.sln
new file mode 100644
index 0000000..71475cd
--- /dev/null
+++ b/modules/interop/src/main/cpp/ignite-interop/ignite-interop.sln
@@ -0,0 +1,49 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.30501.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ignite-interop-api", "ignite-interop-api\ignite-interop-api.vcxproj",
"{99F02840-F28B-42F3-9530-F8B75F97B682}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ignite-interop-cpp-prototype", "ignite-interop-cpp-prototype\ignite-interop-cpp-prototype.vcxproj",
"{15376F49-5837-4FBE-9FE4-636A3A0A686C}"
+	ProjectSection(ProjectDependencies) = postProject
+		{99F02840-F28B-42F3-9530-F8B75F97B682} = {99F02840-F28B-42F3-9530-F8B75F97B682}
+	EndProjectSection
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Mixed Platforms = Debug|Mixed Platforms
+		Debug|Win32 = Debug|Win32
+		Debug|x64 = Debug|x64
+		Release|Mixed Platforms = Release|Mixed Platforms
+		Release|Win32 = Release|Win32
+		Release|x64 = Release|x64
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Debug|Mixed Platforms.ActiveCfg = Debug|x64
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Debug|Mixed Platforms.Build.0 = Debug|x64
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Debug|Win32.ActiveCfg = Debug|Win32
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Debug|Win32.Build.0 = Debug|Win32
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Debug|x64.ActiveCfg = Debug|x64
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Debug|x64.Build.0 = Debug|x64
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Release|Mixed Platforms.ActiveCfg = Release|Win32
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Release|Mixed Platforms.Build.0 = Release|Win32
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Release|Win32.ActiveCfg = Release|Win32
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Release|Win32.Build.0 = Release|Win32
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Release|x64.ActiveCfg = Release|x64
+		{99F02840-F28B-42F3-9530-F8B75F97B682}.Release|x64.Build.0 = Release|x64
+		{15376F49-5837-4FBE-9FE4-636A3A0A686C}.Debug|Mixed Platforms.ActiveCfg = Debug|x64
+		{15376F49-5837-4FBE-9FE4-636A3A0A686C}.Debug|Mixed Platforms.Build.0 = Debug|x64
+		{15376F49-5837-4FBE-9FE4-636A3A0A686C}.Debug|Win32.ActiveCfg = Debug|Win32
+		{15376F49-5837-4FBE-9FE4-636A3A0A686C}.Debug|Win32.Build.0 = Debug|Win32
+		{15376F49-5837-4FBE-9FE4-636A3A0A686C}.Debug|x64.ActiveCfg = Debug|Win32
+		{15376F49-5837-4FBE-9FE4-636A3A0A686C}.Release|Mixed Platforms.ActiveCfg = Release|Win32
+		{15376F49-5837-4FBE-9FE4-636A3A0A686C}.Release|Mixed Platforms.Build.0 = Release|Win32
+		{15376F49-5837-4FBE-9FE4-636A3A0A686C}.Release|Win32.ActiveCfg = Release|Win32
+		{15376F49-5837-4FBE-9FE4-636A3A0A686C}.Release|Win32.Build.0 = Release|Win32
+		{15376F49-5837-4FBE-9FE4-636A3A0A686C}.Release|x64.ActiveCfg = Release|Win32
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c4f6e756/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 5a32a57..805a065 100644
--- a/pom.xml
+++ b/pom.xml
@@ -142,6 +142,7 @@
         <module>modules/jcl</module>
         <module>modules/schema-import</module>
         <module>modules/codegen</module>
+        <module>modules/interop</module>
     </modules>
 
     <dependencyManagement>


Mime
View raw message