Hey everyone,
After much digging I think I have found an answer that I hope is not
correct; so perhaps someone can tell me I'm wrong and life will be
better. Well maybe not just "you're wrong and you're a jerk" but more
along the lines of "you're wrong and here's why: <insert positive
explanation here>" :)
I am trying to use webdoclet to generate a pretty normal web.xml file.
Just some Servlets and some Filters. The problem comes from the way the
current repository is configured (and I can't change it). I have
multiple source directories that I need to have webdoclet parse. For
example:
/shared/code/web/**/*.java
/modules/<some name>/code/web/**/*.java
I will not know how many of the "<some name>" directories there will be
until build time. Therefore, I cannot simply put another "<fileset/>"
into the task for each one of the entries manually; unless I want to
auto-generate my build.xml file from ANOTHER script :) (There has to be
a better way). I also cannot point a "<fileset/>" to the '/modules/'
directory and have it include "**/code/web/**/java" since that will foul
up the package names.
So I guess two questions come to my mind after looking at this for a day
or so:
I. Can I simply point webdoclet to multiple source directory roots
in some dynamic way (I tried using a "<dirset/>")
II. Barring "I", can I somehow merge multiple web.xml files outside
of the standard merge point system of doing things? I could even loop
through webdoclet and make multiple Servlet and Filter merge files but
it appears that the API only supports the use of one of each of these
files.
Any hints would be greatly appreciated! :) If I can't do it, then I
guess I can write a script to build my build.xml file before ANY is run
based upon the "modules" directory structure, but I'd rather not.
Thanks in advance,
Jeremy
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user