You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by gd...@apache.org on 2010/08/02 23:48:12 UTC
svn commit: r981695 - /cassandra/trunk/build.xml
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>