Jetty Plugin + Root Context

View: New views
4 Messages — Rating Filter:   Alert me  

Jetty Plugin + Root Context

by cressie176 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'd like "gradle jettyRun" to launch my app under the root context. Any ideas how?

Thanks,

Steve

Re: Jetty Plugin + Root Context

by Adam Murdoch-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


cressie176 wrote:
> Hi,
>
> I'd like "gradle jettyRun" to launch my app under the root context. Any
> ideas how?
>
>  

jettyRun.contextPath = '/'

> Thanks,
>
> Steve
>  

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Jetty Plugin + Root Context

by cressie176 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Great, thanks. I could only find reference to this in the maven plugin docs. Are they one and the same?

Re: Jetty Plugin + Root Context

by Adam Murdoch-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



cressie176 wrote:
> Great, thanks. I could only find reference to this in the maven plugin
> http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin docs . Are they
> one and the same?
>  

The jetty plugin started off as a port of the maven jetty plugin, so the
properties are pretty similar, but not exactly the same. Unfortunately,
our documentation is a bit light for some of the plugins.


Adam


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email