.NET development on Linux & macOS is now possible

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

.NET development on Linux & macOS is now possible

Pavel Tupitsyn
Igniters,

I'm glad to announce that it is now possible to do Ignite.NET development
(build from sources, run tests) on Linux and macOS!

Changes are in master, see modules/platforms/dotnet/DEVNOTES.txt for
details.
Let me know if you have any questions.

Thanks,
Pavel
Reply | Threaded
Open this post in threaded view
|

Re: .NET development on Linux & macOS is now possible

yzhdanov
Great news, Pavel! As a Linux user I will definitely try that and let you
know on results.

--Yakov
Reply | Threaded
Open this post in threaded view
|

Re: .NET development on Linux & macOS is now possible

daradurvs
Hi, Pavel, thanks for this improvement, but as far as I understood it
is compatibility mode with .NET Сore.
Are you going to port Ignite to native .NET Core, maybe in the next
major release?


On Fri, Dec 22, 2017 at 1:55 PM, Yakov Zhdanov <[hidden email]> wrote:
> Great news, Pavel! As a Linux user I will definitely try that and let you
> know on results.
>
> --Yakov



--
Best Regards, Vyacheslav D.
Reply | Threaded
Open this post in threaded view
|

Re: .NET development on Linux & macOS is now possible

Pavel Tupitsyn
Hi Vyacheslav,

No, porting to .NET Core (actually, libraries should target .NET Standard
instead of .NET Core)
is not planned, since we maintain compatibility with .NET 4 and Visual
Studio 2010.

There is no reason to do the full port, since release binaries already work
on all platforms
(.NET 4+ on Windows, .NET Core 2.0+ on Windows, Linux, macOS).

Pavel

On Fri, Dec 22, 2017 at 2:15 PM, Vyacheslav Daradur <[hidden email]>
wrote:

> Hi, Pavel, thanks for this improvement, but as far as I understood it
> is compatibility mode with .NET Сore.
> Are you going to port Ignite to native .NET Core, maybe in the next
> major release?
>
>
> On Fri, Dec 22, 2017 at 1:55 PM, Yakov Zhdanov <[hidden email]>
> wrote:
> > Great news, Pavel! As a Linux user I will definitely try that and let you
> > know on results.
> >
> > --Yakov
>
>
>
> --
> Best Regards, Vyacheslav D.
>
Reply | Threaded
Open this post in threaded view
|

Re: .NET development on Linux & macOS is now possible

yzhdanov
In reply to this post by yzhdanov
Pavel,

I tried this out recently and had few minor issues.

1. due to path issues mvn executable was not found, but process coninued to
.net build
2. after I set path for mvn it still was failing due to incorrect java home

Should we report maven build issues and stop the overall process with
appropriate error message?

Also 2 tests failed for me:

Failed   TestClientDisposeWhileOperationsAreInProgress
Error Message:
   Some tasks should have failed.
  Expected: True
  But was:  False

Stack Trace:
   at
Apache.Ignite.Core.Tests.Client.ClientConnectionTest.TestClientDisposeWhileOperationsAreInProgress()
in
/home/yzhdanov/projects/incubator-ignite/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs:line
277

Failed   TestAsyncCompletionOrder
Error Message:
   Expected: False
  But was:  True

Stack Trace:
   at
Apache.Ignite.Core.Tests.Client.Cache.CacheTest.TestAsyncCompletionOrder()
in
/home/yzhdanov/projects/incubator-ignite/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cache/CacheTest.cs:line
855

If you need logs just let me know.

--Yakov
Reply | Threaded
Open this post in threaded view
|

Re: .NET development on Linux & macOS is now possible

Pavel Tupitsyn
Yakov, thanks for trying this out.
Good point about build script, I've filed a ticket:
https://issues.apache.org/jira/browse/IGNITE-7566

As for tests - yes, these two seem to be flaky on TC as well, I'll have a
look.

Pavel

On Tue, Jan 30, 2018 at 8:34 AM, Yakov Zhdanov <[hidden email]> wrote:

> Pavel,
>
> I tried this out recently and had few minor issues.
>
> 1. due to path issues mvn executable was not found, but process coninued to
> .net build
> 2. after I set path for mvn it still was failing due to incorrect java home
>
> Should we report maven build issues and stop the overall process with
> appropriate error message?
>
> Also 2 tests failed for me:
>
> Failed   TestClientDisposeWhileOperationsAreInProgress
> Error Message:
>    Some tasks should have failed.
>   Expected: True
>   But was:  False
>
> Stack Trace:
>    at
> Apache.Ignite.Core.Tests.Client.ClientConnectionTest.
> TestClientDisposeWhileOperationsAreInProgress()
> in
> /home/yzhdanov/projects/incubator-ignite/modules/platforms/dotnet/Apache.
> Ignite.Core.Tests/Client/ClientConnectionTest.cs:line
> 277
>
> Failed   TestAsyncCompletionOrder
> Error Message:
>    Expected: False
>   But was:  True
>
> Stack Trace:
>    at
> Apache.Ignite.Core.Tests.Client.Cache.CacheTest.TestAsyncCompletionOrder()
> in
> /home/yzhdanov/projects/incubator-ignite/modules/platforms/dotnet/Apache.
> Ignite.Core.Tests/Client/Cache/CacheTest.cs:line
> 855
>
> If you need logs just let me know.
>
> --Yakov
>