Forgot to mention that in the commit : the old stuff still works, so you don't have to specify -Dprofile=xxx on the commandline.. Will try to get around to making this better, but first I have to fix mysql integration, so everything will be back in a working state at work.

Mvgr,
Martin

[EMAIL PROTECTED] wrote:
Modified: db/ddlutils/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/build.xml?rev=365715&r1=365714&r2=365715&view=diff
==============================================================================
--- db/ddlutils/trunk/build.xml (original)
+++ db/ddlutils/trunk/build.xml Tue Jan  3 11:12:50 2006
@@ -227,7 +227,14 @@
   <!-- ================================================================== -->
   <target name="junit-axion"
           description="Runs the test cases against axion">
-    <property name="jdbc.properties.file" value="/jdbc.properties.axion"/>
+       <condition property="jdbc.properties.file" 
value="${test.profile.directory}/${profile}/jdbc.properties.axion">
+               <isset property="profile"/>
+       </condition>
+       <condition property="jdbc.properties.file" 
value="/jdbc.properties.axion">
+               <not>
+               <isset property="jdbc.properties.file"/>
+           </not>
+       </condition>
     <antcall target="-junit-internal"/>
   </target>
@@ -251,8 +258,10 @@
       <formatter type="plain"/>
       <classpath refid="compilation-classpath"/>
       <batchtest todir="${build.test.dir}">
-          <fileset dir="${src.test.dir}"
-                   includes="**/Test*.java"/>
+          <fileset dir="${src.test.dir}" includes="**/Test*.java">
+           <exclude name="**/TestDatabaseWriterBase.java"/>
+               <exclude name="**/TestPlatformBase.java"/>
+          </fileset>
       </batchtest>
     </junit>
   </target>




Reply via email to