Return-Path: X-Original-To: apmail-lucene-lucene-net-commits-archive@www.apache.org Delivered-To: apmail-lucene-lucene-net-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D2158A67 for ; Sun, 14 Aug 2011 07:14:51 +0000 (UTC) Received: (qmail 5544 invoked by uid 500); 14 Aug 2011 07:14:48 -0000 Delivered-To: apmail-lucene-lucene-net-commits-archive@lucene.apache.org Received: (qmail 4337 invoked by uid 500); 14 Aug 2011 07:14:45 -0000 Mailing-List: contact lucene-net-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucene.apache.org Delivered-To: mailing list lucene-net-commits@lucene.apache.org Received: (qmail 4180 invoked by uid 99); 14 Aug 2011 07:14:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Aug 2011 07:14:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Aug 2011 07:14:38 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 7ED3A2388BA6; Sun, 14 Aug 2011 07:13:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 14 Aug 2011 07:13:16 -0000 To: lucene-net-commits@lucene.apache.org From: mherndon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110814071328.7ED3A2388BA6@eris.apache.org> Subject: [Lucene.Net] svn commit: r1157480 [18/18] - in /incubator/lucene.net/branches/Lucene.Net_2_9_4g: ./ build/scripts/ lib/Gallio.3.2.750/ lib/Gallio.3.2.750/licenses/ lib/Gallio.3.2.750/tools/ lib/Gallio.3.2.750/tools/NCover/ lib/Gallio.3.2.750/tools/NCover/Resources/... Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.Proxy.dll URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.Proxy.dll?rev=1157480&view=auto ============================================================================== Files incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.Proxy.dll (added) and incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.Proxy.dll Sun Aug 14 07:13:10 2011 differ Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.dll URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.dll?rev=1157480&view=auto ============================================================================== Files incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.dll (added) and incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.dll Sun Aug 14 07:13:10 2011 differ Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.plugin URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.plugin?rev=1157480&view=auto ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.plugin (added) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Tip90.plugin Sun Aug 14 07:13:10 2011 @@ -0,0 +1,51 @@ + + + + Visual Studio 2008 Test Runner + 3.2.0.0 + Enables Visual Studio 2008 to run Gallio tests via the Test View. + + + + + + + + + + + + + + + v9.0 + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/WeifenLuo.WinFormsUI.Docking.dll URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/WeifenLuo.WinFormsUI.Docking.dll?rev=1157480&view=auto ============================================================================== Files incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/WeifenLuo.WinFormsUI.Docking.dll (added) and incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/Gallio.3.2.750/tools/WeifenLuo.WinFormsUI.Docking.dll Sun Aug 14 07:13:10 2011 differ Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/Docs/StyleCop.chm URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/Docs/StyleCop.chm?rev=1157480&view=auto ============================================================================== Files incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/Docs/StyleCop.chm (added) and incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/Docs/StyleCop.chm Sun Aug 14 07:13:10 2011 differ Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/Settings.StyleCop URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/Settings.StyleCop?rev=1157480&view=auto ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/Settings.StyleCop (added) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/Settings.StyleCop Sun Aug 14 07:13:10 2011 @@ -0,0 +1,32 @@ + + + + + + \.g\.cs$ + \.generated\.cs$ + \.g\.i\.cs$ + + + + + + + + + as + do + id + if + in + is + my + no + on + to + ui + + + + + \ No newline at end of file Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.CSharp.Rules.dll URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.CSharp.Rules.dll?rev=1157480&view=auto ============================================================================== Files incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.CSharp.Rules.dll (added) and incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.CSharp.Rules.dll Sun Aug 14 07:13:10 2011 differ Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.CSharp.dll URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.CSharp.dll?rev=1157480&view=auto ============================================================================== Files incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.CSharp.dll (added) and incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.CSharp.dll Sun Aug 14 07:13:10 2011 differ Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.Targets URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.Targets?rev=1157480&view=auto ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.Targets (added) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.Targets Sun Aug 14 07:13:10 2011 @@ -0,0 +1,121 @@ + + + + + + $(BuildDependsOn);StyleCop + StyleCopForceFullAnalysis;$(RebuildDependsOn) + + + + + $(SourceAnalysisForceFullAnalysis) + + + false + + + + + $(SourceAnalysisCacheResults) + + + true + + + + + $(SourceAnalysisTreatErrorsAsWarnings) + + + true + + + + + $(SourceAnalysisEnabled) + + + true + + + + + $(SourceAnalysisOverrideSettingsFile) + + + + + + + + $(SourceAnalysisOutputFile) + + + $(IntermediateOutputPath)StyleCopViolations.xml + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.VSPackage.dll URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.VSPackage.dll?rev=1157480&view=auto ============================================================================== Files incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.VSPackage.dll (added) and incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.VSPackage.dll Sun Aug 14 07:13:10 2011 differ Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.dll URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.dll?rev=1157480&view=auto ============================================================================== Files incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.dll (added) and incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCop.dll Sun Aug 14 07:13:10 2011 differ Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCopSettingsEditor.exe URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCopSettingsEditor.exe?rev=1157480&view=auto ============================================================================== Files incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCopSettingsEditor.exe (added) and incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/StyleCopSettingsEditor.exe Sun Aug 14 07:13:10 2011 differ Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/license URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/license?rev=1157480&view=auto ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/license (added) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/lib/StyleCop.4.5/license Sun Aug 14 07:13:10 2011 @@ -0,0 +1,31 @@ +Microsoft Public License (Ms-PL) + +This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. + +1. Definitions + +The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. + +A "contribution" is the original software, or any additions or changes to the software. + +A "contributor" is any person that distributes its contribution under this license. + +"Licensed patents" are a contributor's patent claims that read directly on its contribution. + +2. Grant of Rights + +(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. + +(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. + +3. Conditions and Limitations + +(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. + +(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. + +(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. + +(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. + +(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement. \ No newline at end of file Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Analyzers/Contrib.Analyzers.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Analyzers/Contrib.Analyzers.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Analyzers/Contrib.Analyzers.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Analyzers/Contrib.Analyzers.csproj Sun Aug 14 07:13:10 2011 @@ -22,20 +22,22 @@ true full false - ..\..\..\bin\contrib\Analyzers\ + ..\..\..\build\bin\contrib\Analyzers\Debug\ DEBUG;TRACE prompt 4 true + 618 none true - ..\..\..\bin\contrib\Analyzers\ + ..\..\..\build\bin\contrib\Analyzers\Release\ TRACE prompt 4 - ..\..\..\doc\contrib\Analyzers\Lucene.Net.Contrib.Analyzers.xml + ..\..\..\build\bin\contrib\Analyzers\Release\Lucene.Net.Analyzers.XML + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Core/Contrib.Core.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Core/Contrib.Core.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Core/Contrib.Core.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Core/Contrib.Core.csproj Sun Aug 14 07:13:10 2011 @@ -36,19 +36,21 @@ true full false - ..\..\..\bin\contrib\Core\Debug\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\Core\Debug\ + TRACE;DEBUG prompt 4 + 618 none true - ..\..\..\bin\contrib\Core\ + ..\..\..\build\bin\contrib\Core\Release\ TRACE prompt 4 - ..\..\..\doc\contrib\Core\Lucene.Net.Contrib.Core.xml + ..\..\..\build\bin\contrib\Core\Release\Lucene.Net.Contrib.Core.XML + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.csproj Sun Aug 14 07:13:10 2011 @@ -36,20 +36,23 @@ true full false - ..\..\..\bin\contrib\FastVectorHighlighter\Debug\ + ..\..\..\build\bin\contrib\FastVectorHighlighter\Debug\ TRACE;DEBUG;LUCENENET_350 prompt 4 - ..\..\..\bin\contrib\FastVectorHighlighter\Debug\Lucene.Net.FastVectorHighlighter.XML + + + 618 none true - ..\..\..\bin\contrib\FastVectorHighlighter\ + ..\..\..\build\bin\contrib\FastVectorHighlighter\Release\ TRACE;LUCENENET_350 prompt 4 - ..\..\..\bin\contrib\FastVectorHighlighter\Lucene.Net.FastVectorHighlighter.XML + ..\..\..\build\bin\contrib\FastVectorHighlighter\Release\Lucene.Net.FastVectorHighlighter.XML + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Highlighter/Contrib.Highlighter.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Highlighter/Contrib.Highlighter.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Highlighter/Contrib.Highlighter.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Highlighter/Contrib.Highlighter.csproj Sun Aug 14 07:13:10 2011 @@ -46,19 +46,19 @@ true - ..\..\..\bin\contrib\Highlighters\Debug\ + ..\..\..\build\bin\contrib\Highlighter\Debug\ false 285212672 false - DEBUG;TRACE - Highlighter.Net.xml + TRACE;DEBUG + + true 4096 false - - + 618 false false false @@ -68,19 +68,18 @@ prompt - ..\..\..\bin\contrib\Highlighter\ + ..\..\..\build\bin\contrib\Highlighter\Release\ false 285212672 false TRACE - ..\..\..\doc\contrib\Highlighter\Lucene.Net.Contrib.Highlighter.xml + ..\..\..\build\bin\contrib\Highlighter\Release\Lucene.Net.Highlighter.XML false 4096 false - - + 618 true false false Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Queries/Contrib.Queries.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Queries/Contrib.Queries.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Queries/Contrib.Queries.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Queries/Contrib.Queries.csproj Sun Aug 14 07:13:10 2011 @@ -36,19 +36,21 @@ true full false - ..\..\..\bin\contrib\Queries\Debug\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\Queries\Debug\ + TRACE;DEBUG prompt 4 + 618 pdbonly true - ..\..\..\bin\contrib\Queries\ + ..\..\..\build\bin\contrib\Queries\Release\ TRACE prompt 4 - ..\..\..\doc\contrib\Queries\Lucene.Net.Contrib.Queries.xml + ..\..\..\build\bin\contrib\Queries\Release\Lucene.Net.Queries.XML + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Regex/Contrib.Regex.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Regex/Contrib.Regex.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Regex/Contrib.Regex.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Regex/Contrib.Regex.csproj Sun Aug 14 07:13:10 2011 @@ -17,18 +17,21 @@ true full false - ..\..\..\bin\contrib\Regex\Debug\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\Regex\Debug\ + TRACE;DEBUG prompt 4 + 618 pdbonly true - ..\..\..\bin\contrib\Regex\ + ..\..\..\build\bin\contrib\Regex\Release\ TRACE prompt 4 + 618 + ..\..\..\build\bin\contrib\Regex\Release\Lucene.Net.Search.Regex.XML Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/SimpleFacetedSearch/SimpleFacetedSearch.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/SimpleFacetedSearch/SimpleFacetedSearch.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/SimpleFacetedSearch/SimpleFacetedSearch.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/SimpleFacetedSearch/SimpleFacetedSearch.csproj Sun Aug 14 07:13:10 2011 @@ -17,18 +17,21 @@ true full false - bin\Debug\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\SimpleFacetedSearch\Debug\ + TRACE;DEBUG prompt 4 + 618 pdbonly true - ..\..\..\bin\contrib\SimpleFacetedSearch\ + ..\..\..\build\bin\contrib\SimpleFacetedSearch\Release\ TRACE prompt 4 + 618 + ..\..\..\build\bin\contrib\SimpleFacetedSearch\Release\Lucene.Net.Search.SimpleFacetedSearch.XML Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Snowball/Contrib.Snowball.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Snowball/Contrib.Snowball.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Snowball/Contrib.Snowball.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Snowball/Contrib.Snowball.csproj Sun Aug 14 07:13:10 2011 @@ -41,17 +41,17 @@ true - ..\..\..\bin\contrib\Snowball\Debug\ + ..\..\..\build\bin\contrib\Snowball\Debug\ false 285212672 false - DEBUG;TRACE + TRACE;DEBUG true 4096 false - + 618 false false false @@ -61,13 +61,13 @@ prompt - ..\..\..\bin\contrib\Snowball\ + ..\..\..\build\bin\contrib\Snowball\Release\ false 285212672 false TRACE - ..\..\..\doc\contrib\Snowball\Lucene.Net.Contrib.Snowball.xml + ..\..\..\build\bin\contrib\Snowball\Release\Lucene.Net.Snowball.XML false 4096 false Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Spatial/Contrib.Spatial.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Spatial/Contrib.Spatial.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Spatial/Contrib.Spatial.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/Spatial/Contrib.Spatial.csproj Sun Aug 14 07:13:10 2011 @@ -36,21 +36,23 @@ true full false - ..\..\..\bin\contrib\Spatial\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\Spatial\Debug\ + TRACE;DEBUG prompt 4 + 618 none true - ..\..\..\bin\contrib\Spatial\ + ..\..\..\build\bin\contrib\Spatial\Release\ TRACE prompt 4 - ..\..\..\doc\contrib\Spatial\Lucene.Net.Contrib.Spatial.xml + ..\..\..\build\bin\contrib\Spatial\Release\Lucene.Net.Spatial.XML + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/SpellChecker/Contrib.SpellChecker.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/SpellChecker/Contrib.SpellChecker.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/SpellChecker/Contrib.SpellChecker.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/SpellChecker/Contrib.SpellChecker.csproj Sun Aug 14 07:13:10 2011 @@ -32,20 +32,19 @@ - ..\..\..\bin\contrib\SpellChecker\Debug\ + ..\..\..\build\bin\contrib\SpellChecker\Debug\ false 285212672 false - DEBUG;TRACE + TRACE;DEBUG true 4096 false - - + 618 false false false @@ -56,19 +55,18 @@ AllRules.ruleset - ..\..\..\bin\contrib\SpellChecker\ + ..\..\..\build\bin\contrib\SpellChecker\Release\ false 285212672 false TRACE - ..\..\..\doc\contrib\SpellChecker\Lucene.Net.Contrib.SpellChecker.xml + ..\..\..\build\bin\contrib\SpellChecker\Release\Lucene.Net.SpellChecker.XML false 4096 false - - + 618 true false false Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Lucene.Net.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Lucene.Net.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Lucene.Net.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Lucene.Net.csproj Sun Aug 14 07:13:10 2011 @@ -46,19 +46,19 @@ true - ..\..\bin\core\Debug\ + ..\..\build\bin\core\Debug\ false 285212672 false TRACE;DEBUG - ..\..\bin\core\Debug\Lucene.Net.XML + + true 4096 false - - + 618 false false false @@ -68,18 +68,17 @@ prompt - ..\..\bin\core\ + ..\..\build\bin\core\Release\ true 285212672 false TRACE - ..\..\doc\core\Lucene.Net.xml + ..\..\build\bin\core\Release\Lucene.Net.XML 4096 false - - + 618 true false false Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/demo/Demo.Common/Demo.Common.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/demo/Demo.Common/Demo.Common.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/demo/Demo.Common/Demo.Common.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/demo/Demo.Common/Demo.Common.csproj Sun Aug 14 07:13:10 2011 @@ -47,20 +47,19 @@ true - ..\..\..\bin\demo\Demo.Common\Debug\ + ..\..\..\build\bin\demo\Demo.Common\Debug\ true 285212672 false - DEBUG;TRACE + TRACE;DEBUG true 4096 false - - + 618 false false false @@ -70,19 +69,18 @@ prompt - ..\..\..\bin\demo\Demo.Common\ + ..\..\..\build\bin\demo\Demo.Common\Release\ true 285212672 false TRACE - ..\..\..\doc\demo\Lucene.Net.Demo.Common.xml + ..\..\..\build\bin\demo\Demo.Common\Release\Lucene.Net.Demo.Common.XML false 4096 false - - + 618 true false false Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Analyzers/Contrib.Analyzers.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Analyzers/Contrib.Analyzers.Test.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Analyzers/Contrib.Analyzers.Test.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Analyzers/Contrib.Analyzers.Test.csproj Sun Aug 14 07:13:10 2011 @@ -36,18 +36,20 @@ true full false - ..\..\..\bin\contrib\Analyzers\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\Analyzers\Debug\ + TRACE;DEBUG prompt 4 + 618 none true - ..\..\..\bin\contrib\Analyzers\ + ..\..\..\build\bin\contrib\Analyzers\Release\ TRACE prompt 4 + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Core/Contrib.Core.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Core/Contrib.Core.Test.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Core/Contrib.Core.Test.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Core/Contrib.Core.Test.csproj Sun Aug 14 07:13:10 2011 @@ -36,18 +36,20 @@ true full false - ..\..\..\bin\contrib\Core\Debug\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\Core\Debug\ + TRACE;DEBUG prompt 4 + 618 none true - ..\..\..\bin\contrib\Core\ + ..\..\..\build\bin\contrib\Core\Release\ TRACE prompt 4 + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.Test.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.Test.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/FastVectorHighlighter/Contrib.FastVectorHighlighter.Test.csproj Sun Aug 14 07:13:10 2011 @@ -36,20 +36,24 @@ true full false - ..\..\..\bin\contrib\FastVectorHighlighter\Debug\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\FastVectorHighlighter\Debug\ + TRACE;DEBUG prompt 4 - ..\..\..\bin\contrib\FastVectorHighlighter\Debug\Lucene.Net.FastVectorHighlighter.Test.XML + + + 618 none true - ..\..\..\bin\contrib\FastVectorHighlighter\ + ..\..\..\build\bin\contrib\FastVectorHighlighter\Release\ TRACE prompt 4 - ..\..\..\bin\contrib\FastVectorHighlighter\Lucene.Net.FastVectorHighlighter.Test.XML + + + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Highlighter/Contrib.Highlighter.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Highlighter/Contrib.Highlighter.Test.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Highlighter/Contrib.Highlighter.Test.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Highlighter/Contrib.Highlighter.Test.csproj Sun Aug 14 07:13:10 2011 @@ -46,20 +46,19 @@ true - ..\..\..\bin\contrib\Highlighters\Debug\ + ..\..\..\build\bin\contrib\Highlighter\Debug\ true 285212672 false - DEBUG;TRACE + TRACE;DEBUG true 4096 false - - + 618 false false false @@ -69,7 +68,7 @@ prompt - ..\..\..\bin\contrib\Highlighter\ + ..\..\..\build\bin\contrib\Highlighter\Release\ false 285212672 false @@ -81,8 +80,7 @@ false 4096 false - - + 618 true false false Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/Contrib.Queries.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/Contrib.Queries.Test.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/Contrib.Queries.Test.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/Contrib.Queries.Test.csproj Sun Aug 14 07:13:10 2011 @@ -36,18 +36,20 @@ true full false - ..\..\..\bin\contrib\Queries\Debug\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\Queries\Debug\ + TRACE;DEBUG prompt 4 + 618 none true - ..\..\..\bin\contrib\Queries\ + ..\..\..\build\bin\contrib\Queries\Release\ TRACE prompt 4 + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Regex/Contrib.Regex.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Regex/Contrib.Regex.Test.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Regex/Contrib.Regex.Test.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Regex/Contrib.Regex.Test.csproj Sun Aug 14 07:13:10 2011 @@ -17,18 +17,20 @@ true full false - ..\..\..\bin\contrib\Regex\Debug\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\Regex\Debug\ + TRACE;DEBUG prompt 4 + 618 pdbonly true - ..\..\..\bin\contrib\Regex\ + ..\..\..\build\bin\contrib\Regex\Release\ TRACE prompt 4 + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/SimpleFacetedSearch/SimpleFacetedSearch.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/SimpleFacetedSearch/SimpleFacetedSearch.Test.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/SimpleFacetedSearch/SimpleFacetedSearch.Test.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/SimpleFacetedSearch/SimpleFacetedSearch.Test.csproj Sun Aug 14 07:13:10 2011 @@ -17,18 +17,20 @@ true full false - bin\Debug\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\SimpleFacetedSearch\Debug\ + TRACE;DEBUG prompt 4 + 618 pdbonly true - ..\..\..\bin\contrib\SimpleFacetedSearch\ + ..\..\..\build\bin\contrib\SimpleFacetedSearch\Release\ TRACE prompt 4 + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Snowball/Contrib.Snowball.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Snowball/Contrib.Snowball.Test.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Snowball/Contrib.Snowball.Test.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Snowball/Contrib.Snowball.Test.csproj Sun Aug 14 07:13:10 2011 @@ -41,17 +41,17 @@ true - ..\..\..\bin\contrib\Snowball\Debug\ + ..\..\..\build\bin\contrib\Snowball\Debug\ false 285212672 false - DEBUG;TRACE + TRACE;DEBUG true 4096 false - + 618 false false false @@ -61,7 +61,7 @@ prompt - ..\..\..\bin\contrib\Snowball\ + ..\..\..\build\bin\contrib\Snowball\Release\ false 285212672 false @@ -71,7 +71,7 @@ false 4096 false - + 618 true false false Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/Contrib.Spatial.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/Contrib.Spatial.Test.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/Contrib.Spatial.Test.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Spatial/Contrib.Spatial.Test.csproj Sun Aug 14 07:13:10 2011 @@ -36,18 +36,20 @@ true full false - ..\..\..\bin\contrib\Spatial\ - DEBUG;TRACE + ..\..\..\build\bin\contrib\Spatial\Debug\ + TRACE;DEBUG prompt 4 + 618 none true - ..\..\..\bin\contrib\Spatial\ + ..\..\..\build\bin\contrib\Spatial\Release\ TRACE prompt 4 + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/SpellChecker/Contrib.SpellChecker.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/SpellChecker/Contrib.SpellChecker.Test.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/SpellChecker/Contrib.SpellChecker.Test.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/SpellChecker/Contrib.SpellChecker.Test.csproj Sun Aug 14 07:13:10 2011 @@ -46,20 +46,19 @@ true - ..\..\..\bin\contrib\SpellChecker\Debug\ + ..\..\..\build\bin\contrib\SpellChecker\Debug\ false 285212672 false - DEBUG;TRACE + TRACE;DEBUG true 4096 false - - + 618 false false false @@ -69,7 +68,7 @@ prompt - ..\..\..\bin\contrib\SpellChecker\ + ..\..\..\build\bin\contrib\SpellChecker\Release\ false 285212672 false @@ -81,8 +80,7 @@ false 4096 false - - + 618 true false false Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Index/TestIndexWriter.cs URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Index/TestIndexWriter.cs?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Index/TestIndexWriter.cs (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Index/TestIndexWriter.cs Sun Aug 14 07:13:10 2011 @@ -4115,6 +4115,7 @@ namespace Lucene.Net.Index [Test] public virtual void TestExceptionsDuringCommit() { + Console.Write("TestingExceptionsDuringCommit"); MockRAMDirectory dir = new MockRAMDirectory(); FailOnlyInCommit failure = new FailOnlyInCommit(); IndexWriter w = new IndexWriter(dir, new WhitespaceAnalyzer(), true, IndexWriter.MaxFieldLength.UNLIMITED); @@ -4122,6 +4123,7 @@ namespace Lucene.Net.Index doc.Add(new Field("field", "a field", Field.Store.YES, Field.Index.ANALYZED)); w.AddDocument(doc); dir.FailOn(failure); + try { w.Close(); @@ -5597,7 +5599,7 @@ namespace Lucene.Net.Index try { IndexReader r = IndexReader.Open(dir); - //System.out.println("doc count=" + r.numDocs()); + //System.out.println("doc count=" + r.numDocs());F r.Close(); } catch (System.Exception e) Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Lucene.Net.Test.csproj URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Lucene.Net.Test.csproj?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Lucene.Net.Test.csproj (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Lucene.Net.Test.csproj Sun Aug 14 07:13:10 2011 @@ -40,7 +40,7 @@ true - ..\..\bin\core\Debug\ + ..\..\build\bin\core\Debug\ 285212672 @@ -55,9 +55,10 @@ 4 full prompt + 618 - ..\..\bin\core\ + ..\..\build\bin\core\Release\ 285212672 @@ -71,6 +72,7 @@ 4 none prompt + 618 Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Util/Paths.cs URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Util/Paths.cs?rev=1157480&r1=1157479&r2=1157480&view=diff ============================================================================== --- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Util/Paths.cs (original) +++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Util/Paths.cs Sun Aug 14 07:13:10 2011 @@ -1,91 +1,91 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -using System; +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +using System; using System.IO; using System.Linq; -using System.Collections.Generic; - -namespace Lucene.Net.Util -{ - /// - /// The static accessor class for file paths used in testing. - /// - public static class Paths - { - private static string s_tempDirectory = null; - private static string s_testDocDirectory = null; +using System.Collections.Generic; + +namespace Lucene.Net.Util +{ + /// + /// The static accessor class for file paths used in testing. + /// + public static class Paths + { + private static string s_tempDirectory = null; + private static string s_testDocDirectory = null; private static string s_assemblyDirectory = null; - private static string s_projectRootDirectory = null; - - /// - /// Gets the temp directory. - /// - /// - /// The temp directory. - /// - /// - /// - /// The temp directory first looks at the app settings for the &qt;tempDir&qt; - /// key. If the path does not exists or the setting is empty, the temp directory - /// fall back to using the environment's temp directory path and - /// append &qt;lucene-net&qt; to it. - /// - /// - public static string TempDirectory - { - get - { - if(s_tempDirectory == null) - { - string tempDirectory = Lucene.Net.Support.AppSettings.Get("tempDir", ""); - - if(string.IsNullOrWhiteSpace(tempDirectory) || - !Directory.Exists(tempDirectory)) - { - tempDirectory = CombinePath(Path.GetTempPath(), "lucene-net"); - - if(!Directory.Exists(tempDirectory)) - Directory.CreateDirectory(tempDirectory); - - } - s_tempDirectory = tempDirectory; - } - - return s_tempDirectory; - } - } - - /// - /// Gets the test document directory. - /// - /// - /// The test document directory. - /// - public static string TestDocDirectory - { - get - { - if(s_testDocDirectory == null) - { - s_testDocDirectory = CombinePath(TempDirectory, "TestDoc"); - } - return s_testDocDirectory; - } + private static string s_projectRootDirectory = null; + + /// + /// Gets the temp directory. + /// + /// + /// The temp directory. + /// + /// + /// + /// The temp directory first looks at the app settings for the &qt;tempDir&qt; + /// key. If the path does not exists or the setting is empty, the temp directory + /// fall back to using the environment's temp directory path and + /// append &qt;lucene-net&qt; to it. + /// + /// + public static string TempDirectory + { + get + { + if(s_tempDirectory == null) + { + string tempDirectory = Lucene.Net.Support.AppSettings.Get("tempDir", ""); + + if(string.IsNullOrWhiteSpace(tempDirectory) || + !Directory.Exists(tempDirectory)) + { + tempDirectory = CombinePath(Path.GetTempPath(), "lucene-net"); + + if(!Directory.Exists(tempDirectory)) + Directory.CreateDirectory(tempDirectory); + + } + s_tempDirectory = tempDirectory; + } + + return s_tempDirectory; + } + } + + /// + /// Gets the test document directory. + /// + /// + /// The test document directory. + /// + public static string TestDocDirectory + { + get + { + if(s_testDocDirectory == null) + { + s_testDocDirectory = CombinePath(TempDirectory, "TestDoc"); + } + return s_testDocDirectory; + } } /// @@ -126,7 +126,11 @@ namespace Lucene.Net.Util // we currently assume that the assembly's directory is root/bin/[Section]/[Build] // where [Section] is either core, demo, or contrib, and [Build] is either Debug or Release. string assemblyLocation = AssemblyDirectory; - int index = assemblyLocation.IndexOf(Path.DirectorySeparatorChar + "bin" + Path.DirectorySeparatorChar); + int index = -1; + if(assemblyLocation.IndexOf("build") > -1) + index = assemblyLocation.IndexOf(Path.DirectorySeparatorChar + "build" + Path.DirectorySeparatorChar); + else + index = assemblyLocation.IndexOf(Path.DirectorySeparatorChar + "bin" + Path.DirectorySeparatorChar); int difference = assemblyLocation.Substring(index).Count(o => o == Path.DirectorySeparatorChar); @@ -145,41 +149,41 @@ namespace Lucene.Net.Util return s_projectRootDirectory; } - } - - /// - /// Combines the path. - /// - /// - /// The path. - /// - /// - /// Start segment of the path. - /// - /// - /// Path segments e.g. directory or file names. - /// - /// - /// Is thrown when an argument passed to a method is invalid because it is . - /// - /// - /// Is thrown when an operation cannot be performed. - /// - internal static string CombinePath(string startSegment, params string[] segments) - { - if(startSegment == null) - throw new ArgumentNullException(startSegment); - - if(segments == null || segments.Length == 0) - throw new InvalidOperationException("Paths can not be combined"+ - " unless the startSegment and one additional segment is present."); - - string path = startSegment; - - foreach(string segment in segments) - path = System.IO.Path.Combine(path, segment); - - return path; - } - } -} + } + + /// + /// Combines the path. + /// + /// + /// The path. + /// + /// + /// Start segment of the path. + /// + /// + /// Path segments e.g. directory or file names. + /// + /// + /// Is thrown when an argument passed to a method is invalid because it is . + /// + /// + /// Is thrown when an operation cannot be performed. + /// + internal static string CombinePath(string startSegment, params string[] segments) + { + if(startSegment == null) + throw new ArgumentNullException(startSegment); + + if(segments == null || segments.Length == 0) + throw new InvalidOperationException("Paths can not be combined"+ + " unless the startSegment and one additional segment is present."); + + string path = startSegment; + + foreach(string segment in segments) + path = System.IO.Path.Combine(path, segment); + + return path; + } + } +}