List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:October 29 2007 3:27pm
Subject:Rev 217: Added MYSQL host property to ant build file. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge

------------------------------------------------------------
revno: 217
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: ndbjmerge
timestamp: Mon 2007-10-29 15:26:44 +0000
message:
  Added MYSQL host property to ant build file.
modified:
  java/build.xml                 build.xml-20070521233115-yg3ylf2k3vuzr27o-1
=== modified file 'java/build.xml'
--- a/java/build.xml	2007-10-26 23:25:30 +0000
+++ b/java/build.xml	2007-10-29 15:26:44 +0000
@@ -10,6 +10,8 @@
   <property name="debuglevel" value="source,lines,vars"/>
   <property name="target" value="1.5"/>
   <property name="source" value="1.5"/>
+  <property name="MYSQLHOST" value="localhost"/>
+  <property name="CONNECTSTRING" value="localhost"/>
   <path id="NdbConnectors.classpath">
     <pathelement location="."/>
     <pathelement location="lib/mysql-connector-java-5.0.4-bin.jar"/>
@@ -126,6 +128,17 @@
       <classpath refid="NdbConnectors.classpath"/>
     </java>
   </target>
+  <target name="testasync" depends="build">
+     <mkdir dir="${junit.output.dir}"/>
+     <junit fork="yes" printsummary="withOutAndErr">
+      <formatter type="xml"/>
+      <sysproperty key="com.mysql.jdbc.testsuite.url"
value="jdbc:mysql://${MYSQLHOST}/test" />
+      <test name="testsuite.ndbj.QuickAsyncTest" todir="${junit.output.dir}"/>
+      <env key="LD_LIBRARY_PATH" value=".libs"/>
+      <classpath refid="NdbConnectors.classpath"/>
+    </junit>
+  </target>
+
   <target name="testndbj" depends="build">
     <mkdir dir="${junit.output.dir}"/>
     <junit fork="yes" printsummary="withOutAndErr">

Thread
Rev 217: Added MYSQL host property to ant build file. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmergeMonty Taylor29 Oct