XDoclet generation of <distributable/> in webdoclet [message #170796] |
Wed, 07 June 2006 21:10  |
Eclipse User |
|
|
|
Originally posted by: sharper3.austin.dot.rr.dot.com
I have my XDoclet configuration set up to generate a webdoclet, and one of the
specified entries is deploymentdescriptor. One of the properties of
deploymentdescriptor is "distributable", but I have not checked it to select
it into the generation.
However, my web.xml always has the <distributable/> element specified, ala:
<web-app>
<distributable/>
...
</web-app>
Does anyone know how to configure this setting such that the <distributable/>
element is *not* included in the generated web.xml? (or is this an XDoclet
generation bug?)
thanks
scott
|
|
|
Re: XDoclet generation of <distributable/> in webdoclet [message #175199 is a reply to message #170796] |
Thu, 20 July 2006 20:55  |
Eclipse User |
|
|
|
Scott Harper wrote:
> I have my XDoclet configuration set up to generate a webdoclet, and one of the
> specified entries is deploymentdescriptor. One of the properties of
> deploymentdescriptor is "distributable", but I have not checked it to select
> it into the generation.
>
> However, my web.xml always has the <distributable/> element specified, ala:
>
> <web-app>
> <distributable/>
> ...
> </web-app>
>
> Does anyone know how to configure this setting such that the <distributable/>
> element is *not* included in the generated web.xml? (or is this an XDoclet
> generation bug?)
Create an empty file WEB-INF/lib/web-settings.xml, then re-run XDoclet ?
Maybe you want something like this inside WEB-INF/lib/web-settings.xml
the file:
<display-name>myproject</display-name>
<description>MYPROJECT</description>
Check out the docs around:
http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/w eb/WebXmlSubTask.html
Darryl
|
|
|
Powered by
FUDForum. Page generated in 0.04401 seconds