You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2007/08/15 06:57:26 UTC

svn commit: r566025 - in /commons/sandbox/performance/trunk: build-dbcp.xml build-pool.xml build.properties

Author: psteitz
Date: Tue Aug 14 21:57:25 2007
New Revision: 566025

URL: http://svn.apache.org/viewvc?view=rev&rev=566025
Log:
Changed specify dbcp, pool jars in build.properties

Modified:
    commons/sandbox/performance/trunk/build-dbcp.xml
    commons/sandbox/performance/trunk/build-pool.xml
    commons/sandbox/performance/trunk/build.properties

Modified: commons/sandbox/performance/trunk/build-dbcp.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/build-dbcp.xml?view=diff&rev=566025&r1=566024&r2=566025
==============================================================================
--- commons/sandbox/performance/trunk/build-dbcp.xml (original)
+++ commons/sandbox/performance/trunk/build-dbcp.xml Tue Aug 14 21:57:25 2007
@@ -30,6 +30,8 @@
 
   <path id="compile.classpath">
     <pathelement location="${jdbc-jar}"/>
+  	<pathelement location="${pool-jar}"/>
+  	<pathelement location="${dbcp-jar}"/>
     <fileset dir="${lib}">
       <include name="*.jar"/>
     </fileset>
@@ -74,19 +76,6 @@
     usetimestamp="true"/>
   </target>
 
-  <target name="get-dbcp">
-    <get
-    src="${mavenRepo}/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar"
-    dest="${lib}/commons-dbcp-1.2.2.jar"
-    usetimestamp="true"/>
-  </target>
-
-  <target name="get-pool">
-    <get
-    src="${mavenRepo}/commons-pool/commons-pool/1.3/commons-pool-1.3.jar"
-    dest="${lib}/commons-pool-1.3.jar"
-    usetimestamp="true"/>
-  </target>
 
   <target name="get-logging">
     <get
@@ -96,7 +85,7 @@
   </target>
  
   <target name="get-deps"
-      depends="get-collections,get-beanutils,get-digester,get-math,get-logging,get-dbcp,get-pool">
+      depends="get-collections,get-beanutils,get-digester,get-math,get-logging">
   </target>
 
   <target name="compile" depends="clean,init,get-deps">

Modified: commons/sandbox/performance/trunk/build-pool.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/build-pool.xml?view=diff&rev=566025&r1=566024&r2=566025
==============================================================================
--- commons/sandbox/performance/trunk/build-pool.xml (original)
+++ commons/sandbox/performance/trunk/build-pool.xml Tue Aug 14 21:57:25 2007
@@ -29,6 +29,8 @@
   <property file="${component-propfile}"/>
 
   <path id="compile.classpath">
+  	<pathelement location="${pool-jar}"/>
+  	<pathelement location="${dbcp-jar}"/>
     <fileset dir="${lib}">
       <include name="*.jar"/>
     </fileset>
@@ -73,13 +75,6 @@
     usetimestamp="true"/>
   </target>
 
-  <target name="get-pool">
-    <get
-    src="${mavenRepo}/commons-pool/commons-pool/1.3/commons-pool-1.3.jar"
-    dest="${lib}/commons-pool-1.3.jar"
-    usetimestamp="true"/>
-  </target>
-
   <target name="get-logging">
     <get
     src="${mavenRepo}/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"
@@ -87,15 +82,8 @@
     usetimestamp="true"/>
   </target>
 	
-  <target name="get-dbcp">
-	<get
-	  src="${mavenRepo}/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar"
-	  dest="${lib}/commons-dbcp-1.2.2.jar"
-	  usetimestamp="true"/>
-  </target>
- 
   <target name="get-deps"
-      depends="get-collections,get-beanutils,get-digester,get-math,get-logging,get-pool, get-dbcp">
+      depends="get-collections,get-beanutils,get-digester,get-math,get-logging">
   </target>
 
   <target name="compile" depends="clean,init,get-deps">

Modified: commons/sandbox/performance/trunk/build.properties
URL: http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/build.properties?view=diff&rev=566025&r1=566024&r2=566025
==============================================================================
--- commons/sandbox/performance/trunk/build.properties (original)
+++ commons/sandbox/performance/trunk/build.properties Tue Aug 14 21:57:25 2007
@@ -20,5 +20,9 @@
 mavenRepo=http://repo1.maven.org/maven2
 
 # JDBC driver
-jdbc-jar=/home/phil/mysql/mysql-connector-java-5.0.2.jar
+jdbc-jar=../../mysql/mysql-connector-java-5.0.2.jar
+
+# Replace with full path to versions of pool, dbcp jars you want to test with
+pool-jar=../../commons-pool-1.2/commons-pool-1.2.jar
+dbcp-jar=../../.m2/repository/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar