| Eclipse 3.3 w/WTP [message #197282] |
Wed, 25 July 2007 23:41  |
Nelz Carpentier Messages: 3 Registered: July 2009 |
Junior Member |
|
|
Hey All!
This is my first post to the news group... I did a bit of searching for
my issue here, but didn't see anyone else posting about it...
We are using Maven2 (at my influence :-) and Eclipse together. We
originally were seeing some weird behavior that when adding a new library
to our nascent project, we weren't getting the library copied into the
~/.metadata/.plugins/.../tmp0/.../WEB-INF/lib directory... So, we thought
we could get around it by just dropping the library in on the (future)
infrequent occasion that a new jar was needed. (Even though starting a
brand new instance of Eclipse was getting the library as needed...)
Then we started seeing some deeper weirdnesses all across our team. The
clean would wipe out everything under the .../wtpwebapps/<ourApp>
directory, but publish wouldn't push anything back. Eventually, after
thrashing about the directories, some secret sequence of events would
actually finish the execution of what I consider to be a "publish".
It was easy to tish-tosh this off, as it was only 2 or 3 people, but the
other 12 of us seemed to be doing okay... Then, something happened to me.
I added a new class, and updated struts-config.xml... When I published
and went to hit the page, neither the struts-config.xml file had been
updated, nor was there a .class file for my newly defined action. Now, I
started into the same
clean-publish-run-stop-removeserver-manuallydelete-reinstall server-addproject,
and finally ended up with a non-working server because the <ourApp>
directory doesn't exist, no matter how many ways I try to coax it into
being... Just like my coworkers... And even though they are all on WinXP
boxes, this is even happening to me on an Ubuntu box.
Okay... Sorry. Thanks for letting me vent a bit...
Long story short, I'm sometimes seeing behavior that classes (or other
resources) are not making it into the temporary webapp directory that WTP
is running Tomcat out of... Has anyone else seen this, and/or does anyone
know how to fix it?
Thanks for your patience!
- Nelz
|
|
|