mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-01-18 17:47:10 +01:00
Add example with simple Jetty web app
This commit is contained in:
3
19-war-jetty/build.gradle
Normal file
3
19-war-jetty/build.gradle
Normal file
@@ -0,0 +1,3 @@
|
||||
apply plugin: 'war'
|
||||
apply plugin: 'jetty'
|
||||
|
||||
5
19-war-jetty/src/main/webapp/index.jsp
Normal file
5
19-war-jetty/src/main/webapp/index.jsp
Normal file
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
Hello Y Soft!
|
||||
</body>
|
||||
</html>
|
||||
10
README.md
10
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.
|
||||
Reference in New Issue
Block a user