Merge resources into web archive [message #165614] |
Sun, 02 April 2006 18:11 |
Eclipse User |
|
|
|
Originally posted by: mathias.drop-webtools.taschenorakel.de
I my web content folder is "src/web" and I have additional resources in
"src/resources" and "build/web" I want to/have to place in the generated
war file. How do I instruct WTP to package those additional resources?
For the stuff in "src/resources" you could argue, that I should just move
them to "src/web/obscure-path". But what to do with the automatically
generated content found in "build/web".
If there is no way to do that, I'd already be happy, if someone would tell
me, how to change the web content folder: In that case I'd just create an
Ant builder dropping all my stuff into "build/web"...
Thanks for your help,
Mathias
|
|
|
Re: Merge resources into web archive [message #165686 is a reply to message #165614] |
Mon, 03 April 2006 08:09 |
Eclipse User |
|
|
|
Originally posted by: mathias.drop-webtools.taschenorakel.de
Answering myself (to help others googling for this problem):
There is no GUI for this feature, but you can do it by hand:
1) Close your web project.
2) Make a copy of ".settings/.component" found in your project's folder.
3) Open ".settings/.component" with an external editor and add new
<wb-resource/> elements. Take the exisiting elements as example. Feel free
to modify some, if you want to move your web content folder.
4) Save ".settings/.component", open your web project again and hope that
there is no ".metadata" I do not know about.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03175 seconds