This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-2.8-dotnet-build-fix
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/ignite-2.8-dotnet-build-fix by 
this push:
     new c506aca  .NET: Fix build script - exclude optional jars
c506aca is described below

commit c506acaca770d6f0ff90504b7d35b0f7cdaa4e9d
Author: Pavel Tupitsyn <[email protected]>
AuthorDate: Wed Feb 26 13:09:31 2020 +0300

    .NET: Fix build script - exclude optional jars
---
 modules/platforms/dotnet/build.ps1 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/platforms/dotnet/build.ps1 
b/modules/platforms/dotnet/build.ps1
index eaa4248..e4f464c 100644
--- a/modules/platforms/dotnet/build.ps1
+++ b/modules/platforms/dotnet/build.ps1
@@ -161,7 +161,8 @@ Make-Dir($libsDir)
 
 Get-ChildItem $jarDirs.Split(',') *.jar -recurse `
    -include 
"ignite-core*","ignite-indexing*","ignite-shmem*","ignite-spring*","lucene*","h2*","cache-api*","commons-*","spring*"
 `
-   -exclude "*-sources*","*-javadoc*","*-tests*","*optional*" `
+   -exclude "*-sources*","*-javadoc*","*-tests*" `
+   | ? { $_.FullName -inotmatch '/optional/' } `
    | % { Copy-Item -Force $_ $libsDir }
    
 # Restore directory

Reply via email to