Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » XDoclet generation of <distributable/> in webdoclet
XDoclet generation of <distributable/> in webdoclet [message #170796] Thu, 08 June 2006 01:10 Go to next message
Eclipse UserFriend
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] Fri, 21 July 2006 00:55 Go to previous message
Darryl Miles is currently offline Darryl MilesFriend
Messages: 123
Registered: July 2009
Senior Member
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
Previous Topic:bypass publishing to tomcat?
Next Topic:License Agreement with disabled "I Agree" button
Goto Forum:
  


Current Time: Fri Dec 19 07:17:46 GMT 2014

Powered by FUDForum. Page generated in 0.02053 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software