tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2174) Add a CLI to Jetty7Runner, to make it easier to script
Date Mon, 01 Sep 2014 20:46:23 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117707#comment-14117707
] 

ASF subversion and git services commented on TAP5-2174:
-------------------------------------------------------

Commit 72bb4e217b0693a897ba5b788c6953b674555ab3 in tapestry-5's branch refs/heads/master from
[~hlship]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=72bb4e2 ]

TAP5-2174: Add a CLI to Jetty7Runner, to make it easier to script


> Add a CLI to Jetty7Runner, to make it easier to script
> ------------------------------------------------------
>
>                 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
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>              Labels: enhancement
>             Fix For: 5.4
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message