You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2014/04/22 04:53:02 UTC
[30/59] [partial] Moving as part of INFRA-5246
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/Spatial/document.targets
----------------------------------------------------------------------
diff --git a/build/scripts/Spatial/document.targets b/build/scripts/Spatial/document.targets
new file mode 100644
index 0000000..da98b93
--- /dev/null
+++ b/build/scripts/Spatial/document.targets
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+
+ 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.
+
+-->
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <PropertyGroup>
+ <DocumentationSources>
+ <DocumentationSource sourceFile="..\bin\contrib\Spatial\Release\NET40\Lucene.Net.Contrib.Spatial.dll" />
+ <DocumentationSource sourceFile="..\bin\contrib\Spatial\Release\NET40\Lucene.Net.Contrib.Spatial.XML" />
+ </DocumentationSources>
+ <HtmlHelpName>Lucene.Net.Contrib.Spatial</HtmlHelpName>
+ <HelpTitle>Spatial Class Library</HelpTitle>
+ <WorkingPath>..\artifacts\Spatial\working\</WorkingPath>
+ <OutputPath>..\artifacts\Spatial\docs\</OutputPath>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/Spatial/project.targets
----------------------------------------------------------------------
diff --git a/build/scripts/Spatial/project.targets b/build/scripts/Spatial/project.targets
new file mode 100644
index 0000000..63b40b3
--- /dev/null
+++ b/build/scripts/Spatial/project.targets
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+
+ 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.
+
+-->
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <!--
+ Core Projects Are:
+ Lucene.Net,
+ Lucene.Net.Test,
+ -->
+ <PropertyGroup>
+ <SpatialFolder>$(BinFolder)\contrib\Spatial\$(Configuration)</SpatialFolder>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Area)' == 'spatial'">
+ <LocalBinFolder>$(BinFolder)\contrib\Spatial\$(Configuration)</LocalBinFolder>
+ <ArtifactsFolder>$(BuildFolder)\artifacts\Spatial</ArtifactsFolder>
+ </PropertyGroup>
+
+ <Target Name="_spatial_build">
+ <ItemGroup>
+ <SpatialProjectFiles Include="$(SourceFolder)\Contrib\Spatial\*.csproj" />
+ <SpatialProjectFiles Include="$(TestFolder)\Contrib\Spatial\*.csproj" />
+ </ItemGroup>
+
+ <MSBuild Projects="@(SpatialProjectFiles)" Properties="Configuration=$(Configuration);ExternalConstants=$(ExternalConstants)" />
+ <!-- Add "35" to the end of configuration to build .NET35 projects -->
+ <MSBuild Projects="@(SpatialProjectFiles)" Properties="Configuration=$(Configuration)35;ExternalConstants=$(ExternalConstants)" />
+ </Target>
+
+ <Target Name="_spatial_properties">
+ <ItemGroup>
+ <!-- Binaries To Copy in case we which to store all build items -->
+ <BuildItems Include="$(SpatialFolder)\**\*.*" />
+
+ <!-- Assemblies To Test -->
+ <TestFiles Include="$(SpatialFolder)\**\Lucene.Net.Contrib.Spatial.Test.dll" />
+
+ <!-- Files To Release -->
+ <ReleaseFiles Include="$(SpatialFolder)\**\Lucene.Net.Contrib.Spatial.dll" />
+ <ReleaseFiles Include="$(SpatialFolder)\**\Lucene.Net.Contrib.Spatial.XML" />
+
+ <!-- Files to Analysis -->
+ <AnalysisFiles Include="$(SpatialFolder)\**\Lucene.Net.Contrib.Spatial.dll" />
+ </ItemGroup>
+ </Target>
+
+ <Target Name="BuildSpatial">
+ <CallTarget Targets="_spatial_build" />
+ <CallTarget Targets="_spatial_properties" />
+ </Target>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/SpellChecker/document.targets
----------------------------------------------------------------------
diff --git a/build/scripts/SpellChecker/document.targets b/build/scripts/SpellChecker/document.targets
new file mode 100644
index 0000000..1dff4fd
--- /dev/null
+++ b/build/scripts/SpellChecker/document.targets
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+
+ 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.
+
+-->
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <PropertyGroup>
+ <DocumentationSources>
+ <DocumentationSource sourceFile="..\bin\contrib\SpellChecker\Release\NET40\Lucene.Net.Contrib.SpellChecker.dll" />
+ <DocumentationSource sourceFile="..\bin\contrib\SpellChecker\Release\NET40\Lucene.Net.Contrib.SpellChecker.XML" />
+ </DocumentationSources>
+ <HtmlHelpName>Lucene.Net.Contrib.SpellChecker</HtmlHelpName>
+ <HelpTitle>SpellChecker Class Library</HelpTitle>
+ <WorkingPath>..\artifacts\SpellChecker\working\</WorkingPath>
+ <OutputPath>..\artifacts\SpellChecker\docs\</OutputPath>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/SpellChecker/project.targets
----------------------------------------------------------------------
diff --git a/build/scripts/SpellChecker/project.targets b/build/scripts/SpellChecker/project.targets
new file mode 100644
index 0000000..ebff0d4
--- /dev/null
+++ b/build/scripts/SpellChecker/project.targets
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+
+ 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.
+
+-->
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <!--
+ Core Projects Are:
+ Lucene.Net,
+ Lucene.Net.Test,
+ -->
+ <PropertyGroup>
+ <SpellCheckerFolder>$(BinFolder)\contrib\SpellChecker\$(Configuration)</SpellCheckerFolder>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Area)' == 'spellchecker'">
+ <LocalBinFolder>$(BinFolder)\contrib\SpellChecker\$(Configuration)</LocalBinFolder>
+ <ArtifactsFolder>$(BuildFolder)\artifacts\SpellChecker</ArtifactsFolder>
+ </PropertyGroup>
+
+ <Target Name="_spellchecker_build">
+ <ItemGroup>
+ <SpellCheckerProjectFiles Include="$(SourceFolder)\Contrib\SpellChecker\*.csproj" />
+ <SpellCheckerProjectFiles Include="$(TestFolder)\Contrib\SpellChecker\*.csproj" />
+ </ItemGroup>
+
+ <MSBuild Projects="@(SpellCheckerProjectFiles)" Properties="Configuration=$(Configuration);ExternalConstants=$(ExternalConstants)" />
+ <!-- Add "35" to the end of configuration to build .NET35 projects -->
+ <MSBuild Projects="@(SpellCheckerProjectFiles)" Properties="Configuration=$(Configuration)35;ExternalConstants=$(ExternalConstants)" />
+ </Target>
+
+ <Target Name="_spellchecker_properties">
+ <ItemGroup>
+ <!-- Binaries To Copy in case we which to store all build items -->
+ <BuildItems Include="$(SpellCheckerFolder)\**\*.*" />
+
+ <!-- Assemblies To Test -->
+ <TestFiles Include="$(SpellCheckerFolder)\**\Lucene.Net.Contrib.SpellChecker.Test.dll" />
+
+ <!-- Files To Release -->
+ <ReleaseFiles Include="$(SpellCheckerFolder)\**\Lucene.Net.Contrib.SpellChecker.dll" />
+ <ReleaseFiles Include="$(SpellCheckerFolder)\**\Lucene.Net.Contrib.SpellChecker.XML" />
+
+ <!-- Files to Analysis -->
+ <AnalysisFiles Include="$(SpellCheckerFolder)\**\Lucene.Net.Contrib.SpellChecker.dll" />
+ </ItemGroup>
+ </Target>
+
+ <Target Name="BuildSpellChecker">
+ <CallTarget Targets="_spellchecker_build" />
+ <CallTarget Targets="_spellchecker_properties" />
+ </Target>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/build.cmd
----------------------------------------------------------------------
diff --git a/build/scripts/build.cmd b/build/scripts/build.cmd
new file mode 100644
index 0000000..b6010b9
--- /dev/null
+++ b/build/scripts/build.cmd
@@ -0,0 +1,25 @@
+@echo off
+REM License Block
+GOTO LicenseEnd
+ 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.
+:LicenseEnd
+
+SET TARGETS=all
+SET AREA=all
+IF [%1] NEQ [] SET TARGETS=%1
+IF [%2] NEQ [] SET AREA=%2
+
+%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe build.targets /t:%TARGETS% /p:BuildArea=%AREA% /nologo
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/build.sh
----------------------------------------------------------------------
diff --git a/build/scripts/build.sh b/build/scripts/build.sh
new file mode 100644
index 0000000..6edacfd
--- /dev/null
+++ b/build/scripts/build.sh
@@ -0,0 +1,47 @@
+#!/bin/bash
+# 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.
+
+TARGETS="all"
+BuildArea="all"
+Configuration="debug"
+if [ -n "$1" ]
+ then
+ TARGETS=$1
+fi
+if [ "$#" -gt "1" ]
+ then
+ TARGETS=${!#}
+fi
+if [ $# -eq 2 ]
+ then
+ BuildArea="$1"
+fi
+if [ $# -eq 3 ]
+ then
+ BuildArea="$1"
+ Configuration="$2"
+fi
+
+echo "commands will target projects: $BuildArea"
+echo "commands will target the configuration: $Configuration"
+export $BuildArea
+export $Configuration
+
+ROOT=$(dirname $0)
+export NETFRAMEWORK="mono"
+export TEMP=$ROOT/tmp
+
+MONO_IOMAP=case xbuild $ROOT/build.xml /t:$TARGETS
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/build.targets
----------------------------------------------------------------------
diff --git a/build/scripts/build.targets b/build/scripts/build.targets
new file mode 100644
index 0000000..c05e092
--- /dev/null
+++ b/build/scripts/build.targets
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+
+ 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.
+
+-->
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+
+ <Import Project="version.targets" />
+ <PropertyGroup>
+ <Configuration Condition="'$(Configuration)' == 'debug'">Debug</Configuration>
+ <Configuration Condition="'$(Configuration)' == '' Or '$(Configuration)' == 'release'">Release</Configuration>
+ <Area Condition="'$(Area)' == ''">all</Area>
+
+ <!-- This path is a bit redundant -->
+ <TempFolder>$(TEMP)</TempFolder>
+ <BuildFolder>$(MSBuildProjectDirectory)\..</BuildFolder>
+ <ScriptsFolder>$(MSBuildProjectDirectory)</ScriptsFolder>
+ <RootFolder>$(MSBuildProjectDirectory)\..\..\</RootFolder>
+ <Executable></Executable>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <BinFolder>$(BuildFolder)\bin</BinFolder>
+ <SourceFolder>$(RootFolder)src</SourceFolder>
+ <TestFolder>$(RootFolder)test</TestFolder>
+ <LibFolder>$(RootFolder)lib</LibFolder>
+ <PackagesFolder>$(RootFolder)lib</PackagesFolder>
+ </PropertyGroup>
+ <PropertyGroup>
+ <PackageManager>$(LibFolder)\Nuget\NuGet.exe pack </PackageManager>
+ <PackageManagerOptions>-Version $(Version) -OutputDirectory</PackageManagerOptions>
+ </PropertyGroup>
+
+ <!-- To Execute commands on mono like running nunit, it requires running through the program mono.exe -->
+ <PropertyGroup Condition="'$(NETFRAMEWORK)' == 'mono'">
+ <Executable>mono</Executable>
+ </PropertyGroup>
+
+ <Import Project="All/project.targets" Condition="'$(Area)' == 'all'" />
+ <Import Project="Analyzers/project.targets" Condition="'$(Area)' == 'analyzers'" />
+ <Import Project="Contrib/project.targets" Condition="'$(Area)' == 'contrib'" />
+ <Import Project="Contrib-Core/project.targets" Condition="'$(Area)' == 'contrib-core'" />
+ <Import Project="Core/project.targets" Condition="'$(Area)' == 'core'" />
+ <Import Project="FastVectorHighlighter/project.targets" Condition="'$(Area)' == 'fastvectorhighlighter'" />
+ <Import Project="Highlighter/project.targets" Condition="'$(Area)' == 'highlighter'" />
+ <Import Project="Queries/project.targets" Condition="'$(Area)' == 'queries'" />
+ <Import Project="Regex/project.targets" Condition="'$(Area)' == 'regex'" />
+ <Import Project="SimpleFacetedSearch/project.targets" Condition="'$(Area)' == 'simplefacetedsearch'" />
+ <Import Project="Snowball/project.targets" Condition="'$(Area)' == 'snowball'" />
+ <Import Project="Spatial/project.targets" Condition="'$(Area)' == 'spatial'" />
+ <Import Project="Spatial/project.targets" Condition="'$(Area)' == 'spatialnts'" />
+ <Import Project="SpellChecker/project.targets" Condition="'$(Area)' == 'spellchecker'" />
+
+ <ItemGroup Condition="'$(ArtifactsFolder)' != ''">
+ <CleanFiles Include="$(ArtifactsFolder)\**\*.*" />
+ <CleanFiles Include="$(RootFolder)\bin\**\*" Exclude="$(RootFolder)\**\.svn\*; $(RootFolder)\.svn\*" />
+ <CleanFiles Include="$(RootFolder)\build\bin\**\*.*" />
+ </ItemGroup>
+
+ <Target Name="diag">
+ <Message Text="TempFolder=$(TempFolder)" />
+ <Message Text="BuildFolder=$(BuildFolder)" />
+ <Message Text="ScriptsFolder=$(ScriptsFolder)" />
+ <Message Text="RootFolder=$(RootFolder)" />
+ <Message Text="Area=$(Area)" />
+ <Message Text="ArtifactsFolder=$(ArtifactsFolder)" />
+ </Target>
+
+ <Target Name="paths">
+ <CallTarget Targets="@(PathsTarget)" />
+ </Target>
+
+
+ <Target Name="artifacts">
+ <MakeDir Condition="!Exists('$(ArtifactsFolder)')" Directories="$(ArtifactsFolder)" />
+ </Target>
+
+ <Target Name="clean">
+ <Error Condition="'$(ArtifactsFolder)' == ''" Text="ArtifactsFolder is empty! 'Area' may be empty or invalid." />
+ <Message Text="Files To Clean: @(CleanFiles)" />
+ <Delete Files="@(CleanFiles)" />
+ </Target>
+
+
+ <Target Name="build">
+ <Message Text="External Constants$(ExternalConstants)" />
+ <CallTarget Targets="artifacts" />
+ <CallTarget Targets="paths" />
+ <Warning
+ Condition="!Exists('$(MSBuildExtensionsPath32)\StyleCop\v4.5\StyleCop.targets')"
+ Text="StyleCop is not installed at its expected location: $(MSBuildExtensionsPath32)\StyleCop\v4.5\StyleCop.targets" />
+ <Message Text="Project Files: @(ProjectFiles)" />
+ <CallTarget Targets="Build$(Area)" />
+ </Target>
+
+ <Target Name="copy-release">
+ <MakeDir Condition="!Exists('$(RootFolder)\bin')" Directories="$(RootFolder)\bin" />
+ <Copy SourceFiles="@(ReleaseFiles)" DestinationFolder="$(RootFolder)\bin\%(RecursiveDir)" />
+ <CallTarget Targets="@(CopyTargets)" />
+ </Target>
+
+ <Target Name="apache-release">
+ <ItemGroup>
+ <dllFiles Include="@(ReleaseFiles)" Condition="'%(Extension)' == '.dll'" />
+ <xmlFiles Include="@(ReleaseFiles)" Condition="'%(Extension)' == '.xml'" />
+ </ItemGroup>
+ <MakeDir Condition="!Exists('$(RootFolder)\apacherelease')" Directories="$(RootFolder)\apacherelease" />
+ <MakeDir Condition="!Exists('$(RootFolder)\apacherelease\bin')" Directories="$(RootFolder)\apacherelease\bin" />
+ <MakeDir Condition="!Exists('$(RootFolder)\apacherelease\doc')" Directories="$(RootFolder)\apacherelease\doc" />
+ <Copy SourceFiles="@(dllFiles)" DestinationFolder="$(RootFolder)\apacherelease\bin" />
+ <Copy SourceFiles="@(xmlFiles)" DestinationFolder="$(RootFolder)\apacherelease\doc" />
+ <CallTarget Targets="clean;build;" />
+ </Target>
+
+ <Target Name="simple">
+ <CallTarget Targets="clean;build;test-report-html;" />
+ </Target>
+
+ <Target Name="nightly">
+ <CallTarget Targets="clean;build;test-report-html;package;copy-release" />
+ </Target>
+
+ <!--
+ <Target Name="nightly">
+ <CallTarget Targets="clean;build;coverage;rules;package;document;copy-release" />
+ </Target> -->
+
+ <Target Name="commit">
+ <CallTarget Targets="clean;build;coverage;rules;" />
+ </Target>
+
+
+ <Import Condition="'$(NETFRAMEWORK)' != 'mono'" Project="dot-net-tools.targets" />
+ <Import Condition="'$(NETFRAMEWORK)' == 'mono'" Project="mono-tools.targets" />
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/docs.shfbproj
----------------------------------------------------------------------
diff --git a/build/scripts/docs.shfbproj b/build/scripts/docs.shfbproj
new file mode 100644
index 0000000..967057d
--- /dev/null
+++ b/build/scripts/docs.shfbproj
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <Import Project="All/document.targets" Condition="'$(area)' == 'all'" />
+ <Import Project="Analyzers/document.targets" Condition="'$(area)' == 'analyzers'" />
+ <Import Project="Contrib/document.targets" Condition="'$(area)' == 'contrib'" />
+ <Import Project="Contrib-Core/document.targets" Condition="'$(area)' == 'contrib-core'" />
+ <Import Project="Core/document.targets" Condition="'$(area)' == 'core'" />
+ <Import Project="FastVectorHighlighter/document.targets" Condition="'$(area)' == 'fastvectorhighlighter'" />
+ <Import Project="Highlighter/document.targets" Condition="'$(area)' == 'highlighter'" />
+ <Import Project="Queries/document.targets" Condition="'$(area)' == 'queries'" />
+ <Import Project="Regex/document.targets" Condition="'$(area)' == 'regex'" />
+ <Import Project="Similarity/document.targets" Condition="'$(area)' == 'similarity'" />
+ <Import Project="SimpleFacetedSearch/document.targets" Condition="'$(area)' == 'simplefacetedsearch'" />
+ <Import Project="Snowball/document.targets" Condition="'$(area)' == 'snowball'" />
+ <Import Project="Spatial/document.targets" Condition="'$(area)' == 'spatial'" />
+ <Import Project="SpellChecker/document.targets" Condition="'$(area)' == 'spellchecker'" />
+
+ <!-- Hudkins restarts are out of our control.... thus you never know when it will be rebooted
+ in order to find the SHFBROOT path variable. so here is our best guess. -->
+ <PropertyGroup>
+ <ProgramFiles32>$(MSBuildProgramFiles32)</ProgramFiles32>
+ </PropertyGroup>
+ <PropertyGroup>
+ <SHFBROOT Condition="'$(SHFBROOT)' == ''">$(ProgramFiles32)\EWSoftware\Sandcastle Help File Builder</SHFBROOT>
+ </PropertyGroup>
+ <PropertyGroup>
+ <!-- The configuration and platform will be used to determine which
+ assemblies to include from solution and project documentation
+ sources -->
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{f57dd4a8-d22e-43fd-87de-2ba22a54564d}</ProjectGuid>
+ <SHFBSchemaVersion>1.9.3.0</SHFBSchemaVersion>
+ <!-- AssemblyName, Name, and RootNamespace are not used by SHFB but Visual
+ Studio adds them anyway -->
+ <AssemblyName>Documentation</AssemblyName>
+ <RootNamespace>Documentation</RootNamespace>
+ <Name>Documentation</Name>
+ <!-- SHFB properties -->
+
+ <Language>en-US</Language>
+ <SandcastlePath>C:\Program Files (x86)\Sandcastle\</SandcastlePath>
+ <BuildLogFile />
+ <HtmlHelp1xCompilerPath />
+ <HtmlHelp2xCompilerPath />
+ <HelpFileFormat>HtmlHelp1, Website</HelpFileFormat>
+ <BinaryTOC>False</BinaryTOC>
+ <IncludeStopWordList>False</IncludeStopWordList>
+ </PropertyGroup>
+ <!-- There are no properties for these groups. AnyCPU needs to appear in
+ order for Visual Studio to perform the build. The others are optional
+ common platform types that may appear. -->
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' ">
+ </PropertyGroup>
+ <!-- Import the SHFB build targets -->
+ <Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" />
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/dot-net-tools.targets
----------------------------------------------------------------------
diff --git a/build/scripts/dot-net-tools.targets b/build/scripts/dot-net-tools.targets
new file mode 100644
index 0000000..45ccca1
--- /dev/null
+++ b/build/scripts/dot-net-tools.targets
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+
+ 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.
+
+-->
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+
+ <PropertyGroup>
+ <NUnitVersionFolder>NUnit.org/NUnit/2.5.9/bin/net-2.0</NUnitVersionFolder>
+ <GallioVersionFolder>Gallio.3.2.750</GallioVersionFolder>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <!--MSBuild 4.0 property-->
+ <ProgramFiles32>$(MSBuildProgramFiles32)</ProgramFiles32>
+ <DefineConstants></DefineConstants>
+ <ExternalConstants>GALLIO</ExternalConstants>
+ <!--Use OS env vars as a fallback-->
+ <!--
+ <ProgramFiles32 Condition=" '' == '$(ProgramFiles32)'">$(ProgramFiles%28x86%29)</ProgramFiles32>
+ <ProgramFiles32 Condition=" '' == '$(ProgramFiles32)' ">$(ProgramFiles)</ProgramFiles32>-->
+
+ </PropertyGroup>
+
+ <ItemGroup>
+ <NUnitFolder Include="$(PackagesFolder)\$(NUnitVersionFolder)" />
+ <FxCopFolder Include="$(ProgramFiles32)\Microsoft Fxcop 10.0" />
+ <NCoverFolder Include="$(ProgramFiles)\NCover" />
+ <GallioFolder Include="$(PackagesFolder)\$(GallioVersionFolder)\tools\" />
+ <FxCopCommands Include="@(AnalysisFiles-> ' /file:%(rootdir)%(directory)%(filename)%(extension)', ' ')" />
+
+ <FxCopReferences Include="@(ReferenceFiles-> ' /reference:%(rootdir)%(directory)%(filename)%(extension)', ' ')" />
+
+ <SHFBFolder Include="$(ProgramFiles32)\EWSoftware\Sand Castle Help File Builder" />
+ <SandCastleFolder Include="$(ProgramFiles32)\Sandcastle" />
+
+
+ <CopyTargets Include="copy-doc" />
+ <CopyTargets Include="copy-packages" />
+ <NCoverFiles Include="@(TestFiles-> '%(rootdir)%(directory)%(filename)%(extension)', ' ')" />
+ <ChmFiles Include="$(ArtifactsFolder)\docs\*.chm" />
+ <DocStyles Include="$(ArtifactsFolder)\docs\styles\*" />
+ <DocHtml Include="$(ArtifactsFolder)\docs\html\*" />
+ <DocIcons Include="$(ArtifactsFolder)\docs\icons\*" />
+ <DocScripts Include="$(ArtifactsFolder)\docs\scripts\*" />
+ <DocCore Include="$(ArtifactsFolder)\docs\*"
+ Exclude="$(ArtifactsFolder)\docs\Web.Config; $(ArtifactsFolder)\docs\WebKI.xml; $(ArtifactsFolder)\docs\WebTOC.xml; $(ArtifactsFolder)\docs\SearchHelp.aspx; $(ArtifactsFolder)\docs\LoadIndexKeywords.aspx; $(ArtifactsFolder)\docs\Index.aspx; $(ArtifactsFolder)\docs\FillNode.aspx; $(ArtifactsFolder)\docs\LastBuild.log; $(ArtifactsFolder)\docs\*.chm" />
+ <NugetPackages Include="$(ArtifactsFolder)\*.nupkg" />
+ </ItemGroup>
+
+
+
+
+ <Target Name="coverage" DependsOnTargets="build">
+ <MakeDir Condition="!Exists('$(ArtifactsFolder)\ncover')" Directories="$(ArtifactsFolder)\ncover" />
+
+ <Exec Command='%(GallioFolder.FullPath)Gallio.Echo.exe @(NCoverFiles) /rd:$(ArtifactsFolder)\html-test-reports /rt:Xml /rt:Html /rnf:test-report /hd:$(PackagesFolder)\$(NUnitVersionFolder) /runner:ncover3 /runner-property:NCoverArguments="//html $(ArtifactsFolder)\ncover //at ncover3.trend"' />
+
+ <!-- Notify user if code coverage tool is not found -->
+ <Warning
+ Condition="!Exists('%(NCoverFolder.FullPath)')"
+ Text="NCover is not installed under its expected location: %(NCoverFolder.FullPath)"
+ />
+ <Warning
+ Condition="!Exists('%(GallioFolder.FullPath)')"
+ Text="Gallio is not installed under its expected location: %(GallioFolder.FullPath)"
+ />
+ <Copy Condition="Exists('$(BuildFolder)/scripts/Coverage.xml')" SourceFiles="$(BuildFolder)/scripts/Coverage.xml" DestinationFolder="$(ArtifactsFolder)/ncover/Coverage.xml" />
+ <Delete Files="$(BuildFolder)/scripts/Coverage.xml" />
+ </Target>
+
+
+ <Target Name="test-report-xml" DependsOnTargets="build">
+ <MakeDir Condition="!Exists('$(TEMP)')" Directories="$(TEMP)" />
+ <Copy SourceFiles="@(Compile)" DestinationFolder="c:\foocopy\%(RecursiveDir)" />
+ <Exec Condition="Exists('%(GallioFolder.FullPath)')" Command="%(GallioFolder.FullPath)Gallio.Echo.exe@(TestFiles-> '%(rootdir)%(directory)%(filename)%(extension)', ' ') /hd:$(PackagesFolder)\$(NUnitVersionFolder) /nl /rd:$(ArtifactsFolder)\xml-test-reports /rt:Xml /rnf:test-reports" />
+
+
+ <!-- Notify user if Gallio is not found -->
+ <Warning
+ Condition="!Exists('%(GallioFolder.FullPath)')"
+ Text="Gallio is not installed under its expected location: %(Gallio.FullPath)" />
+
+ <!-- Notify user if NUnit is not found -->
+ <Warning
+ Condition="!Exists('%(NUnitFolder.FullPath)')"
+ Text="NUnit is not installed under its expected location: %(NUnit.FullPath)" />
+ </Target>
+
+ <Target Name="test-report-html" DependsOnTargets="build">
+ <MakeDir
+ Condition="!Exists('$(TEMP)')"
+ Directories="$(TEMP)" />
+
+ <Exec
+ Condition="Exists('%(GallioFolder.FullPath)')"
+ Command="%(GallioFolder.FullPath)Gallio.Echo.exe @(TestFiles-> '%(rootdir)%(directory)%(filename)%(extension)', ' ') /hd:$(PackagesFolder)\$(NUnitVersionFolder) /nl /rd:$(ArtifactsFolder)\html-test-reports /rt:Html /rnf:test-reports" />
+
+ <!-- Notify user if Gallio is not found -->
+ <Warning
+ Condition="!Exists('%(GallioFolder.FullPath)')"
+ Text="Gallio is not installed under its expected location: %(Gallio.FullPath)" />
+
+ <!-- Notify user if NUnit is not found -->
+ <Warning
+ Condition="!Exists('%(NUnitFolder.FullPath)')"
+ Text="NUnit is not installed under its expected location: %(NUnit.FullPath)" />
+ </Target>
+
+ <Target Name="document" DependsOnTargets="build">
+ <Copy SourceFiles="@(CoverageFiles)" DestinationFolder="$(BinFolder)\core\$(Configuration)" />
+
+ <MSBuild
+ Condition="Exists('%(SandCastleFolder.FullPath)') And '$(Configuration)' == 'Release'"
+ Projects="$(BuildFolder)\scripts\docs.shfbproj"
+ Properties='Configuration=Release;Platform=AnyCPU;OutDir=$(ArtifactsFolder)\docs\;area=
+ $(Area)' />
+
+
+
+ <!-- Notify user if Sand Castle is not found -->
+ <Warning
+ Condition="!Exists('%(SandCastleFolder.FullPath)')"
+ Text="Sand Castle is not installed under its expected location: %(SandCastleFolder.FullPath)" />
+ </Target>
+
+ <Target Name="copy-doc">
+ <MakeDir Condition="!Exists('$(RootFolder)\bin\docs')" Directories="$(RootFolder)\bin\docs" />
+ <MakeDir Condition="!Exists('$(RootFolder)\bin\docs\site\styles')" Directories="$(RootFolder)\bin\docs\site\styles" />
+ <MakeDir Condition="!Exists('$(RootFolder)\bin\docs\site\scripts')" Directories="$(RootFolder)\bin\docs\site\scripts" />
+ <MakeDir Condition="!Exists('$(RootFolder)\bin\docs\site\icons')" Directories="$(RootFolder)\bin\docs\site\icons" />
+ <MakeDir Condition="!Exists('$(RootFolder)\bin\docs\site\html')" Directories="$(RootFolder)\bin\docs\site\html" />
+
+ <Copy SourceFiles="@(DocStyles)" DestinationFolder="$(RootFolder)\bin\docs\site\styles" />
+ <Copy SourceFiles="@(DocHtml)" DestinationFolder="$(RootFolder)\bin\docs\site\html" />
+ <Copy SourceFiles="@(DocIcons)" DestinationFolder="$(RootFolder)\bin\docs\site\icons" />
+ <Copy SourceFiles="@(DocScripts)" DestinationFolder="$(RootFolder)\bin\docs\site\scripts" />
+ <Copy SourceFiles="@(DocCore)" DestinationFolder="$(RootFolder)\bin\docs\site\" />
+ <Copy SourceFiles="@(ChmFiles)" DestinationFolder="$(RootFolder)\bin\docs\" />
+ </Target>
+
+ <Target Name="copy-packages">
+ <Copy SourceFiles="@(NugetPackages)" DestinationFolder="$(RootFolder)\bin\packages"/>
+ </Target>
+
+ <Target Name="test" DependsOnTargets="build">
+ <MakeDir Condition="!Exists('$(TEMP)')" Directories="$(TEMP)" />
+
+ <Exec Condition="Exists('%(GallioFolder.FullPath)') " Command="%(GallioFolder.FullPath)Gallio.Echo.exe @(TestFiles-> '%(rootdir)%(directory)%(filename)%(extension)', ' ') /hd:$(PackagesFolder)\$(NUnitVersionFolder) /nl /rd:$(ArtifactsFolder)/tests " />
+
+ <!-- Notify user if Gallio is not found -->
+ <Warning
+ Condition="!Exists('%(GallioFolder.FullPath)')"
+ Text="Gallio is not installed under its expected location: %(Gallio.FullPath)" />
+
+ <!-- Notify user if NUnit is not found -->
+ <Warning
+ Condition="!Exists('%(NUnitFolder.FullPath)')"
+ Text="NUnit is not installed under its expected location: %(NUnit.FullPath)" />
+ </Target>
+
+ <Target Name="rules" DependsOnTargets="build">
+ <Exec Condition="Exists('%(FxCopFolder.FullPath)')" Command='"%(FxCopFolder.FullPath)\FxCopCmd.exe" @(FxCopCommands) @(FxCopReferences) /project:$(RootFolder)build\scripts\rules.fxcop /out:$(ArtifactsFolder)\fxcop.xml ' ContinueOnError="true">
+ <Output TaskParameter="ExitCode" PropertyName="ErrorCode"/>
+ </Exec>
+
+ <!-- Notify user if fxcop is not found -->
+ <Warning
+ Condition="!Exists('%(FxCopFolder.FullPath)')"
+ Text="FxCop is not installed under its expected location: %(FxCopFolder.FullPath)" />
+
+ </Target>
+
+ <Target Name="package" DependsOnTargets="build">
+ <Delete Files="@(CleanPackages)" />
+ <CallTarget Targets="@(PackageTargets)" />
+ </Target>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/mono-tools.targets
----------------------------------------------------------------------
diff --git a/build/scripts/mono-tools.targets b/build/scripts/mono-tools.targets
new file mode 100644
index 0000000..a46447f
--- /dev/null
+++ b/build/scripts/mono-tools.targets
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+
+ 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.
+
+-->
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+
+ <PropertyGroup>
+ <NUnitVersionFolder>NUnit.2.5.10.11092</NUnitVersionFolder>
+ </PropertyGroup>
+
+
+
+ <ItemGroup>
+ <NUnitFolder Include="\$(PackagesFolder)\$(NUnitVersionFolder)\tools\" />
+ </ItemGroup>
+
+ <Target Name="coverage">
+
+ </Target>
+
+ <Target Name="test">
+ <MakeDir Condition="!Exists('$(TEMP)')" Directories="$(TEMP)" />
+ <Exec Condition="Exists('%(NUnitFolder.FullPath)')" Command="%(NUnitFolder.FullPath)nunit-console.exe -nologo @(TestFiles) /xml:$(ArtifactsFolder)\test-results.xml " />
+ <Message Condition="!Exists('%(NUnitFolder.FullPath)')" Text="The Nunit folder does not exist: %(NUnitFolder.FullPath)" />
+ </Target>
+
+ <Target Name="rules">
+
+ </Target>
+
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/rules.fxcop
----------------------------------------------------------------------
diff --git a/build/scripts/rules.fxcop b/build/scripts/rules.fxcop
new file mode 100644
index 0000000..6b237a7
--- /dev/null
+++ b/build/scripts/rules.fxcop
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<FxCopProject Version="10.0" Name="My FxCop Project">
+ <ProjectOptions>
+ <SharedProject>True</SharedProject>
+ <Stylesheet Apply="False">$(FxCopDir)\Xml\FxCopReport.xsl</Stylesheet>
+ <SaveMessages>
+ <Project Status="Active, Excluded" NewOnly="False" />
+ <Report Status="Active" NewOnly="False" />
+ </SaveMessages>
+ <ProjectFile Compress="True" DefaultTargetCheck="True" DefaultRuleCheck="True" SaveByRuleGroup="" Deterministic="True" />
+ <EnableMultithreadedLoad>True</EnableMultithreadedLoad>
+ <EnableMultithreadedAnalysis>True</EnableMultithreadedAnalysis>
+ <SourceLookup>True</SourceLookup>
+ <AnalysisExceptionsThreshold>40</AnalysisExceptionsThreshold>
+ <RuleExceptionsThreshold>40</RuleExceptionsThreshold>
+ <Spelling Locale="en-US" />
+ <OverrideRuleVisibilities>False</OverrideRuleVisibilities>
+ <CustomDictionaries SearchFxCopDir="True" SearchUserProfile="True" SearchProjectDir="True" />
+ <SearchGlobalAssemblyCache>False</SearchGlobalAssemblyCache>
+ <DeadlockDetectionTimeout>120</DeadlockDetectionTimeout>
+ <IgnoreGeneratedCode>True</IgnoreGeneratedCode>
+ </ProjectOptions>
+ <Targets>
+ <AssemblyReferenceDirectories>
+ <Directory>$(ProjectDir)/../bin/core/Debug/</Directory>
+ <Directory>$(ProjectDir)/../bin/core/Debug/</Directory>
+ <Directory>$(ProjectDir)/../../packages/PortableLibrary/</Directory>
+ <Directory>$(ProjectDir)/../../PortableLibrary/</Directory>
+ </AssemblyReferenceDirectories>
+ </Targets>
+ <Rules>
+ <RuleFiles>
+ <RuleFile Name="$(FxCopDir)\Rules\DesignRules.dll" Enabled="True" AllRulesEnabled="False">
+ <Rule Name="AbstractTypesShouldNotHaveConstructors" Enabled="True" />
+ <Rule Name="AssembliesShouldHaveValidStrongNames" Enabled="True" />
+ <Rule Name="AvoidEmptyInterfaces" Enabled="True" />
+ <Rule Name="AvoidExcessiveParametersOnGenericTypes" Enabled="True" />
+ <Rule Name="AvoidNamespacesWithFewTypes" Enabled="True" />
+ <Rule Name="AvoidOutParameters" Enabled="True" />
+ <Rule Name="CollectionsShouldImplementGenericInterface" Enabled="True" />
+ <Rule Name="ConsiderPassingBaseTypesAsParameters" Enabled="True" />
+ <Rule Name="DeclareEventHandlersCorrectly" Enabled="True" />
+ <Rule Name="DeclareTypesInNamespaces" Enabled="True" />
+ <Rule Name="DefineAccessorsForAttributeArguments" Enabled="True" />
+ <Rule Name="DoNotCatchGeneralExceptionTypes" Enabled="True" />
+ <Rule Name="DoNotDeclareProtectedMembersInSealedTypes" Enabled="True" />
+ <Rule Name="DoNotDeclareStaticMembersOnGenericTypes" Enabled="True" />
+ <Rule Name="DoNotDeclareVirtualMembersInSealedTypes" Enabled="True" />
+ <Rule Name="DoNotDeclareVisibleInstanceFields" Enabled="True" />
+ <Rule Name="DoNotExposeGenericLists" Enabled="True" />
+ <Rule Name="DoNotHideBaseClassMethods" Enabled="True" />
+ <Rule Name="DoNotNestGenericTypesInMemberSignatures" Enabled="True" />
+ <Rule Name="DoNotOverloadOperatorEqualsOnReferenceTypes" Enabled="True" />
+ <Rule Name="DoNotPassTypesByReference" Enabled="True" />
+ <Rule Name="DoNotRaiseExceptionsInUnexpectedLocations" Enabled="True" />
+ <Rule Name="EnumeratorsShouldBeStronglyTyped" Enabled="True" />
+ <Rule Name="EnumsShouldHaveZeroValue" Enabled="True" />
+ <Rule Name="EnumStorageShouldBeInt32" Enabled="True" />
+ <Rule Name="ExceptionsShouldBePublic" Enabled="True" />
+ <Rule Name="GenericMethodsShouldProvideTypeParameter" Enabled="True" />
+ <Rule Name="ICollectionImplementationsHaveStronglyTypedMembers" Enabled="True" />
+ <Rule Name="ImplementIDisposableCorrectly" Enabled="True" />
+ <Rule Name="ImplementStandardExceptionConstructors" Enabled="True" />
+ <Rule Name="IndexersShouldNotBeMultidimensional" Enabled="True" />
+ <Rule Name="InterfaceMethodsShouldBeCallableByChildTypes" Enabled="True" />
+ <Rule Name="ListsAreStronglyTyped" Enabled="True" />
+ <Rule Name="MarkAssembliesWithAssemblyVersion" Enabled="True" />
+ <Rule Name="MarkAssembliesWithClsCompliant" Enabled="True" />
+ <Rule Name="MarkAssembliesWithComVisible" Enabled="True" />
+ <Rule Name="MarkAttributesWithAttributeUsage" Enabled="True" />
+ <Rule Name="MarkEnumsWithFlags" Enabled="True" />
+ <Rule Name="MembersShouldNotExposeCertainConcreteTypes" Enabled="True" />
+ <Rule Name="MovePInvokesToNativeMethodsClass" Enabled="True" />
+ <Rule Name="NestedTypesShouldNotBeVisible" Enabled="True" />
+ <Rule Name="OverloadOperatorEqualsOnOverloadingAddAndSubtract" Enabled="True" />
+ <Rule Name="OverrideMethodsOnComparableTypes" Enabled="True" />
+ <Rule Name="PropertiesShouldNotBeWriteOnly" Enabled="True" />
+ <Rule Name="ProvideObsoleteAttributeMessage" Enabled="True" />
+ <Rule Name="ReplaceRepetitiveArgumentsWithParamsArray" Enabled="True" />
+ <Rule Name="StaticHolderTypesShouldBeSealed" Enabled="True" />
+ <Rule Name="StaticHolderTypesShouldNotHaveConstructors" Enabled="True" />
+ <Rule Name="StringUriOverloadsCallSystemUriOverloads" Enabled="True" />
+ <Rule Name="TypesShouldNotExtendCertainBaseTypes" Enabled="True" />
+ <Rule Name="TypesThatOwnDisposableFieldsShouldBeDisposable" Enabled="True" />
+ <Rule Name="TypesThatOwnNativeResourcesShouldBeDisposable" Enabled="True" />
+ <Rule Name="UriParametersShouldNotBeStrings" Enabled="True" />
+ <Rule Name="UriPropertiesShouldNotBeStrings" Enabled="True" />
+ <Rule Name="UriReturnValuesShouldNotBeStrings" Enabled="True" />
+ <Rule Name="UseEventsWhereAppropriate" Enabled="True" />
+ <Rule Name="UseGenericEventHandlerInstances" Enabled="True" />
+ <Rule Name="UseGenericsWhereAppropriate" Enabled="True" />
+ <Rule Name="UseIntegralOrStringArgumentForIndexers" Enabled="True" />
+ <Rule Name="UsePropertiesWhereAppropriate" Enabled="True" />
+ </RuleFile>
+ <RuleFile Name="$(FxCopDir)\Rules\GlobalizationRules.dll" Enabled="True" AllRulesEnabled="True" />
+ <RuleFile Name="$(FxCopDir)\Rules\InteroperabilityRules.dll" Enabled="True" AllRulesEnabled="False">
+ <Rule Name="AutoLayoutTypesShouldNotBeComVisible" Enabled="True" />
+ <Rule Name="AvoidInt64ArgumentsForVB6Clients" Enabled="True" />
+ <Rule Name="AvoidOverloadsInComVisibleInterfaces" Enabled="True" />
+ <Rule Name="AvoidStaticMembersInComVisibleTypes" Enabled="True" />
+ <Rule Name="CallGetLastErrorImmediatelyAfterPInvoke" Enabled="True" />
+ <Rule Name="ComRegistrationMethodsShouldBeMatched" Enabled="True" />
+ <Rule Name="ComRegistrationMethodsShouldNotBeVisible" Enabled="True" />
+ <Rule Name="ComVisibleTypeBaseTypesShouldBeComVisible" Enabled="True" />
+ <Rule Name="ComVisibleTypesShouldBeCreatable" Enabled="True" />
+ <Rule Name="DeclarePInvokesCorrectly" Enabled="True" />
+ <Rule Name="DoNotUseAutoDualClassInterfaceType" Enabled="True" />
+ <Rule Name="MarkBooleanPInvokeArgumentsWithMarshalAs" Enabled="True" />
+ <Rule Name="MarkComSourceInterfacesAsIDispatch" Enabled="True" />
+ <Rule Name="PInvokeEntryPointsShouldExist" Enabled="True" />
+ <Rule Name="PInvokesShouldNotBeVisible" Enabled="True" />
+ </RuleFile>
+ <RuleFile Name="$(FxCopDir)\Rules\MobilityRules.dll" Enabled="True" AllRulesEnabled="True" />
+ <RuleFile Name="$(FxCopDir)\Rules\NamingRules.dll" Enabled="True" AllRulesEnabled="True" />
+ <RuleFile Name="$(FxCopDir)\Rules\PerformanceRules.dll" Enabled="True" AllRulesEnabled="True" />
+ <RuleFile Name="$(FxCopDir)\Rules\PortabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
+ <RuleFile Name="$(FxCopDir)\Rules\SecurityRules.dll" Enabled="True" AllRulesEnabled="True" />
+ <RuleFile Name="$(FxCopDir)\Rules\SecurityTransparencyRules.dll" Enabled="True" AllRulesEnabled="True" />
+ <RuleFile Name="$(FxCopDir)\Rules\UsageRules.dll" Enabled="True" AllRulesEnabled="True" />
+ </RuleFiles>
+ <Groups />
+ <Settings />
+ </Rules>
+ <FxCopReport Version="10.0" />
+</FxCopProject>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/rules.stylecop
----------------------------------------------------------------------
diff --git a/build/scripts/rules.stylecop b/build/scripts/rules.stylecop
new file mode 100644
index 0000000..7f0da4a
--- /dev/null
+++ b/build/scripts/rules.stylecop
@@ -0,0 +1,48 @@
+<?xml version='1.0'?>
+<!--
+
+ Licensed 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.
+
+-->
+<StyleCopSettings Version="4.3">
+ <Parsers>
+ <Parser ParserId="StyleCop.CSharp.CsParser">
+ <ParserSettings>
+ <CollectionProperty Name="GeneratedFileFilters">
+ <Value>\.g\.cs$</Value>
+ <Value>\.generated\.cs$</Value>
+ <Value>\.g\.i\.cs$</Value>
+ </CollectionProperty>
+ </ParserSettings>
+ </Parser>
+ </Parsers>
+ <Analyzers>
+ <Analyzer AnalyzerId="StyleCop.CSharp.NamingRules">
+ <AnalyzerSettings>
+ <CollectionProperty Name="Hungarian">
+ <Value>as</Value>
+ <Value>do</Value>
+ <Value>id</Value>
+ <Value>if</Value>
+ <Value>in</Value>
+ <Value>is</Value>
+ <Value>my</Value>
+ <Value>no</Value>
+ <Value>on</Value>
+ <Value>to</Value>
+ <Value>ui</Value>
+ </CollectionProperty>
+ </AnalyzerSettings>
+ </Analyzer>
+ </Analyzers>
+</StyleCopSettings>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/template.shfbproj
----------------------------------------------------------------------
diff --git a/build/scripts/template.shfbproj b/build/scripts/template.shfbproj
new file mode 100644
index 0000000..c27a3b6
--- /dev/null
+++ b/build/scripts/template.shfbproj
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <Import Project="core/documentation.targets" Condition="'$(BuildArea)' == 'core'" />
+
+ <PropertyGroup>
+ <!-- The configuration and platform will be used to determine which
+ assemblies to include from solution and project documentation
+ sources -->
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{f57dd4a8-d22e-43fd-87de-2ba22a54564d}</ProjectGuid>
+ <SHFBSchemaVersion>1.9.3.0</SHFBSchemaVersion>
+ <!-- AssemblyName, Name, and RootNamespace are not used by SHFB but Visual
+ Studio adds them anyway -->
+ <AssemblyName>Documentation</AssemblyName>
+ <RootNamespace>Documentation</RootNamespace>
+ <Name>Documentation</Name>
+ <!-- SHFB properties -->
+ <OutputPath>..\artifacts\docs\</OutputPath>
+ <HtmlHelpName>Lucene.Net</HtmlHelpName>
+ <Language>en-US</Language>
+ <DocumentationSources>
+ <DocumentationSource sourceFile="..\bin\core\Debug\Lucene.Net.dll" />
+ <DocumentationSource sourceFile="..\bin\core\Debug\Lucene.Net.XML" />
+ </DocumentationSources>
+ <SandcastlePath>C:\Program Files (x86)\Sandcastle\</SandcastlePath>
+ <BuildLogFile />
+ <HtmlHelp1xCompilerPath />
+ <HtmlHelp2xCompilerPath />
+ <WorkingPath>..\artifacts\working\</WorkingPath>
+ <HelpFileFormat>HtmlHelp1, Website</HelpFileFormat>
+ <HelpTitle>Lucene.Net Class Library</HelpTitle>
+ <BinaryTOC>False</BinaryTOC>
+ <IncludeStopWordList>False</IncludeStopWordList>
+ </PropertyGroup>
+ <!-- There are no properties for these groups. AnyCPU needs to appear in
+ order for Visual Studio to perform the build. The others are optional
+ common platform types that may appear. -->
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' ">
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib">
+ <HintPath>..\..\packages\PortableLibrary\mscorlib.dll</HintPath>
+ </Reference>
+ <Reference Include="System">
+ <HintPath>..\..\packages\PortableLibrary\System.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Core">
+ <HintPath>..\..\packages\PortableLibrary\System.Core.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Net">
+ <HintPath>..\..\packages\PortableLibrary\System.Net.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Xml">
+ <HintPath>..\..\packages\PortableLibrary\System.Xml.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <!-- Import the SHFB build targets -->
+ <Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" />
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/user.targets
----------------------------------------------------------------------
diff --git a/build/scripts/user.targets b/build/scripts/user.targets
new file mode 100644
index 0000000..501f912
--- /dev/null
+++ b/build/scripts/user.targets
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+
+ 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.
+
+-->
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+
+
+ <PropertyGroup>
+ <Configuration Condition="'$(Configuration)' == '' Or '$(Configuration)' == 'debug'">Debug</Configuration>
+ <Configuration Condition="'$(Configuration)' == 'release'">Release</Configuration>
+ <BuildArea Condition="'$(BuildArea)' == ''">all</BuildArea>
+ <LuceneFolder>core</LuceneFolder>
+ <ContribFolder>contrib</ContribFolder>
+ <BinFolder>bin</BinFolder>
+ <SourceFolder>src</SourceFolder>
+ <TestFolder>test</TestFolder>
+ <LibFolder>lib</LibFolder>
+ <!-- This path is a bit redundant -->
+ <NUnitBinFolder>lib\NUnit.org\NUnit\2.5.9\bin\net-2.0\</NUnitBinFolder>
+ <TempFolder>$(TEMP)</TempFolder>
+ <BuildFolder>$(MSBuildProjectDirectory)</BuildFolder>
+ <RootFolder>$(MSBuildProjectDirectory)\..\..\</RootFolder>
+ <Executable></Executable>
+ </PropertyGroup>
+
+ <!-- To Execute commands on mono like running nunit, it requires running through the program mono.exe -->
+ <PropertyGroup Condition="'$(NETFRAMEWORK)' == 'mono'">
+ <Executable>mono</Executable>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <LuceneSourceFolder>$(RootFolder)$(SourceFolder)\$(LuceneFolder)\</LuceneSourceFolder>
+ <LuceneTestFolder>$(RootFolder)$(TestFolder)\$(LuceneFolder)\</LuceneTestFolder>
+ <LuceneBinFolder>$(RootFolder)$(BinFolder)\$(LuceneFolder)\</LuceneBinFolder>
+ <ContribSourceFolder>$(RootFolder)$(SourceFolder)\$(ContribFolder)\</ContribSourceFolder>
+ <ContribTestFolder>$(RootFolder)$(TestFolder)\$(ContribFolder)\</ContribTestFolder>
+ <ContribBinFolder>$(RootFolder)$(BinFolder)\$(ContribFolder)\</ContribBinFolder>
+ </PropertyGroup>
+
+
+
+ <ItemGroup Condition="'$(BuildArea)' == 'lucene' Or '$(BuildArea)' == 'all'">
+ <BuildFiles Include="\$(LuceneBinFolder)**\*" />
+ <TestFiles Include="\$(LuceneBinFolder)**\*.Test.dll" />
+ <SubFiles Include="\$(LuceneBinFolder)$(Configuration)\**\*.*" Exclude="\$(LuceneBinFolder)$(Configuration)\*.*" />
+ <ProjectFiles Include="\$(LuceneSourceFolder)\**\*.csproj" />
+ <ProjectFiles Include="\$(LuceneTestFolder)\**\*.csproj" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <SubFolders Include="@(SubFiles->'%(RootDir)%(Directory)')" />
+ <NUnitFolder Include="\$(RootFolder)$(NunitBinFolder)" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <BuildFolders Include="@(SubFolders->'%(RootDir)%(Directory)')" Exclude="\$(LuceneBinFolder)" />
+ </ItemGroup>
+
+ <Target Name="clean">
+ <Exec Command="echo %(BuildFolders.FullPath)" WorkingDirectory="/" />
+ <Delete Files="@(BuildFiles)" />
+ <!--
+ TODO: fix this
+ <RemoveDir Directories="@(BuildFolders)" /> -->
+ </Target>
+
+ <Target Name="build">
+ <MSBuild Projects="@(ProjectFiles)" Properties="Configuration=$(Configuration)" />
+ </Target>
+
+ <Target Name="test">
+ <MakeDir Condition="!Exists('$(TEMP)')" Directories="$(TEMP)" />
+
+ <Exec Command="$(Executable) %(NUnitFolder.FullPath)nunit-console.exe -nologo @(TestFiles).FullPath" />
+ </Target>
+
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/validate-tool-chain.ps1
----------------------------------------------------------------------
diff --git a/build/scripts/validate-tool-chain.ps1 b/build/scripts/validate-tool-chain.ps1
new file mode 100644
index 0000000..940fc35
--- /dev/null
+++ b/build/scripts/validate-tool-chain.ps1
@@ -0,0 +1,304 @@
+#
+# 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.
+#
+#
+#
+# NOTICE: This script could mess up your development box. Use with extreme
+# caution. Better yet, test this on a non-production env vm before attempting
+# to use it on any box you consider important.
+#
+#
+# This is essentially a devopts script for installing tools that are needed for
+# the Lucene.NEt build scripts to run CI on windows.
+#
+# The script could use some refactoring and has the need to
+# increase its functionality for version & better error checking.
+#
+# However it is a good alternative to having to remember where to
+# certain download software packages from or what to execute after the install.
+#
+# This could also be handy for setting up new dev machines on windows 8 previews.
+#
+# When Co-App is finally released and is considered stable, we could potentially
+# replace this script with that.
+# http://coapp.org/
+
+function Get-ScriptDirectory
+{
+ $script = (Get-Variable MyInvocation -Scope 1).Value
+ Split-Path $script.MyCommand.Path
+}
+
+$cd = Get-ScriptDirectory;
+
+$Folder64 = $Env:ProgramFiles;
+$Folder32 = ${Env:ProgramFiles(x86)};
+
+$RequireWin7_1 = $false;
+$RequireFxCop10 = $false;
+$RequireSHFB = $false;
+$RequireNCover = $false;
+
+echo $Folder32;
+
+$FindWin7_1 = Test-Path ($Folder64 + "\Microsoft SDKs\Windows\v7.1");
+if($FindWin7_1 -eq $false) {
+ $FindWin7_1 = Test-Path ($Folder32 + "\Microsoft SDKs\Windows\v7.1");
+}
+
+if($FindWin7_1 -eq $false) {
+ echo "Windows 7.1 SDK ..Not installed in its expected location.";
+ $RequireWin7_1 = $true;
+} else {
+ echo "Windows 7.1 SDK ..Found.";
+}
+
+$FindFxCop10 = Test-Path($Folder32 + "\Microsoft Fxcop 10.0");
+
+if($FindFxCop10 -eq $false) {
+ echo "Fx Cop 10 is not installed in its expected location.";
+ $RequireFxCop10 = $true;
+} else {
+ echo "Fx Cop 10 ..Found.";
+}
+
+$FindNCover = Test-Path ($Folder32 + "\NCover\NCover.Console.exe");
+if($FindNCover -eq $false) {
+ echo "NCover is not installed in its expected location.";
+ $RequireNCover = $true;
+} else {
+ echo "NCover ..Found.";
+}
+
+$FindSHFB = Test-Path ($Folder32 + "\EWSoftware\Sandcastle Help File Builder");
+
+if($FindSHFB -eq $false) {
+ echo "Sandcastle Help File Builder is not installed in its expected location.";
+ $RequireSFHB = $true;
+} else {
+ echo "Sandcastle Help File Builder ..Found.";
+}
+
+Function PromptForSHFBInstall
+{
+ $process = read-host "Do you want to download and install SandCastle Help File Builder ? (Y) or (N)";
+ if($process -eq "Y")
+ {
+
+ $license = Read-Host "Do you agree to reading and accepting the ms-pl license http://www.opensource.org/licenses/MS-PL ? (Y) or (N)";
+
+ if($license -eq "Y")
+ {
+ [System.Reflection.Assembly]::LoadFrom((Join-Path ($cd) "..\..\lib\ICSharpCode\SharpZipLib\0.85\ICSharpCode.SharpZipLib.dll"));
+ $zip = New-Object ICSharpCode.SharpZipLib.Zip.FastZip
+ $client = new-object System.Net.WebClient;
+ $SHFBUrl = "http://download.codeplex.com/Download?ProjectName=shfb&DownloadId=214182&FileTime=129456589216470000&Build=18101";
+ $SHFBFileName = Join-Path $home Downloads\SHFBGuidedInstallation.zip;
+ $SHFBFileNameExtract = Join-Path $home Downloads\SHFBGuidedInstallation;
+ [System.Net.GlobalProxySelection]::Select = [System.Net.GlobalProxySelection]::GetEmptyWebProxy();
+ trap { $error[0].Exception.ToString() }
+
+ $exists = Test-Path $SHFBFileName;
+ if($exists -eq $false)
+ {
+ echo ("Downloading SHFB to " + $SHFBFileName);
+ $client.DownloadFile($SHFBUrl,$SHFBFileName);
+ }
+
+ $exists = Test-Path $SHFBFileNameExtract;
+ if($exists -eq $false)
+ {
+ echo ("Extracting SHFB to " + $SHFBFileNameExtract);
+ $zip.ExtractZip($SHFBFileName, $SHFBFileNameExtract, $null);
+ }
+
+
+ echo ("Installing SHFB...");
+ $installer = Join-Path $HOME Downloads\SHFBGuidedInstallation\SandCastleInstaller.exe
+
+
+ trap [Exception] {
+ echo $_.Exception.Message;
+ return;
+ }
+ & $installer | Out-Null
+
+ if($LASTEXITCODE -eq 0)
+ {
+ echo "SHFB was installed" ;
+ } else {
+ echo "SHFB installation failed.";
+ return;
+ }
+
+ echo ("Deleting SHFB Zip");
+ del $SHFBFileName;
+
+ echo ("Deleteing Extracted Files...");
+ del $SHFBFileNameExtract;
+ }
+ else
+ {
+ echo "SandCastle Help File Builder install aborted.";
+ }
+ }
+}
+
+Function PromptForWinSdk7_1Install
+{
+ $process = read-host "Do you want to download and install Windows Sdk 7.1 ? (Y) or (N)";
+ if($process -eq "Y")
+ {
+ $client = new-object System.Net.WebClient;
+ $WinSdk7_1Url = "http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/winsdk_web.exe";
+ $WinSdk7_1FileName = Join-Path $home Downloads\winsdk_web.exe;
+ [System.Net.GlobalProxySelection]::Select = [System.Net.GlobalProxySelection]::GetEmptyWebProxy();
+ trap { $error[0].Exception.ToString() }
+
+ $exists = Test-Path $WinSdk7_1FileName;
+ if($exists -eq $false)
+ {
+ echo ("Downloading Win Sdk 7.1 to " + $WinSdk7_1FileName);
+ $client.DownloadFile($WinSdk7_1Url,$WinSdk7_1FileName);
+ }
+
+
+ echo ("Installing Win Sdk 7.1 ...");
+ $installer = $WinSdk7_1FileName;
+ trap [Exception] {
+ echo $_.Exception.Message;
+ return;
+ }
+
+ & $installer
+
+ echo "Attempting to setup Win Sdk Version...";
+ $verExe = "C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe";
+ $verExeExists = Test-Path $verExe;
+
+
+ echo "Say yes to the next next two prompts if you wish to set WindowsSdkVer to -version:v7.1 ...";
+ if($verExeExists)
+ {
+ $p = [diagnostics.process]::Start($verExe, " -version:v7.1");
+
+ trap [Exception] {
+ echo ("Most likely this action was cancelled by you.: " + $_.Exception.Message);
+ return;
+ }
+
+ $p.WaitForExit() | out-null
+ if($LASTEXITCODE -eq 0)
+ {
+ echo "Win Sdk 7.1 was installed" ;
+ } else {
+ echo "Win Sdk 7.1 failed.";
+ return;
+ }
+
+
+ } else {
+ echo ($verExe + "was not found.")
+ }
+
+ echo ("Deleteing installer...");
+ del $WinSdk7_1FileName;
+ $RequireWin7_1 = $false;
+
+ }
+ else
+ {
+ echo "Win Sdk 7.1 install aborted.";
+ }
+
+}
+
+Function PromptForFxCop10Install()
+{
+ $process = read-host "Do you want to install FxCop 10.0 (WinSdk 7.1 is required)? (Y) or (N)";
+ if($process -eq "Y")
+ {
+ $fxCopExe = "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\FXCop\FxCopSetup.exe";
+ $fxCopExeExists = Test-Path $fxCopExe;
+
+ if($fxCopExeExists -eq $true)
+ {
+ trap [Exception] {
+ echo $_.Exception.Message;
+ return;
+ }
+ & $fxCopExe;
+
+ } else {
+ echo ("The installer for fxcop 10 was not found at its expected location: " + $fxCopExe);
+ return;
+ }
+ }
+}
+
+Function PromptForNCoverInstall()
+{
+ $process = read-host "NCover is not free, you are responsible for obtaining your own license. Do you want to install NCover ? (Y) or (N)";
+
+
+ if($process -eq "Y")
+ {
+ $client = new-object System.Net.WebClient;
+ $download = "http://downloads.ncover.com/NCover-x64-3.4.18.6937.msi";
+ $downloadFileName = Join-Path ($home + "Downloads\NCover-x64-3.4.18.6937.msi");
+ [System.Net.GlobalProxySelection]::Select = [System.Net.GlobalProxySelection]::GetEmptyWebProxy();
+ trap { $error[0].Exception.ToString() }
+
+
+ $exists = Test-Path $downloadFileName;
+ if($exists -eq $false)
+ {
+ echo ("Downloading NCover to " + $downloadFileName);
+ $client.DownloadFile($download,$downloadFileName);
+ }
+
+ echo "Installing NCover...";
+ trap [Exception] {
+ echo $_.Exception.Message;
+ return;
+ }
+ & $fxCopExe;
+
+ echo "Deleting installer....";
+ del $downloadFileName;
+ }
+}
+
+
+if($RequireSFHB -eq $true)
+{
+ PromptForSHFBInstall;
+}
+
+if($RequireWin7_1 -eq $true)
+{
+ PromptForWinSdk7_1Install
+}
+
+if($RequireWin7_1 -eq $false -and $RequireFxCop10 -eq $true)
+{
+ PromptForFxCop10Install
+}
+
+if($RequireNCover -eq $true)
+{
+ PromptForNCoverInstall
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/scripts/version.targets
----------------------------------------------------------------------
diff --git a/build/scripts/version.targets b/build/scripts/version.targets
new file mode 100644
index 0000000..2f8ba49
--- /dev/null
+++ b/build/scripts/version.targets
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!--
+
+ 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.
+
+-->
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <!-- This file can be overwritten -->
+ <PropertyGroup>
+ <Version>3.0.3</Version>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/vs2010/contrib/Contrib.All.sln
----------------------------------------------------------------------
diff --git a/build/vs2010/contrib/Contrib.All.sln b/build/vs2010/contrib/Contrib.All.sln
new file mode 100644
index 0000000..01a6b60
--- /dev/null
+++ b/build/vs2010/contrib/Contrib.All.sln
@@ -0,0 +1,166 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual C# Express 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lucene.Net", "..\..\..\src\core\Lucene.Net.csproj", "{5D4AD9BE-1FFB-41AB-9943-25737971BF57}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Core", "..\..\..\src\contrib\Core\Contrib.Core.csproj", "{FEF899EB-610C-4D3C-A556-A01F56F4AFE0}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Analyzers", "..\..\..\src\contrib\Analyzers\Contrib.Analyzers.csproj", "{4286E961-9143-4821-B46D-3D39D3736386}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.FastVectorHighlighter", "..\..\..\src\contrib\FastVectorHighlighter\Contrib.FastVectorHighlighter.csproj", "{9D2E3153-076F-49C5-B83D-FB2573536B5F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Highlighter", "..\..\..\src\contrib\Highlighter\Contrib.Highlighter.csproj", "{901D5415-383C-4AA6-A256-879558841BEA}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Queries", "..\..\..\src\contrib\Queries\Contrib.Queries.csproj", "{481CF6E3-52AF-4621-9DEB-022122079AF6}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Snowball", "..\..\..\src\contrib\Snowball\Contrib.Snowball.csproj", "{8F9D7A92-F122-413E-9D8D-027E4ECD327C}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Spatial", "..\..\..\src\contrib\Spatial\Contrib.Spatial.csproj", "{35C347F4-24B2-4BE5-8117-A0E3001551CE}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.SpellChecker", "..\..\..\src\contrib\SpellChecker\Contrib.SpellChecker.csproj", "{FF45EE91-9CA3-443D-8231-75E9FA1AF40E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.WordNet.SynExpand", "..\..\..\src\contrib\WordNet\SynExpand\Contrib.WordNet.SynExpand.csproj", "{1407C9BA-337C-4C6C-B065-68328D3871B3}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.WordNet.SynLookup", "..\..\..\src\contrib\WordNet\SynLookup\Contrib.WordNet.SynLookup.csproj", "{2CA12E3F-76E1-4FA6-9E87-37079A7B7C69}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.WordNet.Syns2Index", "..\..\..\src\contrib\WordNet\Syns2Index\Contrib.WordNet.Syns2Index.csproj", "{7563D4D9-AE91-42BA-A270-1D264660F6DF}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Regex", "..\..\..\src\contrib\Regex\Contrib.Regex.csproj", "{A26BD3B7-DF90-43B4-99E2-6A617CDE1579}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleFacetedSearch", "..\..\..\src\contrib\SimpleFacetedSearch\SimpleFacetedSearch.csproj", "{66772190-FB3F-48F5-8E05-0B302BACEA73}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Memory", "..\..\..\src\contrib\Memory\Contrib.Memory.csproj", "{112B9A7C-29CC-4539-8F5A-45669C07CD4D}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug35|Any CPU = Debug35|Any CPU
+ Debug|Any CPU = Debug|Any CPU
+ Release35|Any CPU = Release35|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {112B9A7C-29CC-4539-8F5A-45669C07CD4D}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {112B9A7C-29CC-4539-8F5A-45669C07CD4D}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {112B9A7C-29CC-4539-8F5A-45669C07CD4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {112B9A7C-29CC-4539-8F5A-45669C07CD4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {112B9A7C-29CC-4539-8F5A-45669C07CD4D}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {112B9A7C-29CC-4539-8F5A-45669C07CD4D}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {112B9A7C-29CC-4539-8F5A-45669C07CD4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {112B9A7C-29CC-4539-8F5A-45669C07CD4D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1407C9BA-337C-4C6C-B065-68328D3871B3}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {1407C9BA-337C-4C6C-B065-68328D3871B3}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {1407C9BA-337C-4C6C-B065-68328D3871B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1407C9BA-337C-4C6C-B065-68328D3871B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1407C9BA-337C-4C6C-B065-68328D3871B3}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {1407C9BA-337C-4C6C-B065-68328D3871B3}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {1407C9BA-337C-4C6C-B065-68328D3871B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1407C9BA-337C-4C6C-B065-68328D3871B3}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2CA12E3F-76E1-4FA6-9E87-37079A7B7C69}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {2CA12E3F-76E1-4FA6-9E87-37079A7B7C69}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {2CA12E3F-76E1-4FA6-9E87-37079A7B7C69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2CA12E3F-76E1-4FA6-9E87-37079A7B7C69}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2CA12E3F-76E1-4FA6-9E87-37079A7B7C69}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {2CA12E3F-76E1-4FA6-9E87-37079A7B7C69}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {2CA12E3F-76E1-4FA6-9E87-37079A7B7C69}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2CA12E3F-76E1-4FA6-9E87-37079A7B7C69}.Release|Any CPU.Build.0 = Release|Any CPU
+ {35C347F4-24B2-4BE5-8117-A0E3001551CE}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {35C347F4-24B2-4BE5-8117-A0E3001551CE}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {35C347F4-24B2-4BE5-8117-A0E3001551CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {35C347F4-24B2-4BE5-8117-A0E3001551CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {35C347F4-24B2-4BE5-8117-A0E3001551CE}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {35C347F4-24B2-4BE5-8117-A0E3001551CE}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {35C347F4-24B2-4BE5-8117-A0E3001551CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {35C347F4-24B2-4BE5-8117-A0E3001551CE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Release|Any CPU.Build.0 = Release|Any CPU
+ {481CF6E3-52AF-4621-9DEB-022122079AF6}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {481CF6E3-52AF-4621-9DEB-022122079AF6}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {481CF6E3-52AF-4621-9DEB-022122079AF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {481CF6E3-52AF-4621-9DEB-022122079AF6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {481CF6E3-52AF-4621-9DEB-022122079AF6}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {481CF6E3-52AF-4621-9DEB-022122079AF6}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {481CF6E3-52AF-4621-9DEB-022122079AF6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {481CF6E3-52AF-4621-9DEB-022122079AF6}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release|Any CPU.Build.0 = Release|Any CPU
+ {66772190-FB3F-48F5-8E05-0B302BACEA73}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {66772190-FB3F-48F5-8E05-0B302BACEA73}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {66772190-FB3F-48F5-8E05-0B302BACEA73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {66772190-FB3F-48F5-8E05-0B302BACEA73}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {66772190-FB3F-48F5-8E05-0B302BACEA73}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {66772190-FB3F-48F5-8E05-0B302BACEA73}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {66772190-FB3F-48F5-8E05-0B302BACEA73}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {66772190-FB3F-48F5-8E05-0B302BACEA73}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7563D4D9-AE91-42BA-A270-1D264660F6DF}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {7563D4D9-AE91-42BA-A270-1D264660F6DF}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {7563D4D9-AE91-42BA-A270-1D264660F6DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7563D4D9-AE91-42BA-A270-1D264660F6DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7563D4D9-AE91-42BA-A270-1D264660F6DF}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {7563D4D9-AE91-42BA-A270-1D264660F6DF}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {7563D4D9-AE91-42BA-A270-1D264660F6DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7563D4D9-AE91-42BA-A270-1D264660F6DF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8F9D7A92-F122-413E-9D8D-027E4ECD327C}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {8F9D7A92-F122-413E-9D8D-027E4ECD327C}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {8F9D7A92-F122-413E-9D8D-027E4ECD327C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8F9D7A92-F122-413E-9D8D-027E4ECD327C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8F9D7A92-F122-413E-9D8D-027E4ECD327C}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {8F9D7A92-F122-413E-9D8D-027E4ECD327C}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {8F9D7A92-F122-413E-9D8D-027E4ECD327C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8F9D7A92-F122-413E-9D8D-027E4ECD327C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {901D5415-383C-4AA6-A256-879558841BEA}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {901D5415-383C-4AA6-A256-879558841BEA}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {901D5415-383C-4AA6-A256-879558841BEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {901D5415-383C-4AA6-A256-879558841BEA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {901D5415-383C-4AA6-A256-879558841BEA}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {901D5415-383C-4AA6-A256-879558841BEA}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {901D5415-383C-4AA6-A256-879558841BEA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {901D5415-383C-4AA6-A256-879558841BEA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9D2E3153-076F-49C5-B83D-FB2573536B5F}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {9D2E3153-076F-49C5-B83D-FB2573536B5F}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {9D2E3153-076F-49C5-B83D-FB2573536B5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9D2E3153-076F-49C5-B83D-FB2573536B5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9D2E3153-076F-49C5-B83D-FB2573536B5F}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {9D2E3153-076F-49C5-B83D-FB2573536B5F}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {9D2E3153-076F-49C5-B83D-FB2573536B5F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9D2E3153-076F-49C5-B83D-FB2573536B5F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A26BD3B7-DF90-43B4-99E2-6A617CDE1579}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {A26BD3B7-DF90-43B4-99E2-6A617CDE1579}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {A26BD3B7-DF90-43B4-99E2-6A617CDE1579}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A26BD3B7-DF90-43B4-99E2-6A617CDE1579}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A26BD3B7-DF90-43B4-99E2-6A617CDE1579}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {A26BD3B7-DF90-43B4-99E2-6A617CDE1579}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {A26BD3B7-DF90-43B4-99E2-6A617CDE1579}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A26BD3B7-DF90-43B4-99E2-6A617CDE1579}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FF45EE91-9CA3-443D-8231-75E9FA1AF40E}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {FF45EE91-9CA3-443D-8231-75E9FA1AF40E}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {FF45EE91-9CA3-443D-8231-75E9FA1AF40E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FF45EE91-9CA3-443D-8231-75E9FA1AF40E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FF45EE91-9CA3-443D-8231-75E9FA1AF40E}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {FF45EE91-9CA3-443D-8231-75E9FA1AF40E}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {FF45EE91-9CA3-443D-8231-75E9FA1AF40E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FF45EE91-9CA3-443D-8231-75E9FA1AF40E}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/vs2010/contrib/Contrib.Analyzers.sln
----------------------------------------------------------------------
diff --git a/build/vs2010/contrib/Contrib.Analyzers.sln b/build/vs2010/contrib/Contrib.Analyzers.sln
new file mode 100644
index 0000000..1a25cde
--- /dev/null
+++ b/build/vs2010/contrib/Contrib.Analyzers.sln
@@ -0,0 +1,36 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual C# Express 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lucene.Net", "..\..\..\src\core\Lucene.Net.csproj", "{5D4AD9BE-1FFB-41AB-9943-25737971BF57}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Analyzers", "..\..\..\src\contrib\Analyzers\Contrib.Analyzers.csproj", "{4286E961-9143-4821-B46D-3D39D3736386}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug35|Any CPU = Debug35|Any CPU
+ Debug|Any CPU = Debug|Any CPU
+ Release35|Any CPU = Release35|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {4286E961-9143-4821-B46D-3D39D3736386}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4286E961-9143-4821-B46D-3D39D3736386}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/44ef7383/build/vs2010/contrib/Contrib.Core.sln
----------------------------------------------------------------------
diff --git a/build/vs2010/contrib/Contrib.Core.sln b/build/vs2010/contrib/Contrib.Core.sln
new file mode 100644
index 0000000..7f66d04
--- /dev/null
+++ b/build/vs2010/contrib/Contrib.Core.sln
@@ -0,0 +1,36 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual C# Express 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lucene.Net", "..\..\..\src\core\Lucene.Net.csproj", "{5D4AD9BE-1FFB-41AB-9943-25737971BF57}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Core", "..\..\..\src\contrib\Core\Contrib.Core.csproj", "{FEF899EB-610C-4D3C-A556-A01F56F4AFE0}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug35|Any CPU = Debug35|Any CPU
+ Debug|Any CPU = Debug|Any CPU
+ Release35|Any CPU = Release35|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5D4AD9BE-1FFB-41AB-9943-25737971BF57}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Debug35|Any CPU.ActiveCfg = Debug35|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Debug35|Any CPU.Build.0 = Debug35|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Release35|Any CPU.ActiveCfg = Release35|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Release35|Any CPU.Build.0 = Release35|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FEF899EB-610C-4D3C-A556-A01F56F4AFE0}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal