dion 02/05/05 05:30:03
Added: latka/src/conf latka-webapp-web.xml latka-application.xml
Log:
created for maven:war and maven:ear
Revision Changes Path
1.1 jakarta-commons/latka/src/conf/latka-webapp-web.xml
Index: latka-webapp-web.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
<web-app>
<description>
Latka standard web application
</description>
<context-param>
<param-name>latka.testDir</param-name>
<param-value>/lib/latka/tests/samples</param-value>
</context-param>
<!-- view response servlet -->
<servlet>
<servlet-name>viewResponse</servlet-name>
<servlet-class>org.apache.commons.latka.servlet.ViewResponseServlet</servlet-class>
</servlet>
<!-- view suite servlet -->
<servlet>
<servlet-name>viewSuite</servlet-name>
<servlet-class>org.apache.commons.latka.servlet.ViewSuiteServlet</servlet-class>
</servlet>
<!-- view response servlet -->
<servlet-mapping>
<servlet-name>viewResponse</servlet-name>
<url-pattern>/viewResponse</url-pattern>
</servlet-mapping>
<!-- view suite servlet -->
<servlet-mapping>
<servlet-name>viewSuite</servlet-name>
<url-pattern>/viewSuite</url-pattern>
</servlet-mapping>
<taglib>
<taglib-uri>http://jakarta.apache.org/taglibs/latka-taglib</taglib-uri>
<taglib-location>/WEB-INF/latka-taglib.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://jakarta.apache.org/taglibs/io</taglib-uri>
<taglib-location>/WEB-INF/io.tld</taglib-location>
</taglib>
<!-- if you want to test basic auth, you have to set it up the latka-auth
role in your servlet container's security interface -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<!-- Define the context-relative URL(s) to be protected -->
<url-pattern>/self-test/basicAuth/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<!-- Anyone with one of the listed roles may access this area -->
<role-name>latka-auth</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>latka-realm</realm-name>
</login-config>
</web-app>
1.1 jakarta-commons/latka/src/conf/latka-application.xml
Index: latka-application.xml
===================================================================
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application
1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<application>
<description>Latka Web Testing Enterprise App</description>
<display-name>latka</display-name>
<module>
<web>
<web-uri>latka-webapp.war</web-uri>
<context-root>/latka</context-root>
</web>
</module>
</application>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>