On Mon, Aug 25, 2014 at 10:30 AM, Christian Dutaret <cdtapes...@gmail.com>
wrote:

> Kalle, that's the whole point - I think - of the "serve modules without
> publishing" option. It just takes the resources from the eclipse target
> directory instead of copying things around.
>

Thanks Christian. I'll have to check out the native Eclipse option myself
then.

Kalle



>
> 2014-08-25 18:13 GMT+02:00 Kalle Korhonen <kalle.o.korho...@gmail.com>:
>
> > The last I checked, the WTP plugin was still copying the resource files
> > around which is my main beef with it. It causes subtle issues during
> > development since you are not sure whether you are seeing the latest
> > resource file or not immediately after saving. My experiences are from a
> > few years back though and like everything else, it's likely to have been
> > improved since.
> >
> > Kalle
> >
> >
> > On Mon, Aug 25, 2014 at 1:29 AM, Christian Dutaret <cdtapes...@gmail.com
> >
> > wrote:
> >
> > > Hi all,
> > >
> > > I've seen a lot of people claiming that one should use Sysdeo plugin to
> > > work with Tomcat under eclipse/Maven for T5 development, and that the
> > > standard WTP plugin should be avoided, because it is supposedly buggy
> and
> > > slow.
> > > I've been using WTP plugin for years with other frameworks (including
> > T4),
> > > and I have no problem at all using it for T5 web apps, as long as it is
> > > properly configured. I have live class reloading working, Maven
> > > dependencies picked up just fine, and no Tomcat restarts (and no
> > devloader
> > > to configure).
> > >
> > > I f anyone is interested, here is my configuration (using Tomcat 8 and
> > > latest Eclipse Luna, but should also work with older versions) :
> > > - plugins: WTP, m2e, m2e-wtp (but they all come with the Eclipse for
> JEE
> > > build)
> > > - Server configuration: serve modules without publishing, auto-reload
> > > disabled by default
> > > - Dismiss any hot deploy alerts (click do not warn again if hot deploy
> > > fails - hot deploy does fail but LCR doesn't)
> > >
> > > Christian
> > >
> > >
> > > 2014-08-25 8:03 GMT+02:00 Ivano Luberti <lube...@archicoop.it>:
> > >
> > > > Thanks Kalle....now I (hope I) have a clear path
> > > >
> > > >
> > > > Il 25/08/2014 07:48, Kalle Korhonen ha scritto:
> > > > > On Sun, Aug 24, 2014 at 10:43 PM, Ivano Luberti <
> > lube...@archicoop.it>
> > > > > wrote:
> > > > >
> > > > >> Thanks Kalle, maybe I'm starting to figuring it out.
> > > > >> So the devloader enables the container to load classes from paths
> > > > >> aoutside WEB-INF/lib and WEB-INF/classes , right?
> > > > >>
> > > > > That's what I said and that's what the linked resource said.
> > > > >
> > > > >> So if instead of the maven project layout I use the classic WTP
> > > project
> > > > >> layout that has a
> > > > >> WebContent folder which includes WEB-INF/lib and WEB-INF/classes
> and
> > > if
> > > > >> properly configured builds classes from my source folder into
> > > > >> WEB-INF/classes I would get LCR working. Is this correct?
> > > > >>
> > > > > Yes. Deploy as exploded and remember to turn off container
> > > > auto-reloading.
> > > > >
> > > > >> Of course this goes against all the maven stuff that seems to be
> > used
> > > by
> > > > >> the vast majority of T5 devs.....
> > > > >>
> > > > > Not only T5 but vast majority of Java devs.
> > > > >
> > > > > Kalle
> > > > >
> > > > >
> > > > >> Il 25/08/2014 07:24, Kalle Korhonen ha scritto:
> > > > >>> You don't need the devloader for live class reloading. You need
> it
> > to
> > > > be
> > > > >>> able to pick up classes from other locations than /lib or
> /classes,
> > > say
> > > > >>> from your local Maven repo, as explained at the bottom of
> > > > >>> http://www.eclipsetotale.com/tomcatPlugin/readmeDevLoader.html.
> > Now,
> > > > you
> > > > >>> can technically use the devloader by itself by manually
> configuring
> > > the
> > > > >>> devloader's configuration file but I wouldn't recommend it. (and
> to
> > > > >> others,
> > > > >>> Ivano specifically stated he wants to use Tomcat, not Jetty).
> > > > >>>
> > > > >>> Kalle
> > > > >>>
> > > > >>>
> > > > >>> On Sun, Aug 24, 2014 at 1:27 AM, Ivano Luberti <
> > lube...@archicoop.it
> > > >
> > > > >> wrote:
> > > > >>>> Hi everybody I'm a former user of T4 but for many reasons
> > > independent
> > > > >>>> from my will, I had to abandon Tapestry a few years ago, while
> I'm
> > > > still
> > > > >>>> maintaining some web applications.
> > > > >>>>
> > > > >>>> Now I want to step into T5 and I'm following the tutorial.
> > > > >>>> I have set up under Eclipse and successfully running the
> tutorial.
> > > > >>>> Before going further I would like to be sure LCR works (because
> > > > actually
> > > > >>>> doesn't).
> > > > >>>>
> > > > >>>> I have read the Kalle page on setting up tomcat but I would like
> > to
> > > > >>>> avoid the use of Sysdeo, because I use Eclipse+Tomcat for other
> > > > >>>> applications and I'm used to launch Tomcat  via Eclipse Debug
> > > > >>>> Configuration.
> > > > >>>>
> > > > >>>> My question is: can I achieve LCR wihtout Sysdeo? Would it be
> > enough
> > > > to
> > > > >>>> deploy devloader in Tomcat lib ?
> > > > >>>>
> > > > >>>> TIA
> > > > >>>>
> > > > >>>>
> > > > >>>> --
> > > > >>>> ==================================================
> > > > >>>> dott. Ivano Mario Luberti
> > > > >>>> Archimede Informatica societa' cooperativa a r. l.
> > > > >>>> Sede Operativa
> > > > >>>> Via Gereschi 36 - 56126- Pisa
> > > > >>>> tel.: +39-050- 580959
> > > > >>>> tel/fax: +39-050-9711344
> > > > >>>> web: www.archicoop.it
> > > > >>>> ==================================================
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > ---------------------------------------------------------------------
> > > > >>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > > >>>> For additional commands, e-mail: users-h...@tapestry.apache.org
> > > > >>>>
> > > > >>>>
> > > > >> --
> > > > >> ==================================================
> > > > >> dott. Ivano Mario Luberti
> > > > >> Archimede Informatica societa' cooperativa a r. l.
> > > > >> Sede Operativa
> > > > >> Via Gereschi 36 - 56126- Pisa
> > > > >> tel.: +39-050- 580959
> > > > >> tel/fax: +39-050-9711344
> > > > >> web: www.archicoop.it
> > > > >> ==================================================
> > > > >>
> > > > >>
> > > > >>
> > ---------------------------------------------------------------------
> > > > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > > >> For additional commands, e-mail: users-h...@tapestry.apache.org
> > > > >>
> > > > >>
> > > >
> > > > --
> > > > ==================================================
> > > > dott. Ivano Mario Luberti
> > > > Archimede Informatica societa' cooperativa a r. l.
> > > > Sede Operativa
> > > > Via Gereschi 36 - 56126- Pisa
> > > > tel.: +39-050- 580959
> > > > tel/fax: +39-050-9711344
> > > > web: www.archicoop.it
> > > > ==================================================
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > > For additional commands, e-mail: users-h...@tapestry.apache.org
> > > >
> > > >
> > >
> >
>

Reply via email to