You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by mh...@apache.org on 2011/09/23 13:50:01 UTC
[Lucene.Net] svn commit: r1174676 - in /incubator/lucene.net/trunk/build/scripts:
All/Lucene.Net.nuspec Contrib/Lucene.Net.Contrib.nuspec
Core/Lucene.Net.Core.nuspec docs.shfbproj rules.fxcop template.shfbproj
validate-tool-chain.ps1
Author: mherndon
Date: Fri Sep 23 11:50:01 2011
New Revision: 1174676
URL: http://svn.apache.org/viewvc?rev=1174676&view=rev
Log:
adding license apache license to nuspec files.
Added:
incubator/lucene.net/trunk/build/scripts/validate-tool-chain.ps1
Modified:
incubator/lucene.net/trunk/build/scripts/All/Lucene.Net.nuspec
incubator/lucene.net/trunk/build/scripts/Contrib/Lucene.Net.Contrib.nuspec
incubator/lucene.net/trunk/build/scripts/Core/Lucene.Net.Core.nuspec
incubator/lucene.net/trunk/build/scripts/docs.shfbproj
incubator/lucene.net/trunk/build/scripts/rules.fxcop
incubator/lucene.net/trunk/build/scripts/template.shfbproj
Modified: incubator/lucene.net/trunk/build/scripts/All/Lucene.Net.nuspec
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/build/scripts/All/Lucene.Net.nuspec?rev=1174676&r1=1174675&r2=1174676&view=diff
==============================================================================
--- incubator/lucene.net/trunk/build/scripts/All/Lucene.Net.nuspec (original)
+++ incubator/lucene.net/trunk/build/scripts/All/Lucene.Net.nuspec Fri Sep 23 11:50:01 2011
@@ -1,4 +1,22 @@
<?xml version="1.0"?>
+<!--
+
+ 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.
+
+-->
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Lucene.Net.Core</id>
@@ -12,33 +30,12 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
-**This package contains only the contrbi Lucene.Net assemblies.</description>
+**This package installs the Lucene.Net.Core & Lucene.Net.Contrib packages.</description>
<summary>Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.</summary>
<tags>lucene.net core search information retrieval lucene apache</tags>
<dependencies>
+ <dependency id="Lucene.Net.Core" version="$version$" />
+ <dependency id="Lucene.Net.Contrib" version="$version$" />
</dependencies>
</metadata>
- <files>
- <file src="..\..\bin\contrib\Analyzers\Release\Lucene.Net.Contrib.Analyzers.dll" target="lib\net40\Lucene.Net.Contrib.Analyzers.dll" />
- <file src="..\..\bin\contrib\Analyzers\Release\Lucene.Net.Contrib.Analyzers.XML" target="lib\net40\Lucene.Net.Contrib.Analyzers.XML" />
- <file src="..\..\bin\contrib\Core\Release\Lucene.Net.Contrib.Core.dll" target="lib\net40\Lucene.Net.Contrib.Core.dll" />
- <file src="..\..\bin\contrib\Core\Release\Lucene.Net.Contrib.Core.XML" target="lib\net40\Lucene.Net.Contrib.Core.XML" />
- <file src="..\..\bin\contrib\FastVectorHighlighter\Release\Lucene.Net.FastVectorHighlighter.dll" target="lib\net40\Lucene.Net.FastVectorHighlighter.dll" />
- <file src="..\..\bin\contrib\FastVectorHighlighter\Release\Lucene.Net.FastVectorHighlighter.XML" target="lib\net40\Lucene.Net.FastVectorHighlighter.XML" />
- <file src="..\..\bin\contrib\Highlighter\Release\Lucene.Net.Contrib.Highlighter.dll" target="lib\net40\Lucene.Net.Contrib.Highlighter.dll" />
- <file src="..\..\bin\contrib\Highlighter\Release\Lucene.Net.Contrib.Highlighter.XML" target="lib\net40\Lucene.Net.Contrib.Highlighter.XML" />
- <file src="..\..\bin\contrib\Queries\Release\Lucene.Net.Contrib.Queries.dll" target="lib\net40\Lucene.Net.Contrib.Queries.dll" />
- <file src="..\..\bin\contrib\Queries\Release\Lucene.Net.Contrib.Queries.XML" target="lib\net40\Lucene.Net.Contrib.Queries.XML" />
- <file src="..\..\bin\contrib\Regex\Release\Contrib.Regex.dll" target="lib\net40\Contrib.Regex.dll" />
- <file src="..\..\bin\contrib\Regex\Release\Contrib.Regex.XML" target="lib\net40\Contrib.Regex.XML" />
- <file src="..\..\bin\contrib\SimpleFacetedSearch\Release\Lucene.Net.Search.SimpleFacetedSearch.dll" target="lib\net40\Lucene.Net.Search.SimpleFacetedSearch.dll" />
- <file src="..\..\bin\contrib\SimpleFacetedSearch\Release\Lucene.Net.Search.SimpleFacetedSearch.XML" target="lib\net40\Lucene.Net.Search.SimpleFacetedSearch.XML" />
- <file src="..\..\bin\contrib\Snowball\Release\Lucene.Net.Contrib.Snowball.dll" target="lib\net40\Lucene.Net.Contrib.Snowball.dll" />
- <file src="..\..\bin\contrib\Snowball\Release\Lucene.Net.Contrib.Snowball.XML" target="lib\net40\Lucene.Net.Contrib.Snowball.XML" />
- <file src="..\..\bin\contrib\Spatial\Release\Lucene.Net.Contrib.Spatial.dll" target="lib\net40\Lucene.Net.Contrib.Spatial.dll" />
- <file src="..\..\bin\contrib\Spatial\Release\Lucene.Net.Contrib.Spatial.XML" target="lib\net40\Lucene.Net.Contrib.Spatial.XML" />
- <file src="..\..\bin\contrib\SpellChecker\Release\Lucene.Net.Contrib.SpellChecker.dll" target="lib\net40\Lucene.Net.Contrib.SpellChecker.dll" />
- <file src="..\..\bin\contrib\SpellChecker\Release\Lucene.Net.Contrib.SpellChecker.XML" target="lib\net40\Lucene.Net.Contrib.SpellChecker.XML" />
- </files>
-
</package>
\ No newline at end of file
Modified: incubator/lucene.net/trunk/build/scripts/Contrib/Lucene.Net.Contrib.nuspec
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/build/scripts/Contrib/Lucene.Net.Contrib.nuspec?rev=1174676&r1=1174675&r2=1174676&view=diff
==============================================================================
--- incubator/lucene.net/trunk/build/scripts/Contrib/Lucene.Net.Contrib.nuspec (original)
+++ incubator/lucene.net/trunk/build/scripts/Contrib/Lucene.Net.Contrib.nuspec Fri Sep 23 11:50:01 2011
@@ -1,4 +1,22 @@
<?xml version="1.0"?>
+<!--
+
+ 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.
+
+-->
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Lucene.Net.Core</id>
Modified: incubator/lucene.net/trunk/build/scripts/Core/Lucene.Net.Core.nuspec
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/build/scripts/Core/Lucene.Net.Core.nuspec?rev=1174676&r1=1174675&r2=1174676&view=diff
==============================================================================
--- incubator/lucene.net/trunk/build/scripts/Core/Lucene.Net.Core.nuspec (original)
+++ incubator/lucene.net/trunk/build/scripts/Core/Lucene.Net.Core.nuspec Fri Sep 23 11:50:01 2011
@@ -1,4 +1,22 @@
<?xml version="1.0"?>
+<!--
+
+ 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.
+
+-->
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Lucene.Net.Core</id>
Modified: incubator/lucene.net/trunk/build/scripts/docs.shfbproj
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/build/scripts/docs.shfbproj?rev=1174676&r1=1174675&r2=1174676&view=diff
==============================================================================
--- incubator/lucene.net/trunk/build/scripts/docs.shfbproj (original)
+++ incubator/lucene.net/trunk/build/scripts/docs.shfbproj Fri Sep 23 11:50:01 2011
@@ -1,4 +1,22 @@
<?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'" />
Modified: incubator/lucene.net/trunk/build/scripts/rules.fxcop
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/build/scripts/rules.fxcop?rev=1174676&r1=1174675&r2=1174676&view=diff
==============================================================================
--- incubator/lucene.net/trunk/build/scripts/rules.fxcop (original)
+++ incubator/lucene.net/trunk/build/scripts/rules.fxcop Fri Sep 23 11:50:01 2011
@@ -1,4 +1,22 @@
<?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>
Modified: incubator/lucene.net/trunk/build/scripts/template.shfbproj
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/build/scripts/template.shfbproj?rev=1174676&r1=1174675&r2=1174676&view=diff
==============================================================================
--- incubator/lucene.net/trunk/build/scripts/template.shfbproj (original)
+++ incubator/lucene.net/trunk/build/scripts/template.shfbproj Fri Sep 23 11:50:01 2011
@@ -1,4 +1,22 @@
<?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'" />
Added: incubator/lucene.net/trunk/build/scripts/validate-tool-chain.ps1
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/build/scripts/validate-tool-chain.ps1?rev=1174676&view=auto
==============================================================================
--- incubator/lucene.net/trunk/build/scripts/validate-tool-chain.ps1 (added)
+++ incubator/lucene.net/trunk/build/scripts/validate-tool-chain.ps1 Fri Sep 23 11:50:01 2011
@@ -0,0 +1,52 @@
+function DirExists($path) {
+
+ if ([IO.Directory]::Exists($path))
+ {
+ return $true;
+ }
+ else
+ {
+ return $false;
+ }
+}
+
+$Folder64 = $Env:ProgramFiles;
+$Folder32 = ${Env:ProgramFiles(x86)};
+
+$RequireWin7_1 = $false;
+$RequireFxCop10 = $false;
+$RequireSHFB = $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.";
+}
+
+
+$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.";
+
+}