try
<pathelement location=".../junitee.jar">
"path" attribute is used with a directory while
"location" with a specific file.



 --- Kazys J <[EMAIL PROTECTED]> 的正文:> 
> Hi guys,
> 
> 
> I am trying to generate web.xml descriptor for
> servlets.
> It works fine if servlet directly descends from
> HttpServlet.
> 
> But in case it extends JUnitEEServlet then only
> servlet mapping tag is 
> produced and the servlet tag is missing.
> 
> I did read the manual and browse the mailing list
> archives. It suggests I 
> should include junitee.jar (containing
> JUnitEEServlet.class) in the 
> webdoclet.
> 
> So I did like this: 
> 
>       <taskdef name="webdoclet"
> classname="xdoclet.modules.web.WebDocletTask">
>               <classpath>
>                       <fileset dir="${xdoclet.lib.dir}">
>                               <include name="*.jar"/>
>                       </fileset>
>                       <pathelement
>
path="/usr/local/jboss/server/default/lib/javax.servlet.jar"/>
>                       <pathelement
> path="/usr/local/junitee/lib/junitee.jar"/>
>               </classpath>
>       </taskdef>
> 
> 
> it still does not generate servlet tag in web.xml
> 
> I even copied junitee.jar to xdoclet/lib no luck
> 
> Any ideas?
> 
> Thanks,
> 
> Kaz
> 
> 
> 
> 
>
-------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and
> Integration
> See the breadth of Eclipse activity. February 3-5 in
> Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-user 

_________________________________________________________
Do You Yahoo!? 
完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to