You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Barry Books (JIRA)" <ji...@apache.org> on 2013/09/06 17:52:51 UTC
[jira] [Created] (TAP5-2174) Add main method the Jetty7Runner
Barry Books created TAP5-2174:
---------------------------------
Summary: Add main method the Jetty7Runner
Key: TAP5-2174
URL: https://issues.apache.org/jira/browse/TAP5-2174
Project: Tapestry 5
Issue Type: New Feature
Components: tapestry-test
Affects Versions: 5.4
Reporter: Barry Books
Priority: Minor
Please add a main method to Jetty7Runner (really in tapestry-runner) so Jetty can easily be started from an IDE development environment. Something like
public static void main(String[] args) throws Exception {
String webapp = System.getProperty("webapp") == null ? "src/main/webapp" : System.getProperty("webapp");
String context = System.getProperty("context") == null ? "/" : System.getProperty("context");
String httpPort = System.getProperty("httpPort") == null ? "8080" : System.getProperty("httpPort");
String sslPort = System.getProperty("sslPort") == null ? "8443" : System.getProperty("sslPort");
new Jetty7Runner(webapp, context, new Integer(httpPort), new Integer(sslPort));
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira