diff --git a/19-war-jetty/build.gradle b/19-war-jetty/build.gradle new file mode 100644 index 0000000..d13bcdb --- /dev/null +++ b/19-war-jetty/build.gradle @@ -0,0 +1,3 @@ +apply plugin: 'war' +apply plugin: 'jetty' + diff --git a/19-war-jetty/src/main/webapp/index.jsp b/19-war-jetty/src/main/webapp/index.jsp new file mode 100644 index 0000000..eac28d5 --- /dev/null +++ b/19-war-jetty/src/main/webapp/index.jsp @@ -0,0 +1,5 @@ + + +Hello Y Soft! + + \ No newline at end of file diff --git a/README.md b/README.md index ea5fdc5..eb85b51 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file