Hello,
Anyone knows how to deal with this? Should I file a
bug report instead?
Thanks,
Otis
--- O G <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm having some difficulties getting Jetty Launcher
> working with a custom Jetty XML file.
>
> In short, if I use a custom jetty.xml, I can't get
> Jetty/JL to use the webapp root directory from
> within
> my Eclipse project.
>
> This is to be expected, as JL is not aware of it.
>
> So I tried changing jetty.xml to be aware of the
> "webapp root dir" in my Eclipse project. I think
> this
> is the relevant section:
>
> <Call name="addWebApplications">
> <Arg></Arg>
> <Arg><SystemProperty name="jetty.home"
> default="."/>/webapps/</Arg>
> <Arg><SystemProperty name="jetty.home"
> default="."/>/etc/webdefault.xml</Arg>
> <Arg type="boolean">true</Arg><!--extract
> WARs-->
> <Arg type="boolean">false</Arg><!-- java 2
> compliante class loader -->
> </Call>
>
>
> I think the key line is:
> <Arg><SystemProperty name="jetty.home"
> default="."/>/webapps/</Arg>
>
> So I tried changing that to:
>
> <Arg>/home/otis/dev/workspace/MyProj/webapp/</Arg>
>
>
> However, that didn't work - Jetty/JL interpreted
> everything under that directory as a separate webapp
> context.
>
> I tried playing with the work directory setting in
> JL,
> but without any luck. I tried:
> ${workspace_loc:MyProj}
> ${workspace_loc:MyProj/webapp}
> ${workspace_loc:MyProj/webapp/WEB-INF}
>
>
> How should I tell JL to use a specific directory in
> my
> Eclipse project as the "work root dir"?
>
> Thanks,
> Otis
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jettylauncher-plugin mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jettylauncher-plugin