Add Gradle task for running tapestry-hibernate integr. tests manually
authorBob Harner <bobharner@gmail.com>
Mon, 6 Aug 2018 01:11:32 +0000 (21:11 -0400)
committerBob Harner <bobharner@gmail.com>
Mon, 6 Aug 2018 01:11:32 +0000 (21:11 -0400)
tapestry-hibernate/build.gradle

index 73a6658..37b54dc 100644 (file)
@@ -14,4 +14,11 @@ jar {
     manifest {
         attributes 'Tapestry-Module-Classes': 'org.apache.tapestry5.hibernate.modules.HibernateModule'
     }
-}
\ No newline at end of file
+}
+
+task runTestApp0(type:JavaExec) {
+  description 'Start tapestry-hibernate integration test app, useful when debugging failing integration tests'
+  main = 'org.apache.tapestry5.test.JettyRunner'
+  args "-d", "src/test/webapp", "-p", "8080"
+  classpath += project.sourceSets.test.runtimeClasspath
+}