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 <[email protected]> Authored: Sun Aug 5 21:11:32 2018 -0400 Committer: Bob Harner <[email protected]> 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 +}
