Thanks, Timothy.  I didn't think that was it - like I said, it appears to be
finding and parsing the servlet, because I can make it fail by removing the
blank line from the end of the file:  

[webdoclet] Error parsing File C:\documents and settings\012909.amer\my
projects\randa\build\web\WEB-INF\classes\com\avnet\sb
s\randa\servlet\PolicyController.java:Lexical error: xjavadoc.TokenMgrError:
Lexical error at line 197, column 15.  Encounter
ed: <EOF> after : ""

but tried it anyway to no avail.  I've also tried experimenting with the
javax.servlet packages - thought maybe I needed to go back to the 2.2 spec,
so I removed j2ee.jar and put servlet.jar in my xdoclet lib just to make
sure it was loaded.  No change with that, either.

I have the webdoclet verbose attribute set to true, but only get the
following output (after I put the blank line back):

[webdoclet] (XDocletMain.start                   47  ) Running
<deploymentdescriptor/>
[webdoclet] Generating web.xml.

BUILD SUCCESSFUL  

Setting the Ant debug switch doesn't yield anything that looks useful to me.
I'm pretty sure it must be an environmental thing at this point, but I don't
know what else to look for based on the information I've been able to find.
Does anyone have another idea?  I really wanted this to work, but I don't
know how much more time I can spend with it.  I could sure use a hand
here...

Thanks,


Bill

-----Original Message-----
From: COCKLE Timothy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 4:26 AM
To: [EMAIL PROTECTED]
Subject: RE: [Xdoclet-user] web.xml missing servlet information



I not sure your file set is right...

Try 
      <fileset
dir="c:/docume~1/012909.AMER/myproj~1/com/avnet/sbs/randa/">
        <include name="**/*.java" />
      </fileset>   

i.e. remove the .../servlet/

-----Original Message-----
From:   Bruyn, Bill [mailto:[EMAIL PROTECTED]
Sent:   Tue 12/08/2003 19:16
To:     '[EMAIL PROTECTED]'
Cc:     
Subject:        [Xdoclet-user] web.xml missing servlet information
I've been unable to get anything out of my servlets into web.xml using
the
deploymentdescriptor subtask and my @web.servlet tags.  The pathelement
pointing to j2ee.jar (where the javax.servlet packages are located) is
correct, and the servlet file is definitely being parsed (it wants to
blow
up without a blank line before EOF???) - so what have I missed?

TIA,

Bill
--------------------------------------------------

/**
  * @web.servlet
  *   name="test"
  *   load-on-startup="true"
  * @web.servlet-mapping
  *   url-pattern="/hello"
  */

--------------------------------------------------

    <taskdef name="webdoclet" 
             classname="xdoclet.modules.web.WebDocletTask">
      <classpath>
        <pathelement
location="c:/progra~1/java/j2sdkee1.3.1/lib/j2ee.jar"
/>
        <fileset dir="c:/progra~1/xdoclet/lib">
          <include name="*.jar"/>
        </fileset>
      </classpath>
    </taskdef>
    
    <webdoclet verbose="true"
               force="true"
               destDir=
"c:/docume~1/012909.AMER/myproj~1/randa/config/sandbox/WEB-INF">
               
      <fileset
dir="c:/docume~1/012909.AMER/myproj~1/com/avnet/sbs/randa/servlet">
        <include name="**/*.java" />
      </fileset>      
      
      <deploymentdescriptor
 
mergeDir="c:/docume~1/012909.AMER/myproj~1/randa/config/sandbox/merge-fi
les"
        displayname = "foo" >
      
        <contextparam name="test"
                      value="test" />
        
        <welcomefile file="index.jsp" />
        <welcomefile file="home.jsp" />
     
      </deploymentdescriptor>
      
    </webdoclet>  


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

The information in this email is confidential and is intended solely for
the addressee. Access to this email by anyone else is unauthorised. 

If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on
it, except for the purpose of delivery to the addressee, is prohibited
and may be unlawful. Kindly notify the sender and delete the message and
any attachment from your computer. 


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to