https://www.java.com/en/download/
$ curl -s get.sdkman.io | bash $ sdk install groovy $ sdk install gradle
This step only applies if you are using Intellij's Idea as your ide
gradle idea
The file config.groovy
has settings that are applicable for running on the production server. You may create a file
config.local.groovy
, which if present will be merged into the config overriding any values. Feel free to alter paths,
ports, timeouts and other settings by changing this file. It is in the .gitignore
.
gradle run
And you should see some output similar to
oejs.ServerConnector:main: StartedServerConnector@73483dda{HTTP/.1,[http/1.1]}{0.0.0.0:8080} oejs.Server:main: Started @3287ms
You may have problems with Ctrl+C
on Cygwin/windows with gradle being cancelled, but the server still running, and thus
not releasing the bind on the port. In this case, you'll need to find and kill the java process keeping the port open
every time you run a new server.
To run the server from Idea, setup a new Run/Debug configuration. Add new configuration -> Application, set the Main
class to webtesting.MainClass
This project is not accepting external contributions at this time. For bugs or enhancement requests, please file a GitHub issue unless it’s security related. When filing a bug remember that the better written the bug is, the more likely it is to be fixed. If you think you’ve found a security vulnerability, do not raise a GitHub issue and follow the instructions in our security policy.
Please consult the security guide for our responsible security vulnerability disclosure process
Copyright (c) 2016, 2023 Oracle and/or its affiliates.
Released under the Apache License 2.0