try:
mergedir="src/merge"
to
mergedir="${basedir}/src/merge"

does this make a difference?



marco mistroni wrote:

HI,
#    i forgot to mention...  i am using xdoclet 1.2b3...

regards
   marco
----- Original Message -----
From: "marco mistroni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 17, 2004 8:55 PM
Subject: problem in generating web.xml for struts with webdoclet




hi all,
   i am having problem in merging servlets.xml with web.xm

for some mysterious reasons xdoclet simply refuses to include my
servlets.xml and mappings.xml ..


i have created a src/merge/web dir in which i have placed the


servlets.xml


and mappings.xml

here is hte excerpt of my build.xml for webdoclet

<webdoclet

destdir="${samples.gen-src.dir}"

mergedir="src/merge"

excludedtags="@version,@author,@todo"

addedtags="@xdoclet-generated at ${TODAY},@copyright The XDoclet
Team,@author XDoclet,@version ${version}"

force="${samples.xdoclet.force}"

verbose="false"



<fileset dir="${samples.java.dir}">

<include name="**/*Servlet.java"/>

<include name="**/*Filter.java"/>

<include name="**/*Tag.java"/>

<include name="**/*Action.java"/>

<include name="**/*Form.java"/>

</fileset>

<deploymentdescriptor

servletspec="2.3"

destdir="${samples.web-inf.dir}"



<taglib

uri="http://java.sun.com/jstl/ea/core";

location="/WEB-INF/c.tld"

/>

</deploymentdescriptor>

<strutsconfigxml

destdir="${samples.web-inf.dir}"

/>

<jsptaglib

jspversion="1.2"

destdir="${samples.web-inf.dir}"

shortname="j2ee"

validateXml="false"

/>

<jbosswebxml destdir="${samples.web-inf.dir}"/>

<jrunwebxml destdir="${samples.web-inf.dir}"
mergedir="${samples.merge.dir}"/>

<weblogicwebxml

destdir="${samples.web-inf.dir}"

contextRoot="/samples"

validateXml="true"

/>

<webWorkConfigProperties/>

<webWorkActionDocs javadocdir="api" mergedir="${samples.merge.dir}"/>

</webdoclet>

</target>



anyone can tell me why the two files are not included?



thanx in advance and regards

marco









-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to