On Mon, 2003-07-14 at 21:13, robert lazarski wrote:
> I need to load on startup a servlet inside a utility jar. Since I am not 
> installing the app and invoking ant in production, I cannot put the needed 
> tags in by hand. Is merge points the answer? Is "Examine the existing .xdt 
> files to learn the template language.", and creating something from scatch, 
> the only way to go? 

The subject mentions pre-compiled servlets.  Are you saying you've got a
ready-built war that you want to add a DD to, and there's no source
files to put the @tags in?  If so, then you might as well just write the
DD by hand yourself and add it to the jar with the update option (jar
uvf mywebapp.war WEB-INF/web.xml).

It may be possible to have XDoclet generate the DD solely using the
merge points, but what would be the advantage?  All it would be doing is
stringing various merge files together, and you could do that just as
well with Ant's <concat> task, or 'cat' at a shell prompt.  Probably run
faster, too :-)


Andrew.



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to