From: David Geary <[EMAIL PROTECTED]> 2003-04-04 04:57

At the top of my generated web.xml, I see that I can create merge files like listeners.xml and filters.xml to generate "non XDoclet" listeners and filters, respectively. But what if I want to generate something that's not cited in the generated web.xml, like a context init parameter, for example?

If you're using a recent build from CVS, the docs for the webdoclet subtasks now include a list of all the merge points available.


Failing that, look through the template file (either expand the zip, grab the source from CVS, or view it on the Browse CVS section of the SF project pages), and see if there's a suitable XDtMerge:merge in the appropriate place.

Is it context parameters or filter/servlet init parameters you're after? If the former, I guess you'd want the web-settings.xml merge point (containing the icon, display-name, description, distributable and/or context-param elements). If the latter, use the filters.xml or servlets.xml merge points to specify the whole filter/servlet element including its init-params.

Alternatively, for config params, instead of the merge file you could use configparam nested elements in your deploymentdescriptor webdoclet subtask.


Andrew.



_________________________________________________________________ Express yourself with cool emoticons http://www.msn.co.uk/messenger



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to