[ 
https://issues.apache.org/jira/browse/IGNITE-4297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-4297:
-----------------------------------
    Description: 
Apache.Ignite.Core NuGet package updates post-build step with a script to copy 
jar files to the bin directory.

However, this script does not remove old versions of jar files. This causes a 
problem when upgrading to a new version of NuGet package: user gets an error 
like

{code}
Failed to initialize JVM. ---> Apache.Ignite.Core.Common.IgniteException: Java 
class method is not found (did you set IGNITE_HOME environment variable?): 
binaryProcessor ---> Apache.Ignite.Core.Common.JavaException: 
java.lang.NoSuchMethodError: binaryProcessor
{code}


  was:
Apache.Ignite.Core NuGet package updates post-build step with a script to copy 
jar files to the bin directory.

However, this script copies jar files only when the bin\libs folder does not 
exist. This causes a problem when upgrading to a new version of NuGet package: 
bin\libs does not get updated, and user gets an error like

{code}
Failed to initialize JVM. ---> Apache.Ignite.Core.Common.IgniteException: Java 
class method is not found (did you set IGNITE_HOME environment variable?): 
binaryProcessor ---> Apache.Ignite.Core.Common.JavaException: 
java.lang.NoSuchMethodError: binaryProcessor
{code}



> .NET: Upgrading NuGet to new version does not clean up jar files in bin folder
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-4297
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4297
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 1.6
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>              Labels: .NET
>             Fix For: 1.8
>
>
> Apache.Ignite.Core NuGet package updates post-build step with a script to 
> copy jar files to the bin directory.
> However, this script does not remove old versions of jar files. This causes a 
> problem when upgrading to a new version of NuGet package: user gets an error 
> like
> {code}
> Failed to initialize JVM. ---> Apache.Ignite.Core.Common.IgniteException: 
> Java class method is not found (did you set IGNITE_HOME environment 
> variable?): binaryProcessor ---> Apache.Ignite.Core.Common.JavaException: 
> java.lang.NoSuchMethodError: binaryProcessor
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to