Gradle task to start & stop a non-embedded tomcat container -
i have managed create copytolocaltomcat
task copies war file tomcat_home
directory:
task copytolocaltomcat(group: 'deployment') { dolast { copy { from('app/build/libs') { include '*.war' } "$tomcat_home/webapps" } } }
i trying create gradle task run %tomcat_home%/bin/startup
script , 1 runs %tomcat_home%/bin/shutdown
script.
i have read gradle tomcat plugin seems embedded applications. how can non-embedded container?
ideally able run:
gradlew --continue copytolocaltomcat starttomcat endtoendtest stoptomcat
to run end end test suite without having manually run startup , shutdown scripts
Comments
Post a Comment