Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-web/src/test/java/org/xdoclet/testapp/web/expected
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13386/plugin-web/src/test/java/org/xdoclet/testapp/web/expected

Added Files:
        taglib-1_2.tld taglib-2_0.tld web-2_2.xml web-2_3.xml 
        web-2_4.xml 
Removed Files:
        taglib.tld taglib2_0.tld web-22.xml web-23.xml web-24.xml 
Log Message:
XDP-93 : splitted tests, forced validation in tests, some corrections and 
finally passes !

--- taglib.tld DELETED ---

--- NEW FILE: taglib-1_2.tld ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 
1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";>

<taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>taglib</short-name>

    <listener>
       
<listener-class>org.xdoclet.testapp.web.TestSessionListener</listener-class>
    </listener>
    <listener>
       
<listener-class>org.xdoclet.testapp.web.TestServletContextListener</listener-class>
    </listener>
    <listener>
       <listener-class>org.xdoclet.testapp.web.SimpleListener</listener-class>
    </listener>

    <tag>
        <name>simple</name>
        <tag-class>org.xdoclet.testapp.web.SimpleTag</tag-class>
        <body-content>empty</body-content>
        <display-name>SimpleTag</display-name>
        <description>Simple JSP tag.</description>
        <variable>
            <name-given>date</name-given>
            <variable-class>java.util.Date</variable-class>
            <declare>true</declare>
            <scope>AT_BEGIN</scope>
        </variable>
        <variable>
            <name-given>var</name-given>
            <variable-class>java.lang.String</variable-class>
            <declare>true</declare>
            <scope>NESTED</scope>
        </variable>
        <attribute>
            <name>action</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description>The action attribute defines the dummy action to take 
with this dummy tag.</description>
        </attribute>
        <attribute>
            <name>thingy</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
            <type>java.lang.Integer</type>           
        </attribute>

    </tag>

</taglib>


--- web-24.xml DELETED ---

--- NEW FILE: taglib-2_0.tld ---
<?xml version="1.0" encoding="UTF-8"?>

<taglib version="2.0"
    xmlns="http://java.sun.com/xml/ns/j2ee";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd";>

    <tlib-version>1.0</tlib-version>
    <short-name>taglib</short-name>

    <listener>
       
<listener-class>org.xdoclet.testapp.web.TestSessionListener</listener-class>
    </listener>
    <listener>
       
<listener-class>org.xdoclet.testapp.web.TestServletContextListener</listener-class>
    </listener>
    <listener>
       
<listener-class>org.xdoclet.testapp.web.DummyServletRequestListener</listener-class>
    </listener>
    <listener>
       <listener-class>org.xdoclet.testapp.web.SimpleListener</listener-class>
    </listener>

    <tag>
        <description>Simple JSP tag.</description>
        <display-name>SimpleTag</display-name>
        <name>simple</name>
        <tag-class>org.xdoclet.testapp.web.SimpleTag</tag-class>
        <body-content>empty</body-content>
        <variable>
            <name-given>date</name-given>
            <variable-class>java.util.Date</variable-class>
            <declare>true</declare>
            <scope>AT_BEGIN</scope>
        </variable>
        <variable>
            <name-given>var</name-given>
            <variable-class>java.lang.String</variable-class>
            <declare>true</declare>
            <scope>NESTED</scope>
        </variable>
        <attribute>
            <description>The action attribute defines the dummy action to take 
with this dummy tag.</description>
            <name>action</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>thingy</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
            <type>java.lang.Integer</type>
       </attribute>
    </tag>

</taglib>


--- web-22.xml DELETED ---

--- taglib2_0.tld DELETED ---

--- NEW FILE: web-2_2.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
2.2//EN" "http://java.sun.com/dtd/web-app_2_2.dtd";>

<web-app>
    <!-- TODO : <distributable/>-->

    <!-- TODO : mergedir/servlets.xml (excluding servlet-mappings)-->
    <servlet>
        <servlet-name>SimpleVelocityServlet</servlet-name>
        <display-name>Simple Velocity Servlet</display-name>
        <description>This is a description for the simple Velocity 
servlet</description>
        
<servlet-class>org.xdoclet.testapp.web.SimpleVelocityServlet</servlet-class>
        <init-param>
            <param-name>param1</param-name>
            <param-value>value1</param-value>
            <description>This is a description for the 1st init-param of the 
simple Velocity servlet</description>
        </init-param>
        <init-param>
            <param-name>param2</param-name>
            <param-value>value2</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
        <security-role-ref>
            <description>A description for the test link role</description>
            <role-name>LinkedTestRole</role-name>
            <role-link>TestRole</role-link>
        </security-role-ref>
        <security-role-ref>
            <role-name>YetAnotherRole</role-name>
            <role-link>AnotherRole</role-link>
        </security-role-ref>
    </servlet>

    <!-- TODO : mergedir/servlets-mappings.xml (excluding servlet-mappings)-->
    <servlet-mapping>
        <servlet-name>SimpleVelocityServlet</servlet-name>
        <url-pattern>/simple/*</url-pattern>
    </servlet-mapping>

    <!-- TODO : mergedir/mime-mappings.xml -->
    <!-- TODO : mergedir/error-pages.xml -->

    <!-- TODO : mergdir/taglibs.xml -->

    <!--taglib>
       <taglib-uri>http://java.sun.com/jstl/ea/core</taglib-uri>
       <taglib-location>/WEB-INF/c.tld</taglib-location>
    </taglib>-->

    <resource-ref>
        <description>Test resource reference</description>
        <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>

    <!-- TODO : mergedir/web-security.xml ( security settings for your web app) 
-->
    <security-role>
        <description>A description for the test role</description>
        <role-name>TestRole</role-name>
    </security-role>
    <security-role>
        <role-name>AnotherRole</role-name>
    </security-role>

    <env-entry>
        <description>a test string for env entry!?</description>
        <env-entry-name>TestEnvName</env-entry-name>
        <env-entry-value>testString</env-entry-value>
        <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>

    <ejb-ref>
        <description>A test reference to the Account EJB</description>
        <ejb-ref-name>Account</ejb-ref-name>
        <ejb-ref-type>Entity</ejb-ref-type>
        <home>test.interfaces.AccountHome</home>
        <remote>test.interfaces.Account</remote>
        <ejb-link>Account</ejb-link>
    </ejb-ref>

</web-app>

--- NEW FILE: web-2_3.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>
    <!-- TODO : <distributable/>-->
    <!-- TODO : mergedir/filters.xml (separate from filter-mappings) -->
    <filter>
        <icon><small-icon>iconOne.gif</small-icon></icon>
        <filter-name>TimerFilter</filter-name>
        <display-name>Timer Filter</display-name>
        <description>The description of the TimerFilter</description>
        <filter-class>org.xdoclet.testapp.web.TimerFilter</filter-class>
        <init-param>
            <param-name>param1</param-name>
            <param-value>value1</param-value>
        </init-param>
        <init-param>
            <param-name>param2</param-name>
            <param-value>value2</param-value>
            <description>the second parameter to the Timer Filter</description>
        </init-param>
    </filter>
    <filter>
        <icon><small-icon>icon2.gif</small-icon></icon>
        <filter-name>SecondFilter</filter-name>
        <display-name>Second Filter</display-name>
        <filter-class>org.xdoclet.testapp.web.SecondFilter</filter-class>
    </filter>
    <filter>
        <filter-name>ThirdFilter</filter-name>
        <display-name>Third Filter</display-name>
        <description>My 3rd filter is really cool</description>
        <filter-class>org.xdoclet.testapp.web.ThirdFilter</filter-class>
    </filter>

    <!-- TODO : mergedir/filter-mappings.xml -->
    <filter-mapping>
        <filter-name>TimerFilter</filter-name>
        <url-pattern>*.xml</url-pattern>
    </filter-mapping>

    <filter-mapping>
        <filter-name>SecondFilter</filter-name>
        <url-pattern>/second</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>SecondFilter</filter-name>
        <url-pattern>/other/mapping</url-pattern>
    </filter-mapping>

    <filter-mapping>
        <filter-name>ThirdFilter</filter-name>
        <servlet-name>/third</servlet-name>
    </filter-mapping>

    <!-- TODO : mergedir/listeners.xml -->
    <listener>
       
<listener-class>org.xdoclet.testapp.web.TestSessionListener</listener-class>
    </listener>

    <listener>
       
<listener-class>org.xdoclet.testapp.web.TestServletContextListener</listener-class>
    </listener>

    <listener>
       <listener-class>org.xdoclet.testapp.web.SimpleListener</listener-class>
    </listener>

    <!-- TODO : mergedir/servlets.xml (excluding servlet-mappings)-->
    <servlet>
        <servlet-name>SimpleVelocityServlet</servlet-name>
        <display-name>Simple Velocity Servlet</display-name>
        <description>This is a description for the simple Velocity 
servlet</description>
        
<servlet-class>org.xdoclet.testapp.web.SimpleVelocityServlet</servlet-class>
        <init-param>
            <param-name>param1</param-name>
            <param-value>value1</param-value>
            <description>This is a description for the 1st init-param of the 
simple Velocity servlet</description>
        </init-param>
        <init-param>
            <param-name>param2</param-name>
            <param-value>value2</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
        <run-as><role-name>TestRole</role-name></run-as>
        <security-role-ref>
            <description>A description for the test link role</description>
            <role-name>LinkedTestRole</role-name>
            <role-link>TestRole</role-link>
        </security-role-ref>
        <security-role-ref>
            <role-name>YetAnotherRole</role-name>
            <role-link>AnotherRole</role-link>
        </security-role-ref>
    </servlet>

    <!-- TODO : mergedir/servlets-mappings.xml (excluding servlet-mappings)-->
    <servlet-mapping>
        <servlet-name>SimpleVelocityServlet</servlet-name>
        <url-pattern>/simple/*</url-pattern>
    </servlet-mapping>

    <!-- TODO : mergedir/mime-mappings.xml -->
    <!-- TODO : mergedir/error-pages.xml -->

    <!-- TODO : mergdir/taglibs.xml -->

    <!--taglib>
       <taglib-uri>http://java.sun.com/jstl/ea/core</taglib-uri>
       <taglib-location>/WEB-INF/c.tld</taglib-location>
    </taglib>-->

    <resource-env-ref>
        <description>Test resource env ref</description>
        <resource-env-ref-name>jms/StockQueue</resource-env-ref-name>
        <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>

    <resource-ref>
        <description>Test resource reference</description>
        <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>

    <!-- TODO : mergedir/web-security.xml ( security settings for your web app) 
-->
    <!-- TODO : security-role-ref should come before resource-* ??? that's how 
it seems to be in xdoclet1.2 -->

    <security-role>
        <description>A description for the test role</description>
        <role-name>TestRole</role-name>
    </security-role>
    <security-role>
        <role-name>AnotherRole</role-name>
    </security-role>

    <env-entry>
        <description>a test string for env entry!?</description>
        <env-entry-name>TestEnvName</env-entry-name>
        <env-entry-value>testString</env-entry-value>
        <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>

    <ejb-ref>
        <description>A test reference to the Account EJB</description>
        <ejb-ref-name>Account</ejb-ref-name>
        <ejb-ref-type>Entity</ejb-ref-type>
        <home>test.interfaces.AccountHome</home>
        <remote>test.interfaces.Account</remote>
        <ejb-link>Account</ejb-link>
    </ejb-ref>

    <ejb-local-ref>
        <description>A test ref to the local Dummy Session Bean</description>
        <ejb-ref-name>Dummy</ejb-ref-name>
        <ejb-ref-type>Session</ejb-ref-type>
        <local-home>test.interfaces.DummyLocalHome</local-home>
        <local>test.interfaces.DummyLocal</local>
        <ejb-link>Dummy</ejb-link>
    </ejb-local-ref>

</web-app>

--- web-23.xml DELETED ---

--- NEW FILE: web-2_4.xml ---
<?xml version="1.0" encoding="ISO-8859-1"?>

<web-app xmlns="http://java.sun.com/xml/ns/j2ee";
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
         version="2.4">

    <!-- TODO : <distributable/>-->
    <!-- TODO : mergedir/filters.xml (separate from filter-mappings) -->
    <filter>
        <description>The description of the TimerFilter</description>
        <display-name>Timer Filter</display-name>
        <icon>
            <small-icon>iconOne.gif</small-icon>
        </icon>
        <filter-name>TimerFilter</filter-name>
        <filter-class>org.xdoclet.testapp.web.TimerFilter</filter-class>
        <init-param>
            <param-name>param1</param-name>
            <param-value>value1</param-value>
        </init-param>
        <init-param>
            <description>the second parameter to the Timer Filter</description>
            <param-name>param2</param-name>
            <param-value>value2</param-value>
        </init-param>
    </filter>
    <filter>
        <display-name>Second Filter</display-name>
        <icon>
            <small-icon>icon2.gif</small-icon>
        </icon>
        <filter-name>SecondFilter</filter-name>
        <filter-class>org.xdoclet.testapp.web.SecondFilter</filter-class>
    </filter>
    <filter>
        <description>My 3rd filter is really cool</description>
        <display-name>Third Filter</display-name>
        <filter-name>ThirdFilter</filter-name>
        <filter-class>org.xdoclet.testapp.web.ThirdFilter</filter-class>
    </filter>

    <!-- TODO : mergedir/filter-mappings.xml -->
    <filter-mapping>
        <filter-name>TimerFilter</filter-name>
        <url-pattern>*.xml</url-pattern>
    </filter-mapping>

    <filter-mapping>
        <filter-name>SecondFilter</filter-name>
        <url-pattern>/second</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>SecondFilter</filter-name>
        <url-pattern>/other/mapping</url-pattern>
    </filter-mapping>

    <filter-mapping>
        <filter-name>ThirdFilter</filter-name>
        <servlet-name>/third</servlet-name>
    </filter-mapping>

    <!-- TODO : mergedir/listeners.xml -->
    <listener>
       
<listener-class>org.xdoclet.testapp.web.TestSessionListener</listener-class>
    </listener>

    <listener>
       
<listener-class>org.xdoclet.testapp.web.TestServletContextListener</listener-class>
    </listener>

    <listener>
       
<listener-class>org.xdoclet.testapp.web.DummyServletRequestListener</listener-class>
    </listener>

    <listener>
       <listener-class>org.xdoclet.testapp.web.SimpleListener</listener-class>
    </listener>

    <!-- TODO : mergedir/servlets.xml (excluding servlet-mappings)-->
    <servlet>
        <description>This is a description for the simple Velocity 
servlet</description>
        <display-name>Simple Velocity Servlet</display-name>
        <servlet-name>SimpleVelocityServlet</servlet-name>
        
<servlet-class>org.xdoclet.testapp.web.SimpleVelocityServlet</servlet-class>
        <init-param>
            <description>This is a description for the 1st init-param of the 
simple Velocity servlet</description>
            <param-name>param1</param-name>
            <param-value>value1</param-value>
        </init-param>
        <init-param>
            <param-name>param2</param-name>
            <param-value>value2</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
        <run-as>
            <role-name>TestRole</role-name>
        </run-as>
        <security-role-ref>
            <description>A description for the test link role</description>
            <role-name>LinkedTestRole</role-name>
            <role-link>TestRole</role-link>
        </security-role-ref>
        <security-role-ref>
            <role-name>YetAnotherRole</role-name>
            <role-link>AnotherRole</role-link>
        </security-role-ref>
    </servlet>

    <!-- TODO : mergedir/servlets-mappings.xml (excluding servlet-mappings)-->
    <servlet-mapping>
        <servlet-name>SimpleVelocityServlet</servlet-name>
        <url-pattern>/simple/*</url-pattern>
    </servlet-mapping>

    <!-- TODO : mergedir/mime-mappings.xml -->
    <!-- TODO : mergedir/error-pages.xml -->

    <!-- TODO : mergdir/taglibs.xml -->

    <!--taglib>
       <taglib-uri>http://java.sun.com/jstl/ea/core</taglib-uri>
       <taglib-location>/WEB-INF/c.tld</taglib-location>
    </taglib>-->

    <resource-env-ref>
        <description>Test resource env ref</description>
        <resource-env-ref-name>jms/StockQueue</resource-env-ref-name>
        <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>

    <resource-ref>
        <description>Test resource reference</description>
        <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>

    <!-- TODO : mergedir/web-security.xml ( security settings for your web app) 
-->
    <!-- TODO : security-role-ref should come before resource-* ??? that's how 
it seems to be in xdoclet1.2 -->

    <security-role>
        <description>A description for the test role</description>
        <role-name>TestRole</role-name>
    </security-role>
    <security-role>
        <role-name>AnotherRole</role-name>
    </security-role>

    <env-entry>
        <description>a test string for env entry!?</description>
        <env-entry-name>TestEnvName</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>testString</env-entry-value>
    </env-entry>

    <ejb-ref>
        <description>A test reference to the Account EJB</description>
        <ejb-ref-name>Account</ejb-ref-name>
        <ejb-ref-type>Entity</ejb-ref-type>
        <home>test.interfaces.AccountHome</home>
        <remote>test.interfaces.Account</remote>
        <ejb-link>Account</ejb-link>
    </ejb-ref>

    <ejb-local-ref>
        <description>A test ref to the local Dummy Session Bean</description>
        <ejb-ref-name>Dummy</ejb-ref-name>
        <ejb-ref-type>Session</ejb-ref-type>
        <local-home>test.interfaces.DummyLocalHome</local-home>
        <local>test.interfaces.DummyLocal</local>
        <ejb-link>Dummy</ejb-link>
    </ejb-local-ref>

</web-app>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to