Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2174

Add a CLI to Jetty7Runner, to make it easier to script

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: tapestry-test
    • Labels:

      Description

      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)); }

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              trsvax Barry Books
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: