« Return to Thread: Jetty and virtual host

Re: Jetty and virtual host

by graemer :: Rate this Message:

Reply to Author | View in Thread

On 11/23/06, Edward Povazan <epovazan@...> wrote:

>
> On 23-Nov-06, at 1:07 AM, Graeme Rocher wrote:
>
> > Depends what version of Grails you're using. If you're on 0.3.1 you'll
> > need to go into src/grails/build.xml and hack the run-app:impl target
> > to configure jetty appropriately
> >
> > Or with 0.4 snapshots you would need to edit the scripts/RunApp.groovy
> >
> > Cheers
> Thanks, will play with this tomorrow, it should make things much less
> error prone.
> Will there ever be a way to override this per project? I have my
> server url, and also some JNLP urls (codebase etc), that I need to
> change before deploying. I wonder what other use cases there are that
> require a full URL?

Yes in 0.4 you can copy the RunApp.groovy script from
$GRAILS_HOME/scripts to $PROJECT_HOME/scripts and then it will be
executed instead of the one in GRAILS_HOME

Graeme
>
> -Ed
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Graeme Rocher
Grails Project Lead
http://grails.org

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

    http://xircles.codehaus.org/manage_email

 « Return to Thread: Jetty and virtual host