Thanks .. that works.
I wasn't sure what HAD to be in the webdefault.xml file - and since I didn't
explicitly download the jetty.jar - I'm still not sure where the embedded
MAVEN puts plugins so I just needed to download jetty and look for a
complete webdefault.xml file.

Once I did that - it was just as you described - and it works.

For anyone interested, I also found this:
http://docs.codehaus.org/display/JETTY/webdefault.xml helpful.

Thanks again!

-Luther



On Sat, Oct 4, 2008 at 2:27 PM, Sven Homburg <[EMAIL PROTECTED]>wrote:

> ???
>
> add the webdefault.xml to your context path, where your web.xml resists
> and change the maven jetty plugin configuration like described here
>
> http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin
> and search for the webDefaultXml keyword
>
> 2008/10/4 Luther Baker <[EMAIL PROTECTED]>
>
> > Thanks! Although .. I'm using the the m2 plugin for Jetty and I'm not
> sure
> > how easily I can find the pieces referenced in that article.
> >
> > -Luther
> >
> >
> > On Sat, Oct 4, 2008 at 1:43 PM, Sven Homburg <[EMAIL PROTECTED]
> > >wrote:
> >
> > > seems you use jetty under windows, so look here
> > > http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows
> > >
> > > 2008/10/4 Luther Baker <[EMAIL PROTECTED]>
> > >
> > > > Per some earlier posts: I successfully configured eclipse to run
> jetty
> > > (mvn
> > > > jetty:run) and its is blazing! BMW M5 was no lie.
> > > >
> > > > But having one problem. I cannot edit static files ... like CSS
> files.
> > > When
> > > > I change a style, eclipse pops up and tells me:
> > > >
> > > > *Could not write file: ..\<snip/>\XXX.css. (The requested operation
> > > cannot
> > > > be performed on a file with a user-mapped section open)
> > > > *
> > > > If I stop running jetty, I can edit the file.
> > > >
> > > > On the other hand, Tomcat via WTP doesn't seem to complain. Anyone
> > aware
> > > of
> > > > a setting somehow locking static pages down?
> > > >
> > > > -Luther
> > > >
> > >
> > >
> > >
> > > --
> > > with regards
> > > Sven Homburg
> > > http://www.chenillekit.org
> > > http://tapestry5-components.googlecode.com
> > >
> >
>
>
>
> --
> with regards
> Sven Homburg
> http://www.chenillekit.org
> http://tapestry5-components.googlecode.com
>

Reply via email to