WTP 1.5.0 / Eclipse 3.2.0 Deployment problem [message #181689] |
Tue, 17 October 2006 17:01 |
Clint Popetz Messages: 4 Registered: July 2009 |
Junior Member |
|
|
Hi,
After realizing I had to add every jar in my build path _again_ to the
modules dependencies page (you're kidding, right? right?), I'm _almost_
there, but I use an APT processor to generate tld and class files as
part of my build (i.e. generated tag libraries.) They can't be
generated into WEB-INF, because they have to go into the folder
specified by the APT dialog, and besides they'd clutter my cvs tree. So
seeing no "Add class folder" button on the J2EE module dependencies
page, I edited the .component file myself. I have something like:
<wb-resource deploy-path="/" source-path="/web"/>
<wb-resource deploy-path="/WEB-INF"
source-path="/eclipse-build/generated_src/web/WEB-INF"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<wb-resource deploy-path="/WEB-INF/classes"
source-path="/eclipse-build/generated_src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/resources"/>
And then a bunch of entries for the libraries. All of the above work
except the second one, copying the generated tlds into /WEB-INF. None of
those make it into the webapp tree (rooted under my workspace, not in
the tomcat directory itself.) Restarting eclipse and doing a clean
build/publish has no effect. Any ideas?
Thanks,
-Clint
P.S. WTP is very cool, but the publishing scheme is wonky. I shouldn't
have to specify all my libraries twice, and that interface often loses
sync with reality, losing items, showing items unchecked, etc. I don't
touch it anymore, and just edit the file, but still.
|
|
|
Powered by
FUDForum. Page generated in 0.03207 seconds