Add example with simple Jetty web app

This commit is contained in:
Juraj Michalek
2014-06-29 15:30:31 +02:00
parent e095ab39ac
commit 9aa09e77f8
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
apply plugin: 'war'
apply plugin: 'jetty'

View File

@@ -0,0 +1,5 @@
<html>
<body>
Hello Y Soft!
</body>
</html>

View File

@@ -197,3 +197,13 @@ Attach remote debugger from Ide.
More information: http://georgik.sinusgear.com/2014/06/23/how-to-debug-gradle-script/
## 19-war-jetty
Simple web app deployed to local jetty. It will compile sources from
src/main/webapp into web application.
gradle jettyRun
Application is accessible at: http://localhost:8080/19-war-jetty
Press CTRL+C to stop server.