Christian,

are you using the "Resolve artifacts in workspace" feature of the m2e
plugin?

I use it and although I 'm not using a multimodule, class reloading works
like a charm...

my scenario could be like this:

webapp (t5 web with pages, which reference or depend on the weblib pages)
      |
      |
     \ /
weblib (t5 library w/ custom components and pages)

If you 're not using that feature you can activate it across all projects in
the Window -> Preferences, filter for maven.., and tick the checkbox
"Resolve artifacts in workspace". This will help for maven dependencies to
compile without being installed.

Ah, just like you, I 'm using Jetty and I run it like an m2e eclipse Run
Configuration..., once again there you a have a "Resolve artifacts in
workspace" checkbox you need to tick. This will help jetty to find the web
dependencies without having to install them.

I hope I was clear, if not just ask again

cheers

Nicolás.-


On Mon, Nov 8, 2010 at 10:43 AM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Mon, 08 Nov 2010 11:24:53 -0200, Christian Riedel <
> cr.ml...@googlemail.com> wrote:
>
>  Hi list,
>>
>
> Hi!
>
>
>  I'm trying to build a multi-module project with maven 2 (w/ m2eclipse) and
>> Tapestry (5.2.2) of course! One module contains the .war artifact and some
>> of the others contribute pages and components...
>> Now the problem is that I can't leverage live-class-reloading or resource
>> reloading in general since I always have to re-install the artifacts and
>> restart jetty (using jetty:run) to see the changes...
>>
>
> jetty:run and Maven plugins in general have this problem. Use RunJettyRun
> or an embedded Jetty instance to run your project and everything will work.
> :)
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to