lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnas...@apache.org
Subject svn commit: r1395190 - /lucene.net/trunk/build/scripts/build.targets
Date Sat, 06 Oct 2012 23:31:49 GMT
Author: pnasser
Date: Sat Oct  6 23:31:49 2012
New Revision: 1395190

URL: http://svn.apache.org/viewvc?rev=1395190&view=rev
Log:
updating build scripts for easier output of apache release files

Modified:
    lucene.net/trunk/build/scripts/build.targets

Modified: lucene.net/trunk/build/scripts/build.targets
URL: http://svn.apache.org/viewvc/lucene.net/trunk/build/scripts/build.targets?rev=1395190&r1=1395189&r2=1395190&view=diff
==============================================================================
--- lucene.net/trunk/build/scripts/build.targets (original)
+++ lucene.net/trunk/build/scripts/build.targets Sat Oct  6 23:31:49 2012
@@ -114,16 +114,27 @@
 	</Target>
 	
 	<Target Name="apache-release">
+		<CallTarget Targets="clean;build;apachecopy" />
+    </Target>
+	
+	<Target Name="apachecopy">
 		<ItemGroup>
 			<dllFiles Include="@(ReleaseFiles)" Condition="'%(Extension)' == '.dll'"  />
 			<xmlFiles Include="@(ReleaseFiles)" Condition="'%(Extension)' == '.xml'" />
+			<pdbFiles Include="@(BuildItems)" Condition="'%(Extension)' == '.pdb'" />
 		</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;" />
+		<MakeDir Condition="!Exists('$(RootFolder)\apacherelease\NET35')" Directories="$(RootFolder)\apacherelease\NET35"
/>
+		<MakeDir Condition="!Exists('$(RootFolder)\apacherelease\NET35\bin')" Directories="$(RootFolder)\apacherelease\NET35\bin"
/>
+		<MakeDir Condition="!Exists('$(RootFolder)\apacherelease\NET35\doc')" Directories="$(RootFolder)\apacherelease\NET35\doc"
/>
+		<MakeDir Condition="!Exists('$(RootFolder)\apacherelease\NET40')" Directories="$(RootFolder)\apacherelease\NET40"
/>
+		<MakeDir Condition="!Exists('$(RootFolder)\apacherelease\NET40\bin')" Directories="$(RootFolder)\apacherelease\NET40\bin"
/>
+		<MakeDir Condition="!Exists('$(RootFolder)\apacherelease\NET40\doc')" Directories="$(RootFolder)\apacherelease\NET40\doc"
/>
+		
+		<Copy SourceFiles="@(xmlFiles)" DestinationFolder="$(RootFolder)\apacherelease\%(RecursiveDir)\doc"
/>
+		<Copy SourceFiles="@(dllFiles)" DestinationFolder="$(RootFolder)\apacherelease\%(RecursiveDir)\bin"
/>
+		<Copy SourceFiles="@(pdbFiles)" DestinationFolder="$(RootFolder)\apacherelease\%(RecursiveDir)\bin"
/>
+
 	</Target>
 	
 	<Target Name="simple">



Mime
View raw message