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/05/21 22:38:20 UTC
[Lucene.Net] svn commit: r1125807 - in
/incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts: ./
build.cmd build.sh build.xml
Author: mherndon
Date: Sat May 21 20:38:20 2011
New Revision: 1125807
URL: http://svn.apache.org/viewvc?rev=1125807&view=rev
Log:
LUCENENET-400 adding build scripts that will be used to build the projects from the command line and from the ci
Added:
incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/
incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.cmd
incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.sh
incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.xml
Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.cmd
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.cmd?rev=1125807&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.cmd (added)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.cmd Sat May 21 20:38:20 2011
@@ -0,0 +1,23 @@
+@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"
+IF %1 NEQ "" SET TARGETS=%1
+
+%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe build.xml /t:%TARGETS% /nologo
\ No newline at end of file
Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.sh
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.sh?rev=1125807&view=auto
==============================================================================
(empty)
Added: incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.xml
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.xml?rev=1125807&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.xml (added)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.xml Sat May 21 20:38:20 2011
@@ -0,0 +1,55 @@
+<?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)' == ''">Debug</Configuration>
+ <BuildAllSolution>$(MSBuildProjectDirectory)\..\vs2010\test\Contrib.All.Test.sln</BuildAllSolution>
+ <BuildSolution>$(MSBuildProjectDirectory)\..\vs2010\test\Lucene.Net.Test.sln</BuildSolution>
+ </PropertyGroup>
+
+
+ <PropertyGroup>
+ <BinFolder>$(MSBuildProjectDirectory)\..\..\bin</BinFolder>
+ <CoreFolder>core</CoreFolder>
+ <ContribFolder>contrib</ContribFolder>
+ <DemoFolder>demo</DemoFolder>
+ </PropertyGroup>
+
+ <Target Name="clean-all">
+ <ItemGroup>
+ <BinFiles Include="$(BinFolder)\$(CoreFolder)\$(Configuration)\*"/>
+ <BinFiles Include="$(BinFolder)\$(ContribFolder)\**\$(Configuration)\*.*"/>
+ <BinFiles Include="$(BinFolder)\$(DemoFolder)\**\$(Configuration)\*.*"/>
+ </ItemGroup>
+ <Delete Files="@(BinFiles)" />
+ </Target>
+
+ <Target Name="build-all">
+ <MSBuild Projects="$(BuildAllSolution)" ContinueOnError="false" Properties="Configuration=$(Configuration)"/>
+ </Target>
+
+ <Target Name="build">
+ <MSBuild Projects="$(BuildSolution)" ContinueOnError="false" Properties="Configuration=$(Configuration)"/>
+ </Target>
+
+ <Target Name="all">
+ <CallTarget Targets="clean-all;build-all" />
+ </Target>
+</Project>
\ No newline at end of file