db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject svn commit: r230432 - /db/torque/trunk/maven.xml
Date Fri, 05 Aug 2005 10:43:08 GMT
Author: henning
Date: Fri Aug  5 03:43:04 2005
New Revision: 230432

URL: http://svn.apache.org/viewcvs?rev=230432&view=rev
Log:
add check for torque.testProfile to maven.xml


Modified:
    db/torque/trunk/maven.xml

Modified: db/torque/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/db/torque/trunk/maven.xml?rev=230432&r1=230431&r2=230432&view=diff
==============================================================================
--- db/torque/trunk/maven.xml (original)
+++ db/torque/trunk/maven.xml Fri Aug  5 03:43:04 2005
@@ -26,6 +26,7 @@
 <!-- ======================================================================== -->
 
 <project
+  xmlns:j="jelly:core"
   xmlns:deploy="deploy">
 
   <!-- Allow any user specific values to override the defaults -->
@@ -145,6 +146,20 @@
     name="runtime:prepare"
     prereqs="jar:jar">
 
+    <j:if test="${context.getVariable('torque.testProfile') == null || context.getVariable('torque.testProfile')
== ''}">
+        <fail>
+--------------------------------------------------------------------------
+| Runtime Test Configuration Error                                       |
+--------------------------------------------------------------------------
+
+ For executing the runtime tests, you must set the property 
+ 'torque.testProfile' by defining it on the command line of your
+ maven command or putting it into the build.properties file.
+
+--------------------------------------------------------------------------
+        </fail>
+    </j:if>
+
     <!-- Set values in test profile -->
     <property file="${torque.testProfile}"/>
 
@@ -216,6 +231,15 @@
         <include name="*.jar"/>
       </fileset>
     </copy>
+
+<!-- FIXME: Do we need this for the rttests?
+    <copy todir="${build.test}/rttest/lib">
+      <fileset dir="${torque.template.home}/target/">
+        <include name="*.jar"/>
+      </fileset>
+    </copy>
+-->
+
     <copy file="${torque.testDatabaseJar}"
           todir="${build.test}/rttest/lib"/>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message