Author: pete.muir(a)jboss.org
Date: 2009-03-27 16:15:58 -0400 (Fri, 27 Mar 2009)
New Revision: 2238
Modified:
examples/trunk/tomcat/
examples/trunk/tomcat/WebContent/WEB-INF/web.xml
examples/trunk/tomcat/build.xml
examples/trunk/tomcat/pom.xml
Log:
tomcat example
Property changes on: examples/trunk/tomcat
___________________________________________________________________
Name: svn:ignore
+ .classpath
.project
target
.settings
Modified: examples/trunk/tomcat/WebContent/WEB-INF/web.xml
===================================================================
--- examples/trunk/tomcat/WebContent/WEB-INF/web.xml 2009-03-27 19:25:32 UTC (rev 2237)
+++ examples/trunk/tomcat/WebContent/WEB-INF/web.xml 2009-03-27 20:15:58 UTC (rev 2238)
@@ -28,5 +28,9 @@
<session-config>
<session-timeout>10</session-timeout>
</session-config>
+
+ <listener>
+
<listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-class>
+ </listener>
</web-app>
Modified: examples/trunk/tomcat/build.xml
===================================================================
--- examples/trunk/tomcat/build.xml 2009-03-27 19:25:32 UTC (rev 2237)
+++ examples/trunk/tomcat/build.xml 2009-03-27 20:15:58 UTC (rev 2238)
@@ -1,7 +1,7 @@
-<project basedir="." name="Numberguess Example Build"
default="restart">
+<project basedir="." name="Numberguess Example Build"
default="tomcat.restart">
<property name="example.name" value="webbeans-numberguess" />
<import file="../build.xml" />
-</project>
\ No newline at end of file
+</project>
Modified: examples/trunk/tomcat/pom.xml
===================================================================
--- examples/trunk/tomcat/pom.xml 2009-03-27 19:25:32 UTC (rev 2237)
+++ examples/trunk/tomcat/pom.xml 2009-03-27 20:15:58 UTC (rev 2238)
@@ -9,7 +9,7 @@
</parent>
<groupId>org.jboss.webbeans.examples</groupId>
- <artifactId>webbeans-numberguess</artifactId>
+ <artifactId>webbeans-numberguess-tomcat</artifactId>
<packaging>war</packaging>
<name>Web Beans Examples: Numberguess</name>
@@ -40,15 +40,27 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <scope>provided</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
<groupId>com.sun.facelets</groupId>
<artifactId>jsf-facelets</artifactId>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>org.jboss.webbeans.tomcat</groupId>
+ <artifactId>webbeans-tomcat</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+
<!-- <dependency>
<groupId>org.jboss.el</groupId>
<artifactId>jboss-el</artifactId>
@@ -69,11 +81,12 @@
<artifactId>el-api</artifactId>
</exclusion>
</exclusions>
+ <scope>runtime</scope>
</dependency>
+
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>jsr250-api</artifactId>
- <scope>provided</scope>
</dependency>
</dependencies>
Show replies by date