You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/09/11 08:23:32 UTC

[1/2] lucenenet git commit: Lucene.Net.Analysis.SmartCn.HHMChineseTokenizer: Fixed namespace collision with Icu library.

Repository: lucenenet
Updated Branches:
  refs/heads/master c6f930d77 -> 6f8f672b2


Lucene.Net.Analysis.SmartCn.HHMChineseTokenizer: Fixed namespace collision with Icu library.


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/399b1649
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/399b1649
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/399b1649

Branch: refs/heads/master
Commit: 399b16499986acfc57dcd9c6cf8c2bd124dbf9ab
Parents: c6f930d
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Mon Sep 11 15:09:28 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Mon Sep 11 15:09:28 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/399b1649/src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs b/src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs
index 61ca00b..6e54971 100644
--- a/src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs
+++ b/src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs
@@ -56,7 +56,7 @@ namespace Lucene.Net.Analysis.Cn.Smart
         /// Creates a new <see cref="HMMChineseTokenizer"/>, supplying the <see cref="Lucene.Net.Util.AttributeSource.AttributeFactory"/>
         /// </summary>
         public HMMChineseTokenizer(AttributeFactory factory, TextReader reader)
-            : base(factory, reader, new IcuBreakIterator(Icu.BreakIterator.UBreakIteratorType.SENTENCE, CultureInfo.InvariantCulture) { EnableHacks = false })
+            : base(factory, reader, new IcuBreakIterator(global::Icu.BreakIterator.UBreakIteratorType.SENTENCE, CultureInfo.InvariantCulture) { EnableHacks = false })
         {
             termAtt = AddAttribute<ICharTermAttribute>();
             offsetAtt = AddAttribute<IOffsetAttribute>();


[2/2] lucenenet git commit: build/build.ps1: Fixed typos

Posted by ni...@apache.org.
build/build.ps1: Fixed typos


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/6f8f672b
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/6f8f672b
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/6f8f672b

Branch: refs/heads/master
Commit: 6f8f672b2f77a9970f20519ba9bb09c688c25040
Parents: 399b164
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Mon Sep 11 15:23:09 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Mon Sep 11 15:23:09 2017 +0700

----------------------------------------------------------------------
 build/build.ps1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/6f8f672b/build/build.ps1
----------------------------------------------------------------------
diff --git a/build/build.ps1 b/build/build.ps1
index 77e6dc5..d1df038 100644
--- a/build/build.ps1
+++ b/build/build.ps1
@@ -129,7 +129,7 @@ task Init -depends InstallSDK -description "This task makes sure the build envir
 
 task Restore -description "This task restores the dependencies" {
 	Exec { 
-		&dotnet restore $solutionFile --no-dependencies /p:TestFrameworks=true
+		& dotnet.exe restore $solutionFile --no-dependencies /p:TestFrameworks=true
 	}
 }
 
@@ -162,7 +162,7 @@ task Compile -depends Clean, Init, Restore -description "This task compiles the
 		Write-Host "TestFrameworks set to: $testFrameworks" -ForegroundColor Green
 
 		Exec {
-			&dotnet msbuild $solutionFile /t:Build `
+			& dotnet.exe msbuild $solutionFile /t:Build `
 				/p:Configuration=$configuration `
 				/p:AssemblyVersion=$assemblyVersion `
 				/p:InformationalVersion=$pv `