On Sat, 2003-11-22 at 17:39, Peter Nabbefeld wrote:
>         <webdoclet destDir="${build.dir}/conf" force="true"
> mergeDir="${source.dir}/merge" validating="true" verbose="true">
>             <fileset dir="${source.dir}/presentation/servlet">
>                 <include name="FrontDoor.java"/>
>             </fileset>
>             <deploymentdescriptor destdir="${build.dir}/conf"
> servletspec="2.3">
...
> - XDoclet seems not to recognize the servlet; here's a code snippet from it:
> 
> /*
>  * FrontDoor.java
>  *
>  * Created on 20. November 2003, 09:50
>  */
> 
> package presentation.servlet;

The problems is your fileset.  The root dir of your fileset needs to
match the root of the package hierarchy, otherwise the parser skips the
file as it thinks it's not in the "right" place.  Try using
            <fileset dir="${source.dir}">
                <include name="presentation/servlet/FrontDoor.java"/>
            </fileset>
instead.  Or, better yet,
            <fileset dir="${source.dir}">
                <include name="**/*.java"/>
            </fileset>
if you want it to process all your classes.


Andrew.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to