The following issue has been updated:

    Updater: pranav butala (mailto:[EMAIL PROTECTED])
       Date: Tue, 20 Jan 2004 8:48 AM
    Changes:
             Attachment changed to actionmain1.java
    ---------------------------------------------------------------------
For a full history of the issue, see:

  
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-773&page=history

---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-773


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-773
    Summary: Usiing @web tags to generate web.xml file for servlets. Will not ass 
servlet name in xml file
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
   Versions:
             1.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: pranav butala

    Created: Fri, 16 Jan 2004 6:13 PM
    Updated: Tue, 20 Jan 2004 8:48 AM
Environment: Linux

Description:
<!--=====================Xdoclet building web.xml file==========================-->

<target name="webxml"

          description="Generate web.xml">

    <echo>Generating web.xml ...</echo>

    <mkdir dir="${build.home}"/>

    <webdoclet destdir="${build.home}" verbose="true">

      <fileset dir="${src.home}/TMS">
             <include name="**/*Servlet.java" />

      </fileset>

      <deploymentdescriptor destdir="${build.home}"
          mergedir="${build.home}"

          servletspec="2.3"

          displayname="Just a test"

          description="Testing XDoclet web.xml generation"

          sessiontimeout="120"

          validateXml="true">

        <welcomefile file="index.jsp"/>

        <taglib uri="/WEB-INF/test.tld" location="/WEB-INF/test.tld"/>

      </deploymentdescriptor>

    </webdoclet>
    <echo>${build.home} </echo>
    <echo>${src.home}</echo>    

</target>

   
@web tag is in the servlet. 
Using @web.servlet and @web.servlet-mapping

web.xml file is created but doesnot capture the servlet information in which the tags 
are present. The src.home/TMS is the loation where the servlet is.

Code in Servlet:

/**
 [EMAIL PROTECTED] name = "TMS.actionmain"  
 *                         display-name = "TMS.actionmain1"
  * @web.servlet-mapping url-pattern = "/TMS.actionmain1/*"
 *Description of the Class 
 *
 [EMAIL PROTECTED]     
 [EMAIL PROTECTED]    April 22, 2003
 */

Please advice


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
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-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to