cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdusba...@apache.org
Subject svn commit: r981695 - /cassandra/trunk/build.xml
Date Mon, 02 Aug 2010 21:48:12 GMT
Author: gdusbabek
Date: Mon Aug  2 21:48:12 2010
New Revision: 981695

URL: http://svn.apache.org/viewvc?rev=981695&view=rev
Log:
configurable location for version.properties. patch by Matt Dennis, reviewed by Gary Dusbabek.
CASSANDRA-1272

Modified:
    cassandra/trunk/build.xml

Modified: cassandra/trunk/build.xml
URL: http://svn.apache.org/viewvc/cassandra/trunk/build.xml?rev=981695&r1=981694&r2=981695&view=diff
==============================================================================
--- cassandra/trunk/build.xml (original)
+++ cassandra/trunk/build.xml Mon Aug  2 21:48:12 2010
@@ -52,6 +52,7 @@
       <isset property="release"/>
     </condition>
     <property name="version" value="${base.version}-SNAPSHOT"/>
+    <property name="version.properties.dir" value="${build.classes}/org/apache/cassandra/config/"/>
     <property name="final.name" value="${ant.project.name}-${version}"/>
     <property name="ivy.version" value="2.1.0" />
     <property name="ivy.url"
@@ -250,7 +251,7 @@
     <!-- create properties file with C version -->
     <target name="createVersionPropFile"> 
       <taskdef name="propertyfile" classname="org.apache.tools.ant.taskdefs.optional.PropertyFile"/>
-      <propertyfile file="${build.classes}/org/apache/cassandra/config/version.properties">
+      <propertyfile file="${version.properties.dir}/version.properties">
 	<entry key="CassandraVersion" value="${version}"/>
       </propertyfile>
     </target>



Mime
View raw message