lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnas...@apache.org
Subject svn commit: r1353392 - /incubator/lucene.net/trunk/build/scripts/build.targets
Date Mon, 25 Jun 2012 06:04:29 GMT
Author: pnasser
Date: Mon Jun 25 06:04:28 2012
New Revision: 1353392

URL: http://svn.apache.org/viewvc?rev=1353392&view=rev
Log:
LUCENENET-456 Partial Build script updates to output in apache release format we use - more
work needed

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

Modified: incubator/lucene.net/trunk/build/scripts/build.targets
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/build/scripts/build.targets?rev=1353392&r1=1353391&r2=1353392&view=diff
==============================================================================
--- incubator/lucene.net/trunk/build/scripts/build.targets (original)
+++ incubator/lucene.net/trunk/build/scripts/build.targets Mon Jun 25 06:04:28 2012
@@ -115,6 +115,19 @@
 		<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>



Mime
View raw message