[weld-commits] Weld SVN: r4898 - in examples/trunk/wicket/numberguess: src/test/java/org/jboss/weld/examples/wicket and 1 other directory.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Mon Nov 9 17:26:18 EST 2009
Author: dan.j.allen
Date: 2009-11-09 17:26:17 -0500 (Mon, 09 Nov 2009)
New Revision: 4898
Modified:
examples/trunk/wicket/numberguess/pom.xml
examples/trunk/wicket/numberguess/src/test/java/org/jboss/weld/examples/wicket/Start.java
Log:
embedded jetty should use port 9090
fix dependencies for running Jetty from Eclipse
Modified: examples/trunk/wicket/numberguess/pom.xml
===================================================================
--- examples/trunk/wicket/numberguess/pom.xml 2009-11-09 22:15:22 UTC (rev 4897)
+++ examples/trunk/wicket/numberguess/pom.xml 2009-11-09 22:26:17 UTC (rev 4898)
@@ -89,6 +89,7 @@
<maxIdleTime>3600000</maxIdleTime>
</connector>
</connectors>
+ <contextPath>/${project.build.finalName}</contextPath>
<overrideWebXml>src/main/webapp/WEB-INF/jetty-additions-to-web.xml</overrideWebXml>
</configuration>
</plugin>
@@ -135,17 +136,23 @@
<!-- JETTY DEPENDENCIES FOR IN IDE TESTING -->
<dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-jdk14</artifactId>
- <scope>runtime</scope>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty</artifactId>
+ <scope>test</scope>
+ </dependency>
+
</dependencies>
</profile>
<profile>
Modified: examples/trunk/wicket/numberguess/src/test/java/org/jboss/weld/examples/wicket/Start.java
===================================================================
--- examples/trunk/wicket/numberguess/src/test/java/org/jboss/weld/examples/wicket/Start.java 2009-11-09 22:15:22 UTC (rev 4897)
+++ examples/trunk/wicket/numberguess/src/test/java/org/jboss/weld/examples/wicket/Start.java 2009-11-09 22:26:17 UTC (rev 4898)
@@ -11,7 +11,7 @@
{
Server server = new Server();
SocketConnector connector = new SocketConnector();
- connector.setPort(8080);
+ connector.setPort(9090);
server.setConnectors(new Connector[] { connector });
WebAppContext bb = new WebAppContext();
More information about the weld-commits
mailing list