You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2015/09/18 16:13:29 UTC
ignite git commit: Further WIP on .Net.
Repository: ignite
Updated Branches:
refs/heads/ignite-1513 d8f36eb7b -> ae6b17ee6
Further WIP on .Net.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/ae6b17ee
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/ae6b17ee
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/ae6b17ee
Branch: refs/heads/ignite-1513
Commit: ae6b17ee6a7d15de156e7d52d2022e37b91103ce
Parents: d8f36eb
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Fri Sep 18 17:14:11 2015 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Fri Sep 18 17:14:11 2015 +0300
----------------------------------------------------------------------
.../Examples/Apache.Ignite.Examples.slnrel | 39 ++------------------
.../Apache.Ignite.Examples.csprojrel | 7 ++--
.../Compute/ClosureExample.cs | 11 +++---
.../Compute/TaskExample.cs | 13 ++++---
.../Datagrid/ContinuousQueryExample.cs | 12 +++---
.../Datagrid/CrossPlatformExample.cs | 4 +-
.../Datagrid/DataStreamerExample.cs | 4 +-
.../Datagrid/PutGetExample.cs | 4 +-
.../Datagrid/QueryExample.cs | 4 +-
.../Datagrid/StoreExample.cs | 4 +-
.../Datagrid/TransactionExample.cs | 4 +-
.../Events/EventsExample.cs | 4 +-
.../Messaging/MessagingExample.cs | 4 +-
.../Misc/LifecycleExample.cs | 2 +-
.../Services/ServicesExample.cs | 4 +-
.../Apache.Ignite.ExamplesDll.csprojrel | 9 ++---
.../src/main/dotnet/Examples/README.txt | 4 ++
.../Examples/PathUtil.cs | 3 +-
18 files changed, 52 insertions(+), 84 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples.slnrel
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples.slnrel b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples.slnrel
index 9cd5a59..d898abc 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples.slnrel
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples.slnrel
@@ -1,11 +1,6 @@
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2013
-VisualStudioVersion = 12.0.31101.0
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apache.Ignite.Core", "..\Apache.Ignite.Core\Apache.Ignite.Core.csproj", "{4CD2F726-7E2B-46C4-A5BA-057BB82EECB6}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "common", "..\..\cpp\common\project\vs\common.vcxproj", "{4F7E4917-4612-4B96-9838-025711ADE391}"
-EndProject
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apache.Ignite.Examples", "Apache.Ignite.Examples\Apache.Ignite.Examples.csproj", "{069FA680-3C4D-43A9-B84F-E67513B87827}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apache.Ignite.ExamplesDll", "Apache.Ignite.ExamplesDll\Apache.Ignite.ExamplesDll.csproj", "{DFB08363-202E-412D-8812-349EF10A8702}"
@@ -18,32 +13,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Config", "Config", "{F14916
Config\example-compute.xml = Config\example-compute.xml
EndProjectSection
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Apache.Ignite", "..\Apache.Ignite\Apache.Ignite.csproj", "{27F7F3C6-BDDE-43A9-B565-856F8395A04B}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|x64 = Debug|x64
- Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {4CD2F726-7E2B-46C4-A5BA-057BB82EECB6}.Debug|x64.ActiveCfg = Debug|x64
- {4CD2F726-7E2B-46C4-A5BA-057BB82EECB6}.Debug|x64.Build.0 = Debug|x64
- {4CD2F726-7E2B-46C4-A5BA-057BB82EECB6}.Debug|x86.ActiveCfg = Debug|x86
- {4CD2F726-7E2B-46C4-A5BA-057BB82EECB6}.Debug|x86.Build.0 = Debug|x86
- {4CD2F726-7E2B-46C4-A5BA-057BB82EECB6}.Release|x64.ActiveCfg = Release|x64
- {4CD2F726-7E2B-46C4-A5BA-057BB82EECB6}.Release|x64.Build.0 = Release|x64
- {4CD2F726-7E2B-46C4-A5BA-057BB82EECB6}.Release|x86.ActiveCfg = Release|x86
- {4CD2F726-7E2B-46C4-A5BA-057BB82EECB6}.Release|x86.Build.0 = Release|x86
- {4F7E4917-4612-4B96-9838-025711ADE391}.Debug|x64.ActiveCfg = Debug|x64
- {4F7E4917-4612-4B96-9838-025711ADE391}.Debug|x64.Build.0 = Debug|x64
- {4F7E4917-4612-4B96-9838-025711ADE391}.Debug|x86.ActiveCfg = Debug|Win32
- {4F7E4917-4612-4B96-9838-025711ADE391}.Debug|x86.Build.0 = Debug|Win32
- {4F7E4917-4612-4B96-9838-025711ADE391}.Release|x64.ActiveCfg = Release|x64
- {4F7E4917-4612-4B96-9838-025711ADE391}.Release|x64.Build.0 = Release|x64
- {4F7E4917-4612-4B96-9838-025711ADE391}.Release|x86.ActiveCfg = Release|Win32
- {4F7E4917-4612-4B96-9838-025711ADE391}.Release|x86.Build.0 = Release|Win32
{069FA680-3C4D-43A9-B84F-E67513B87827}.Debug|x64.ActiveCfg = Debug|x64
{069FA680-3C4D-43A9-B84F-E67513B87827}.Debug|x64.Build.0 = Debug|x64
{069FA680-3C4D-43A9-B84F-E67513B87827}.Debug|x86.ActiveCfg = Debug|x86
@@ -56,14 +31,6 @@ Global
{DFB08363-202E-412D-8812-349EF10A8702}.Debug|x86.ActiveCfg = Debug|x86
{DFB08363-202E-412D-8812-349EF10A8702}.Release|x64.ActiveCfg = Release|x64
{DFB08363-202E-412D-8812-349EF10A8702}.Release|x86.ActiveCfg = Release|x86
- {27F7F3C6-BDDE-43A9-B565-856F8395A04B}.Debug|x64.ActiveCfg = Debug|x64
- {27F7F3C6-BDDE-43A9-B565-856F8395A04B}.Debug|x64.Build.0 = Debug|x64
- {27F7F3C6-BDDE-43A9-B565-856F8395A04B}.Debug|x86.ActiveCfg = Debug|x86
- {27F7F3C6-BDDE-43A9-B565-856F8395A04B}.Debug|x86.Build.0 = Debug|x86
- {27F7F3C6-BDDE-43A9-B565-856F8395A04B}.Release|x64.ActiveCfg = Release|x64
- {27F7F3C6-BDDE-43A9-B565-856F8395A04B}.Release|x64.Build.0 = Release|x64
- {27F7F3C6-BDDE-43A9-B565-856F8395A04B}.Release|x86.ActiveCfg = Release|x86
- {27F7F3C6-BDDE-43A9-B565-856F8395A04B}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Apache.Ignite.Examples.csprojrel
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Apache.Ignite.Examples.csprojrel b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Apache.Ignite.Examples.csprojrel
index 8ee90d9..7742752 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Apache.Ignite.Examples.csprojrel
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Apache.Ignite.Examples.csprojrel
@@ -35,6 +35,9 @@
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
+ <Reference Include="Apache.Ignite.Core">
+ <HintPath>..\..\src\Apache.Ignite\bin\$(Platform)\$(Configuration)\Apache.Ignite.Core.dll</HintPath>
+ </Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
</ItemGroup>
@@ -56,10 +59,6 @@
<Compile Include="Services\ServicesExample.cs" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\..\Apache.Ignite.Core\Apache.Ignite.Core.csproj">
- <Project>{4CD2F726-7E2B-46C4-A5BA-057BB82EECB6}</Project>
- <Name>Apache.Ignite.Core</Name>
- </ProjectReference>
<ProjectReference Include="..\Apache.Ignite.ExamplesDll\Apache.Ignite.ExamplesDll.csproj">
<Project>{dfb08363-202e-412d-8812-349ef10a8702}</Project>
<Name>Apache.Ignite.ExamplesDll</Name>
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Compute/ClosureExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Compute/ClosureExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Compute/ClosureExample.cs
index cdc39ac..c54e47f 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Compute/ClosureExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Compute/ClosureExample.cs
@@ -34,11 +34,10 @@ namespace Apache.Ignite.Examples.Compute
/// <para />
/// This example can be run in conjunction with standalone Apache Ignite .Net node.
/// To start standalone node please do the following:
- /// 1) Build the project Apache.Ignite.ExamplesDll if you havent't done it yet (select it -> right-click -> Build);
- /// 2) Locate created Apache.Ignite.ExamplesDll.dll file (Apache.Ignite.ExamplesDll project -> right-click ->
- /// Properties -> Build -> Output path);
- /// 3) Go to .Net binaries folder [IGNITE_HOME]\platforms\dotnet and run Apache.Ignite.exe as follows:
- /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=modules\platform\src\main\dotnet\examples\config\example-compute.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
+ /// 1) Build the project Apache.Ignite.ExamplesDll. Apache.Ignite.ExamplesDll.dll must appear in
+ /// %IGNITE_HOME%/platforms/dotnet/Examples/Apache.Ignite.ExamplesDll/bin/${Platform]/${Configuration} folder.
+ /// 2) Run %IGNITE_HOME%/platforms/dotnet/src/Apache.Ignite/bin/${Platform]/${Configuration}/Apache.Ignite.exe:
+ /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=platforms\dotnet\examples\config\example-compute.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
/// <para />
/// As a result you will see console jobs output on one or several nodes.
/// </summary>
@@ -52,7 +51,7 @@ namespace Apache.Ignite.Examples.Compute
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-compute.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-compute.xml",
JvmOptions = new List<string> { "-Xms512m", "-Xmx1024m" }
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Compute/TaskExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Compute/TaskExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Compute/TaskExample.cs
index 9124a35..e34db15 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Compute/TaskExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Compute/TaskExample.cs
@@ -34,11 +34,12 @@ namespace Apache.Ignite.Examples.Compute
/// <para />
/// This example can be run in conjunction with standalone Apache Ignite .Net node.
/// To start standalone node please do the following:
- /// 1) Build the project Apache.Ignite.ExamplesDll if you haven't done it yet (select it -> right-click -> Build);
- /// 2) Locate created Apache.Ignite.ExamplesDll.dll file (Apache.Ignite.ExamplesDll project -> right-click ->
- /// Properties -> Build -> Output path);
- /// 3) Go to .Net binaries folder [IGNITE_HOME]\platforms\dotnet and run Apache.Ignite.exe as follows:
- /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=modules\platform\src\main\dotnet\examples\config\example-compute.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
+ /// 1) Build the project Apache.Ignite.ExamplesDll. Apache.Ignite.ExamplesDll.dll must appear in
+ /// %IGNITE_HOME%/platforms/dotnet/Examples/Apache.Ignite.ExamplesDll/bin/${Platform]/${Configuration} folder.
+ /// 2) Build Apache Ignite solution located in %IGNITE_HOME%/platforms/dotnet/src folder. Apache.Ignite.exe file
+ /// must appear in %IGNITE_HOME%/platforms/dotnet/src/Apache.Ignite/bin/${Platform]/${Configuration} folder.
+ /// 3) Run Apache.Ignite.exe as follows:
+ /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=platforms\dotnet\examples\config\example-compute.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
/// <para />
/// As a result you will see console jobs output on one or several nodes.
/// </summary>
@@ -52,7 +53,7 @@ namespace Apache.Ignite.Examples.Compute
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-compute.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-compute.xml",
JvmOptions = new List<string> { "-Xms512m", "-Xmx1024m" }
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/ContinuousQueryExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/ContinuousQueryExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/ContinuousQueryExample.cs
index c22577c..2d8e61b 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/ContinuousQueryExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/ContinuousQueryExample.cs
@@ -36,10 +36,12 @@ namespace Apache.Ignite.Examples.Datagrid
/// <para />
/// This example can be run in conjunction with standalone Apache Ignite .Net node.
/// To start standalone node please do the following:
- /// 1) Build the project Apache.Ignite.ExamplesDll if you havent't done it yet (select it -> right-click -> Build);
- /// 2) Locate created Apache.Ignite.ExamplesDll.dll file (Apache.Ignite.ExamplesDll project -> right-click -> Properties -> Build -> Output path);
- /// 3) Locate Apache.Ignite.exe file (Apache.Ignite project -> right-click -> Properties -> Build -> Output path)
- /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=modules\platform\src\main\dotnet\examples\config\example-cache.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
+ /// 1) Build the project Apache.Ignite.ExamplesDll. Apache.Ignite.ExamplesDll.dll must appear in
+ /// %IGNITE_HOME%/platforms/dotnet/Examples/Apache.Ignite.ExamplesDll/bin/${Platform]/${Configuration} folder.
+ /// 2) Build Apache Ignite solution located in %IGNITE_HOME%/platforms/dotnet/src folder. Apache.Ignite.exe file
+ /// must appear in %IGNITE_HOME%/platforms/dotnet/src/Apache.Ignite/bin/${Platform]/${Configuration} folder.
+ /// 3) Run Apache.Ignite.exe as follows:
+ /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=platforms\dotnet\examples\config\example-cache.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
/// </summary>
public class ContinuousQueryExample
{
@@ -51,7 +53,7 @@ namespace Apache.Ignite.Examples.Datagrid
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-cache.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-cache.xml",
JvmOptions = new List<string> {"-Xms512m", "-Xmx1024m"}
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/CrossPlatformExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/CrossPlatformExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/CrossPlatformExample.cs
index 6d50144..e23d615 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/CrossPlatformExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/CrossPlatformExample.cs
@@ -26,7 +26,7 @@ namespace Apache.Ignite.Examples.Datagrid
/// <summary>
/// This example demonstrates use of portable objects between different platforms.
/// <para/>
- /// This example must be run with standalone Java node. To achieve this start a node from IGNITE_HOME
+ /// This example must be run with standalone Java node. To achieve this start a node from %IGNITE_HOME%
/// using "ignite.bat" with proper configuration:
/// <example>'bin\ignite.bat examples\config\example-server.xml'</example>.
/// <para />
@@ -61,7 +61,7 @@ namespace Apache.Ignite.Examples.Datagrid
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-cache.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-cache.xml",
JvmOptions = new List<string> { "-Xms512m", "-Xmx1024m" }
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/DataStreamerExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/DataStreamerExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/DataStreamerExample.cs
index 0974761..091e4a4 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/DataStreamerExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/DataStreamerExample.cs
@@ -38,7 +38,7 @@ namespace Apache.Ignite.Examples.Datagrid
/// This example can be run in conjunction with standalone Apache Ignite .Net node.
/// To start standalone node please do the following:
/// 1) Locate Apache.Ignite.exe file (Apache.Ignite project -> right-click -> Properties -> Build -> Output path)
- /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=modules\platform\src\main\dotnet\examples\config\example-cache.xml
+ /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=platforms\dotnet\examples\config\example-cache.xml
/// </summary>
public class DataStreamerExample
{
@@ -56,7 +56,7 @@ namespace Apache.Ignite.Examples.Datagrid
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-cache.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-cache.xml",
JvmOptions = new List<string> {"-Xms512m", "-Xmx1024m"}
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/PutGetExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/PutGetExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/PutGetExample.cs
index ca2dfd1..d0d6aaf 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/PutGetExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/PutGetExample.cs
@@ -38,7 +38,7 @@ namespace Apache.Ignite.Examples.Datagrid
/// This example can be run in conjunction with standalone Apache Ignite .Net node.
/// To start standalone node please do the following:
/// 1) Locate Apache.Ignite.exe file (Apache.Ignite project -> right-click -> Properties -> Build -> Output path)
- /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=modules\platform\src\main\dotnet\examples\config\example-cache.xml
+ /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=platforms\dotnet\examples\config\example-cache.xml
/// </summary>
public class PutGetExample
{
@@ -53,7 +53,7 @@ namespace Apache.Ignite.Examples.Datagrid
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-cache.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-cache.xml",
JvmOptions = new List<string> { "-Xms512m", "-Xmx1024m" }
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/QueryExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/QueryExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/QueryExample.cs
index b25c401..68ae439 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/QueryExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/QueryExample.cs
@@ -38,7 +38,7 @@ namespace Apache.Ignite.Examples.Datagrid
/// This example can be run in conjunction with standalone Apache Ignite .Net node.
/// To start standalone node please do the following:
/// 1) Locate Apache.Ignite.exe file (Apache.Ignite project -> right-click -> Properties -> Build -> Output path)
- /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=modules\platform\src\main\dotnet\examples\config\example-cache-query.xml
+ /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=platforms\dotnet\examples\config\example-cache-query.xml
/// </summary>
public class QueryExample
{
@@ -47,7 +47,7 @@ namespace Apache.Ignite.Examples.Datagrid
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-cache-query.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-cache-query.xml",
JvmOptions = new List<string> { "-Xms512m", "-Xmx1024m" }
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/StoreExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/StoreExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/StoreExample.cs
index 020fc11..c9335c1 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/StoreExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/StoreExample.cs
@@ -37,7 +37,7 @@ namespace Apache.Ignite.Examples.Datagrid
/// 1) Build the project Apache.Ignite.ExamplesDll if you havent't done it yet (select it -> right-click -> Build);
/// 2) Locate created Apache.Ignite.ExamplesDll.dll file (Apache.Ignite.ExamplesDll project -> right-click -> Properties -> Build -> Output path);
/// 3) Locate Apache.Ignite.exe file (Apache.Ignite project -> right-click -> Properties -> Build -> Output path)
- /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=modules\platform\src\main\dotnet\examples\config\example-cache-store.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
+ /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=platforms\dotnet\examples\config\example-cache-store.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
/// </summary>
class StoreExample
{
@@ -49,7 +49,7 @@ namespace Apache.Ignite.Examples.Datagrid
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-cache-store.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-cache-store.xml",
JvmOptions = new List<string> { "-Xms512m", "-Xmx1024m" }
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/TransactionExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/TransactionExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/TransactionExample.cs
index ffa0fc1..332c064 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/TransactionExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Datagrid/TransactionExample.cs
@@ -35,7 +35,7 @@ namespace Apache.Ignite.Examples.Datagrid
/// This example can be run in conjunction with standalone Apache Ignite .Net node.
/// To start standalone node please do the following:
/// 1) Locate Apache.Ignite.exe file (Apache.Ignite project -> right-click -> Properties -> Build -> Output path)
- /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=modules\platform\src\main\dotnet\examples\config\example-cache.xml
+ /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=platforms\dotnet\examples\config\example-cache.xml
/// </summary>
class TransactionExample
{
@@ -47,7 +47,7 @@ namespace Apache.Ignite.Examples.Datagrid
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-cache.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-cache.xml",
JvmOptions = new List<string> { "-Xms512m", "-Xmx1024m" }
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Events/EventsExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Events/EventsExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Events/EventsExample.cs
index 7c2f6a3..57d52bb 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Events/EventsExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Events/EventsExample.cs
@@ -34,7 +34,7 @@ namespace Apache.Ignite.Examples.Events
/// 1) Build the project Apache.Ignite.ExamplesDll if you havent't done it yet (select it -> right-click -> Build);
/// 2) Locate created Apache.Ignite.ExamplesDll.dll file (Apache.Ignite.ExamplesDll project -> right-click -> Properties -> Build -> Output path);
/// 3) Locate Apache.Ignite.exe file (Apache.Ignite project -> right-click -> Properties -> Build -> Output path)
- /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=modules\platform\src\main\dotnet\examples\config\example-compute.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
+ /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=platforms\dotnet\examples\config\example-compute.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
/// <para />
/// To run the example please do the following:
/// 1) Build the project Apache.Ignite.ExamplesDll (select it -> right-click -> Build);
@@ -54,7 +54,7 @@ namespace Apache.Ignite.Examples.Events
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-compute.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-compute.xml",
JvmOptions = new List<string> {"-Xms512m", "-Xmx1024m"}
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Messaging/MessagingExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Messaging/MessagingExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Messaging/MessagingExample.cs
index 8d0a169..db55a39 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Messaging/MessagingExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Messaging/MessagingExample.cs
@@ -31,7 +31,7 @@ namespace Apache.Ignite.Examples.Messaging
/// 1) Build the project Apache.Ignite.ExamplesDll if you havent't done it yet (select it -> right-click -> Build);
/// 2) Locate created Apache.Ignite.ExamplesDll.dll file (Apache.Ignite.ExamplesDll project -> right-click -> Properties -> Build -> Output path);
/// 3) Locate Apache.Ignite.exe file (Apache.Ignite project -> right-click -> Properties -> Build -> Output path)
- /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=modules\platform\src\main\dotnet\examples\config\example-compute.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
+ /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=platforms\dotnet\examples\config\example-compute.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
/// <para />
/// To run the example please do the following:
/// 1) Build the project Apache.Ignite.ExamplesDll (select it -> right-click -> Build);
@@ -51,7 +51,7 @@ namespace Apache.Ignite.Examples.Messaging
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-compute.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-compute.xml",
JvmOptions = new List<string> { "-Xms512m", "-Xmx1024m" }
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Misc/LifecycleExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Misc/LifecycleExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Misc/LifecycleExample.cs
index db0e5d6..14fbd84 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Misc/LifecycleExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Misc/LifecycleExample.cs
@@ -52,7 +52,7 @@ namespace Apache.Ignite.Examples.Misc
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-compute.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-compute.xml",
JvmOptions = new List<string> { "-Xms512m", "-Xmx1024m" },
LifecycleBeans = new List<ILifecycleBean> { lifecycleExampleBean }
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Services/ServicesExample.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Services/ServicesExample.cs b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Services/ServicesExample.cs
index 604658d..ccd7be6 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Services/ServicesExample.cs
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.Examples/Services/ServicesExample.cs
@@ -30,7 +30,7 @@ namespace Apache.Ignite.Examples.Services
/// 1) Build the project Apache.Ignite.ExamplesDll if you havent't done it yet (select it -> right-click -> Build);
/// 2) Locate created Apache.Ignite.ExamplesDll.dll file (Apache.Ignite.ExamplesDll project -> right-click -> Properties -> Build -> Output path);
/// 3) Locate Apache.Ignite.exe file (Apache.Ignite project -> right-click -> Properties -> Build -> Output path)
- /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=modules\platform\src\main\dotnet\examples\config\example-compute.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
+ /// Apache.Ignite.exe -IgniteHome=[path_to_IGNITE_HOME] -springConfigUrl=platforms\dotnet\examples\config\example-compute.xml -assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
/// <para />
/// To run the example please do the following:
/// 1) Build the project Apache.Ignite.ExamplesDll (select it -> right-click -> Build);
@@ -48,7 +48,7 @@ namespace Apache.Ignite.Examples.Services
{
var cfg = new IgniteConfiguration
{
- SpringConfigUrl = @"modules\platform\src\main\dotnet\examples\config\example-compute.xml",
+ SpringConfigUrl = @"platforms\dotnet\examples\config\example-compute.xml",
JvmOptions = new List<string> {"-Xms512m", "-Xmx1024m"}
};
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/Apache.Ignite.ExamplesDll/Apache.Ignite.ExamplesDll.csprojrel
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.ExamplesDll/Apache.Ignite.ExamplesDll.csprojrel b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.ExamplesDll/Apache.Ignite.ExamplesDll.csprojrel
index cb2ff6f..f59cd51 100644
--- a/modules/platform/src/main/dotnet/Examples/Apache.Ignite.ExamplesDll/Apache.Ignite.ExamplesDll.csprojrel
+++ b/modules/platform/src/main/dotnet/Examples/Apache.Ignite.ExamplesDll/Apache.Ignite.ExamplesDll.csprojrel
@@ -32,6 +32,9 @@
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
+ <Reference Include="Apache.Ignite.Core">
+ <HintPath>..\..\src\Apache.Ignite\bin\$(Platform)\$(Configuration)\Apache.Ignite.Core.dll</HintPath>
+ </Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
</ItemGroup>
@@ -58,12 +61,6 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Services\MapService.cs" />
</ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\Apache.Ignite.Core\Apache.Ignite.Core.csproj">
- <Project>{4CD2F726-7E2B-46C4-A5BA-057BB82EECB6}</Project>
- <Name>Apache.Ignite.Core</Name>
- </ProjectReference>
- </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.
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/main/dotnet/Examples/README.txt
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Examples/README.txt b/modules/platform/src/main/dotnet/Examples/README.txt
new file mode 100644
index 0000000..2038be8
--- /dev/null
+++ b/modules/platform/src/main/dotnet/Examples/README.txt
@@ -0,0 +1,4 @@
+Apache Ignite for .Net Examples
+==================================
+
+TODO
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ignite/blob/ae6b17ee/modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/Examples/PathUtil.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/Examples/PathUtil.cs b/modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/Examples/PathUtil.cs
index 2959d4d..4f9625f 100644
--- a/modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/Examples/PathUtil.cs
+++ b/modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/Examples/PathUtil.cs
@@ -35,8 +35,7 @@ namespace Apache.Ignite.Core.Tests.Examples
/// <summary>
/// Examples source code path.
/// </summary>
- public static readonly string ExamplesSourcePath = Path.Combine(IgniteHome,
- @"modules\platform\src\main\dotnet\Examples");
+ public static readonly string ExamplesSourcePath = Path.Combine(IgniteHome, @"platforms\dotnet\Examples");
/// <summary>
/// Gets the full configuration path.