ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignite TC Bot (Jira)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-10554) .NET: Jars are not copied to target dir under .NET Core
Date Tue, 08 Oct 2019 21:23:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16947194#comment-16947194
] 

Ignite TC Bot commented on IGNITE-10554:
----------------------------------------

{panel:title=Branch: [pull/6954/head] Base: [master] : Possible Blockers (2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Cache 5{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=4674452]]
* IgniteCacheWithIndexingTestSuite: CacheRegisterMetadataLocallyTest.testClientFindsValueByAffinityKeyDynamicCacheWithoutExtraRequest
- Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Activate / Deactivate Cluster{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=4674389]]
* IgniteStandByClusterSuite: IgniteClusterActivateDeactivateTest.testDeactivateSimple_5_Servers_5_Clients_FromClient
- Test has low fail rate in base branch 0,0% and is not flaky

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=4674499&amp;buildTypeId=IgniteTests24Java8_RunAll]

> .NET: Jars are not copied to target dir under .NET Core
> -------------------------------------------------------
>
>                 Key: IGNITE-10554
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10554
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 2.4
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Critical
>              Labels: .NET
>             Fix For: 2.8
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We use PowerShell script to update post-build event in the target project and copy jar
files to target directory during build.
> However, this no longer works with .NET Core.
> nuspec file should be updated with new format, see example from https://github.com/NuGet/Samples/blob/master/ContentFilesExample/authoring/ContentFilesExample.nuspec:
> {code}
> <?xml version="1.0"?>
> <package>
>   <metadata minClientVersion="3.3.0">
>     <id>ContentFilesExample</id>
>     <version>1.0.0</version>
>     <authors>nuget</authors>
>     <owners>nuget</owners>
>     <requireLicenseAcceptance>false</requireLicenseAcceptance>
>     <description>A content v2 example package.</description>
>     <tags>contentv2 contentFiles</tags>
>     <!-- Build actions for items in the contentFiles folder -->
>     <contentFiles>
>         <!-- Include Assets as Content -->
>         <files include="**/images/*.*" buildAction="Content" />
>         <files include="**/data.txt" buildAction="Content" />
>         <!-- Copy tool scripts to the output folder -->
>         <files include="**/tools/*" buildAction="None" flatten="false" copyToOutput="true"
/>
>     </contentFiles>
>   </metadata>
> </package
> {code}
> *UPDATE: this breaks NuGet package usage completely under .NET Core 3.0*
> [NuGet behavior has changed|https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0#build-copies-dependencies]
in .NET Core 3.0:
> ??The dotnet build command now copies NuGet dependencies for your application from the
NuGet cache to the build output folder??
> In .NET Core 2.x dependencies are used directly from NuGet cache, so JAR files are resolved.
> In 3.0 this does not work anymore, we should find a way to copy JAR files to the output
folder.
> Test cases:
> * .NET 4.x
> * .NET Core 2.x, 3.x Windows & Linux
> * LINQPad
> * Binary zip distribution (examples, .NET Core examples)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message