lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mhern...@apache.org
Subject [Lucene.Net] svn commit: r1127567 - in /incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts: build.sh build.xml
Date Wed, 25 May 2011 15:46:28 GMT
Author: mherndon
Date: Wed May 25 15:46:27 2011
New Revision: 1127567

URL: http://svn.apache.org/viewvc?rev=1127567&view=rev
Log:
LUCENENET-400 adding the code that excutes xbuild for mono using a shell script.  tweaking
the build.xml to work for both msbuild & xbuild. expliciting naming the target 'lucene'
for the lucene only build, instead being too generic and calling it 'build'

Modified:
    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

Modified: 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=1127567&r1=1127566&r2=1127567&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.sh (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.sh Wed May 25 15:46:27
2011
@@ -0,0 +1,24 @@
+#!/bin/sh
+# 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"
+echo "$1"
+if [ -n "$1" ] 
+		then 
+			TARGETS=$1
+fi
+
+MONO_IOMAP=case xbuild build.xml /t:$TARGETS
\ No newline at end of file

Modified: 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=1127567&r1=1127566&r2=1127567&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.xml (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/build/scripts/build.xml Wed May 25 15:46:27
2011
@@ -21,7 +21,7 @@
   <PropertyGroup>
     <Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
     <BuildAllSolution>$(MSBuildProjectDirectory)\..\vs2010\test\Contrib.All.Test.sln</BuildAllSolution>
-    <BuildSolution>$(MSBuildProjectDirectory)\..\vs2010\test\Lucene.Net.Test.sln</BuildSolution>
+    <BuildLuceneSolution>$(MSBuildProjectDirectory)\..\vs2010\test\Lucene.Net.Test.sln</BuildLuceneSolution>
   </PropertyGroup>
  
 
@@ -31,13 +31,14 @@
     <ContribFolder>contrib</ContribFolder>
     <DemoFolder>demo</DemoFolder>
   </PropertyGroup>
+
+  <ItemGroup>
+    <BinFiles Include="$(BinFolder)\$(CoreFolder)\$(Configuration)\*"/>
+    <BinFiles Include="$(BinFolder)\$(ContribFolder)\**\$(Configuration)\*.*"/>
+    <BinFiles Include="$(BinFolder)\$(DemoFolder)\**\$(Configuration)\*.*"/>
+  </ItemGroup>
   
   <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>
   
@@ -45,8 +46,8 @@
     <MSBuild Projects="$(BuildAllSolution)" ContinueOnError="false"  Properties="Configuration=$(Configuration)"/>
   </Target>
   
-  <Target Name="build">
-    <MSBuild Projects="$(BuildSolution)" ContinueOnError="false"  Properties="Configuration=$(Configuration)"/>
+  <Target Name="lucene">
+    <MSBuild Projects="$(BuildLuceneSolution)" ContinueOnError="false"  Properties="Configuration=$(Configuration)"/>
   </Target>
 
   <Target Name="all">



Mime
View raw message