You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by bo...@apache.org on 2018/08/06 01:30:01 UTC

[2/3] tapestry-5 git commit: Add Gradle task for running tapestry-hibernate integr. tests manually

Add Gradle task for running tapestry-hibernate integr. tests manually

Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/cda2ac74
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/cda2ac74
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/cda2ac74

Branch: refs/heads/master
Commit: cda2ac748f67793a3a493cacf8886e03d31faec6
Parents: 8ac2791
Author: Bob Harner <bo...@gmail.com>
Authored: Sun Aug 5 21:11:32 2018 -0400
Committer: Bob Harner <bo...@gmail.com>
Committed: Sun Aug 5 21:11:32 2018 -0400

----------------------------------------------------------------------
 tapestry-hibernate/build.gradle | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/cda2ac74/tapestry-hibernate/build.gradle
----------------------------------------------------------------------
diff --git a/tapestry-hibernate/build.gradle b/tapestry-hibernate/build.gradle
index 73a6658..37b54dc 100644
--- a/tapestry-hibernate/build.gradle
+++ b/tapestry-hibernate/build.gradle
@@ -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
+}