List:Commits« Previous MessageNext Message »
From:mmatthews Date:September 4 2007 9:17pm
Subject:Connector/J commit: r6554 - branches/branch_5_0/connector-j
View as plain text  
Modified:
   branches/branch_5_0/connector-j/build.xml
Log:
Fixed BUG#21116, revision not updated in DBMD.getDriverVersion() when released (we now stuff in the svn revision of the directory).

Modified: branches/branch_5_0/connector-j/build.xml
===================================================================
--- branches/branch_5_0/connector-j/build.xml	2007-09-04 18:48:51 UTC (rev 6553)
+++ branches/branch_5_0/connector-j/build.xml	2007-09-04 21:17:57 UTC (rev 6554)
@@ -109,6 +109,14 @@
 
 		<filter token="VERSION" value="${version}"/>
 
+		<mkdir dir="${buildDir}" />
+		
+		<exec executable="svn" output="${buildDir}/svn.properties">
+			  <arg value="info" />
+		</exec>
+		    
+		<property prefix="svn" file="${buildDir}/svn.properties"/>
+		
 		<copy todir="${buildDir}/${fullProdName}" filtering="true">
 			<fileset dir="${sourceDir}/" excludes="**/CVS">
 				<patternset id="classjar" >
@@ -123,6 +131,7 @@
 				<filter token="MYSQL_CJ_SUBMINOR_VERSION" value="${subminor_version}"/>
 				<filter token="MYSQL_CJ_VERSION_STATUS" value="${version_status}"/>
 				<filter token="MYSQL_CJ_VERSION" value="${version}"/>
+				<filter token="MYSQL_CJ_REVISION" value="${svn.Revision}" />
 				<filter token="MYSQL_CJ_FULL_PROD_NAME" value="${fullProdName}"/>
 			</filterset>
 		</copy>

Thread
Connector/J commit: r6554 - branches/branch_5_0/connector-jmmatthews4 Sep