[jboss-cvs] JBossAS SVN: r111366 - in trunk/testsuite/src/resources/web/jbas-8318: META-INF and 3 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri May 13 08:04:45 EDT 2011
Author: jaikiran
Date: 2011-05-13 08:04:44 -0400 (Fri, 13 May 2011)
New Revision: 111366
Added:
trunk/testsuite/src/resources/web/jbas-8318/META-INF/
trunk/testsuite/src/resources/web/jbas-8318/META-INF/faces-config.xml
trunk/testsuite/src/resources/web/jbas-8318/WEB-INF/
trunk/testsuite/src/resources/web/jbas-8318/WEB-INF/faces-config.xml
trunk/testsuite/src/resources/web/jbas-8318/WEB-INF/web.xml
trunk/testsuite/src/resources/web/jbas-8318/jar/
trunk/testsuite/src/resources/web/jbas-8318/jar/META-INF/
trunk/testsuite/src/resources/web/jbas-8318/jar/META-INF/faces-config.xml
Log:
JBAS-8318 Add the missing testsuite files which got missed out in previous commits
Added: trunk/testsuite/src/resources/web/jbas-8318/META-INF/faces-config.xml
===================================================================
--- trunk/testsuite/src/resources/web/jbas-8318/META-INF/faces-config.xml (rev 0)
+++ trunk/testsuite/src/resources/web/jbas-8318/META-INF/faces-config.xml 2011-05-13 12:04:44 UTC (rev 111366)
@@ -0,0 +1,35 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
+ version="1.2">
+
+ <managed-bean>
+ <description>Another managed bean</description>
+ <managed-bean-name>jsfManagedBeanInMetaInf</managed-bean-name>
+ <managed-bean-class>org.jboss.test.web.jbas8318.JSFManagedBeanInMetaInf</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+
+</faces-config>
Added: trunk/testsuite/src/resources/web/jbas-8318/WEB-INF/faces-config.xml
===================================================================
--- trunk/testsuite/src/resources/web/jbas-8318/WEB-INF/faces-config.xml (rev 0)
+++ trunk/testsuite/src/resources/web/jbas-8318/WEB-INF/faces-config.xml 2011-05-13 12:04:44 UTC (rev 111366)
@@ -0,0 +1,35 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
+ version="1.2">
+
+ <managed-bean>
+ <description>simple managed bean</description>
+ <managed-bean-name>simpleManagedBean</managed-bean-name>
+ <managed-bean-class>org.jboss.test.web.jbas8318.SimpleJSFManagedBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+
+</faces-config>
Added: trunk/testsuite/src/resources/web/jbas-8318/WEB-INF/web.xml
===================================================================
--- trunk/testsuite/src/resources/web/jbas-8318/WEB-INF/web.xml (rev 0)
+++ trunk/testsuite/src/resources/web/jbas-8318/WEB-INF/web.xml 2011-05-13 12:04:44 UTC (rev 111366)
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<web-app version="2.5"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+
+
+ <description>JBAS-8318</description>
+
+ <context-param>
+ <param-name>javax.faces.CONFIG_FILES</param-name>
+ <param-value>
+ /WEB-INF/faces-config.xml,
+ /META-INF/faces-config.xml
+ ,
+
+ </param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>SimpleServlet</servlet-name>
+ <servlet-class>org.jboss.test.web.jbas8318.SimpleServlet</servlet-class>
+ </servlet>
+
+ <servlet>
+ <servlet-name>javax.faces.FacesServlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>javax.faces.FacesServlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>SimpleServlet</servlet-name>
+ <url-pattern>/SimpleServlet</url-pattern>
+ </servlet-mapping>
+
+ <env-entry>
+ <env-entry-name>simpleString</env-entry-name>
+ <env-entry-type>java.lang.String</env-entry-type>
+ <env-entry-value>DummyString</env-entry-value>
+ </env-entry>
+</web-app>
Added: trunk/testsuite/src/resources/web/jbas-8318/jar/META-INF/faces-config.xml
===================================================================
--- trunk/testsuite/src/resources/web/jbas-8318/jar/META-INF/faces-config.xml (rev 0)
+++ trunk/testsuite/src/resources/web/jbas-8318/jar/META-INF/faces-config.xml 2011-05-13 12:04:44 UTC (rev 111366)
@@ -0,0 +1,36 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
+ version="1.2">
+
+ <managed-bean>
+ <description>Managed bean in .war/lib/*.jar</description>
+ <managed-bean-name>libJarJSFManagedBean</managed-bean-name>
+ <managed-bean-class>org.jboss.test.web.jbas8318.JSFManagedBeanInLibJarMetaInf</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+
+</faces-config>
+
More information about the jboss-cvs-commits
mailing list