You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2015/08/28 05:15:23 UTC

svn commit: r1698253 - /db/torque/torque4/trunk/torque-test/pom.xml

Author: tfischer
Date: Fri Aug 28 03:15:22 2015
New Revision: 1698253

URL: http://svn.apache.org/r1698253
Log:
Add usage and troubleshooting notes

Modified:
    db/torque/torque4/trunk/torque-test/pom.xml

Modified: db/torque/torque4/trunk/torque-test/pom.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/pom.xml?rev=1698253&r1=1698252&r2=1698253&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/pom.xml (original)
+++ db/torque/torque4/trunk/torque-test/pom.xml Fri Aug 28 03:15:22 2015
@@ -17,6 +17,20 @@
  specific language governing permissions and limitations
  under the License.
 -->
+
+<!--
+  To run the tests for Torque for any of the databases,
+  adjust any of the profiles below for your needs and then run
+  mvn -P${profileName} test, e.g. mvn -Pmysql test
+  
+  To ignore errors when executing the generated sql 
+  (e.g. because your database is in an inconsistent state) run
+  mvn -P${profileName} -DonSqlError=continue test
+  
+  Troubleshooting:
+  Exception org.apache.torque.generator.source.transform.SourceTransformerException: Option torque.database must be set:
+  You did not specify a correct profile name, see above.
+ -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <parent>
     <groupId>org.apache.torque</groupId>



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