yeah we noted the same.. its picking up on the ${grailsAppName} (we think) and happily letting know it :)
On Wed, Feb 20, 2008 at 8:29 PM, Kallin Nagelberg <
kallin.nagelberg@...> wrote:
Awesome thanks, it works.
Incidentally, I tried removing the <set name="war>....</set> and it still works the same. It appears to just need the contextPath set....
Also, and this is getting picky, grails still says: 'Server running. Browse to http://localhost:8080/someProject'. Not a big deal, but maybe worthy of a bug report?
On Feb 20, 2008 4:08 AM, j pimmel <
frankly.watson@...> wrote:
we did this yesterday
Add a web-jetty.xml containing the following to your web-app/WEB-INF folder
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Configure class="org.mortbay.jetty.webapp.WebAppContext">
<Set name="contextPath">/</Set>
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/((YOUR_WAR_NAME without extension))</Set> << --- no brackets obviously //webapps/foo (its foo.war when packaged)
</Configure>
Hope that helpsOn Feb 20, 2008 5:26 AM, Kallin Nagelberg <
kallin.nagelberg@...> wrote:
Does anyone know how I can change the default webapp root when running grails?
I'd like to be able to configure it so i just hit http://localhost instead of http://localhost:8080/someProject.
I know when deploying to tomcat I could just create a ROOT.war. What about with jetty and grails?
Thanks!