[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.webtools] Re: JSP from multiple directories
|
breako ha scritto:
Hi,
I wish to have a web project which I will be able to configure so that
JSPs are picked up from two completly different directories. One will
be in the standard J2EE place, but the other one will be an entirely
different directory.
Is this possible?
Note: the reason for this is that I have a base project and then some
customisation development which I want to keep completly separate during
development time. It just makes things a lot cleaner.
Any tips / help greatly appreciated.
It is supported, but there is no UI that allows to do that.
You have to change the hidden file org.eclipse.wst.common.component (use
Ctrl+Shift+R and type its name) in your project/.settings folder. Add as
many <wb-resource> entries with deploy-path="/" as you need. Example:
<wb-resource deploy-path="/" source-path="/folder-with-JSPs-1"/>
<wb-resource deploy-path="/" source-path="/folder-with-JSPs-2"/>
<wb-resource deploy-path="/" source-path="/folder-with-JSPs-3"/>
Save and that's it.
I suggest to enlist the folder containing your web.xml as the first one.
Then, please add your vote to one or both of the following enhancement
requests:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=133359
https://bugs.eclipse.org/bugs/show_bug.cgi?id=107039
Hope this helps.
Mauro.