Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumspublish outright not working...it was before
https://www.eclipse.org/forums/index.php/mv/msg/155032/488458/#msg_488458
thanks,
Dean]]>Dean Hiller2009-09-28T19:10:31-00:00Re: publish outright not working...it was before
https://www.eclipse.org/forums/index.php/mv/msg/155032/488662/#msg_488662
> I have been checking the "Serve modules without publishing" checkbox and
> once in a while, my changes in a sub project stop hot swapping and then
> I try to republish but my changes just don't take affect after the
> tomcat reboot at all. It is very strange. Is there an option to tell
> tomcat WTP plugin to not use "Serve modules without publishing" AND have
> it "Merge class files from subprojects and main project into
> WEB-INF/classes" so I could easily debug what is going on if publish
> started failing. MyEclipse has this option which always made it easy to
> see if the class file was correctly replaced or not. Does this option
> exist?
> thanks,
> Dean
Once "Serve modules without publishing" is disabled, you are back to
standard publishing, which will always build dependent projects in to
jars that go in WEB-INF/lib. There isn't enough info to make a
diagnosis about why changes aren't being seen after restarting Tomcat.
Cheers,
Larry]]>Larry Isaacs2009-09-29T16:19:59-00:00Re: publish outright not working...it was before
https://www.eclipse.org/forums/index.php/mv/msg/155032/488965/#msg_488965
....any other way to debug it?
thanks,
Dean]]>Dean Hiller2009-09-30T22:05:11-00:00Re: publish outright not working...it was before
https://www.eclipse.org/forums/index.php/mv/msg/155032/489093/#msg_489093
> yeah, is there any logs that would give more diagnosis. It kinda stinks
> without a merge classes into WEB-INF/classes option as that would help
> alot...wish I had that :(....any other way to debug it?
>
> thanks,
> Dean
I'm not certain that "merge classes" would behave any different since
that is what "Serve modules without publishing" is effectively doing.
The first question is what exactly is meant by "hot swapping". Does
this imply you are running in debug mode and expecting the debugger to
apply code changes, or you are expecting Tomcat's auto-reload feature to
"hot swap" the class by auto-reloading the context. I would guess the
first, but I'd rather make sure before wasting time if I'm wrong.