You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2005/10/01 19:05:49 UTC

Re: hivemodel.xml search path?

Tapestry and HiveMind work together to pick up all of the following:

META-INF/hivemodule.xml (in the WAR, or in any JAR on the classpath)
WEB-INF/app-name/hivemodule.xml
WEB-INF/hivemodule.xml

The "app-name" is the name of the Tapestry application servlet.

Why two searches?  It's part of an infrastructure to support multiple
Tapestry applications within a single WAR.

On 9/30/05, Eric Schneider <er...@centralparksoftware.com> wrote:
> Dan,
>
> I have my hivemodule.xml in the META-INF folder within a .jar file
> (which is a shared tapestry library).   This jar is sitting in WEB-
> INF/lib directory.
>
> Tapestry seems to find it with no problems.
>
> Hope that helps.
> Eric
>
>
> On Sep 30, 2005, at 5:18 PM, Greg Ward wrote:
>
> > On 30 September 2005, Dan Adams said:
> >
> >> What gets searched when looking for hivemodule.xml files? I
> >> thought it
> >> loaded any in the classpath but I think i might be wrong.
> >>
> >
> > I put mine right in WEB-INF and Tapestry found it OK.  (A co-worker
> > tried
> > putting it in META-INF under the classpath [as the hivemind docs
> > say] and
> > something didn't work right until he put it in WEB-INF.)
> >
> >         Greg
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org