Skip to content

Commit

Permalink
Better build for example
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@491 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Dec 9, 2008
1 parent fd6bbf5 commit 7a1fcda
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 0 deletions.
31 changes: 31 additions & 0 deletions examples/numberguess/WebContent/WEB-INF/web.xml
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>

<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">

<display-name>Web Beans Numbergues example</display-name>

<!-- JSF -->

<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>

<session-config>
<session-timeout>10</session-timeout>
</session-config>

<listener>
<listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-class>
</listener>

</web-app>
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions examples/numberguess/pom.xml
Expand Up @@ -46,5 +46,9 @@
</dependency>
</dependencies>

<build>
<finalName>webbeans-numberguess</finalName>
</build>

</project>

0 comments on commit 7a1fcda

Please sign in to comment.