Weld SVN: r4898 - in examples/trunk/wicket/numberguess: src/test/java/org/jboss/weld/examples/wicket and 1 other directory.
by weld-commits@lists.jboss.org
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();
14 years, 8 months
Weld SVN: r4897 - examples/trunk/wicket/numberguess.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-11-09 17:15:22 -0500 (Mon, 09 Nov 2009)
New Revision: 4897
Modified:
examples/trunk/wicket/numberguess/pom.xml
Log:
use port 9090 for embedded jetty
Modified: examples/trunk/wicket/numberguess/pom.xml
===================================================================
--- examples/trunk/wicket/numberguess/pom.xml 2009-11-09 21:53:36 UTC (rev 4896)
+++ examples/trunk/wicket/numberguess/pom.xml 2009-11-09 22:15:22 UTC (rev 4897)
@@ -83,6 +83,12 @@
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
+ <connectors>
+ <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+ <port>${jetty.http.port}</port>
+ <maxIdleTime>3600000</maxIdleTime>
+ </connector>
+ </connectors>
<overrideWebXml>src/main/webapp/WEB-INF/jetty-additions-to-web.xml</overrideWebXml>
</configuration>
</plugin>
@@ -164,5 +170,8 @@
</profile>
</profiles>
+ <properties>
+ <jetty.http.port>9090</jetty.http.port>
+ </properties>
</project>
14 years, 8 months
Weld SVN: r4896 - examples/trunk/jsf/permalink.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-11-09 16:53:36 -0500 (Mon, 09 Nov 2009)
New Revision: 4896
Modified:
examples/trunk/jsf/permalink/readme.txt
Log:
whitespace
Modified: examples/trunk/jsf/permalink/readme.txt
===================================================================
--- examples/trunk/jsf/permalink/readme.txt 2009-11-09 21:48:57 UTC (rev 4895)
+++ examples/trunk/jsf/permalink/readme.txt 2009-11-09 21:53:36 UTC (rev 4896)
@@ -22,7 +22,7 @@
mvn package
-Just copy target/weld-permalink.war to the JBoss AS deploy directory. Open this
+Just copy target/weld-permalink.war to the JBoss AS deploy directory. Open this
local URL to access the running application:
http://localhost:8080/weld-permalink
@@ -61,7 +61,7 @@
src/main/webapp, under WEB-INF/classes and WEB-INF/lib, respectively, mixing
source and compiled files. However, the build does work around these temporary
files by excluding them from the packaged WAR and cleaning them during the Maven
-clean phase. These folders are also ignored by SVN.
+clean phase. These folders are also ignored by SVN.
== Deploying to standalone Tomcat
14 years, 8 months
Weld SVN: r4895 - in examples/trunk/jsf/permalink: src/main/java/org/jboss/weld/examples/permalink and 1 other directory.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-11-09 16:48:57 -0500 (Mon, 09 Nov 2009)
New Revision: 4895
Modified:
examples/trunk/jsf/permalink/pom.xml
examples/trunk/jsf/permalink/src/main/java/org/jboss/weld/examples/permalink/Blog.java
examples/trunk/jsf/permalink/src/main/java/org/jboss/weld/examples/permalink/CommentBoard.java
Log:
fix permalink example for weld 1.0.0
Modified: examples/trunk/jsf/permalink/pom.xml
===================================================================
--- examples/trunk/jsf/permalink/pom.xml 2009-11-09 20:47:39 UTC (rev 4894)
+++ examples/trunk/jsf/permalink/pom.xml 2009-11-09 21:48:57 UTC (rev 4895)
@@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.0-CR1</version>
+ <version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -116,26 +115,27 @@
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<additionalBuildcommands>
- <!-- annoyingly creates a bin directory
- <buildCommand>
- <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
- </buildCommand>
+ <!--
+ annoyingly creates a bin directory <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ </buildCommand>
-->
<buildCommand>
- <name>org.jboss.tools.common.verification.verifybuilder</name>
+ <name>org.jboss.tools.common.verification.verifybuilder</name>
</buildCommand>
</additionalBuildcommands>
<additionalConfig>
<file>
<name>.settings/org.maven.ide.eclipse.prefs</name>
<content>activeProfiles=jdk5
-eclipse.preferences.version=1
-fullBuildGoals=process-test-resources
-includeModules=false
-resolveWorkspaceProjects=true
-resourceFilterGoals=process-resources resources\:testResources
-skipCompilerPlugin=true
-version=1</content>
+ eclipse.preferences.version=1
+ fullBuildGoals=process-test-resources
+ includeModules=false
+ resolveWorkspaceProjects=true
+ resourceFilterGoals=process-resources
+ resources\:testResources
+ skipCompilerPlugin=true
+ version=1</content>
</file>
</additionalConfig>
<additionalProjectFacets>
@@ -154,7 +154,10 @@
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
- <!-- don't stage or package files added to ${webapp.directory} by war:inplace -->
+ <!--
+ don't stage or package files added to
+ ${webapp.directory} by war:inplace
+ -->
<warSourceExcludes>WEB-INF/classes/**,WEB-INF/lib/**</warSourceExcludes>
</configuration>
</plugin>
@@ -166,15 +169,24 @@
<prompt>${project.artifactId}</prompt>
<!-- userAliases are for cli:execute-phase -->
<userAliases>
- <runjetty>compile org.mortbay.jetty:maven-jetty-plugin:run -Pjetty</runjetty>
- <stopjetty>org.mortbay.jetty:maven-jetty-plugin:stop -Pjetty</stopjetty>
- <runtomcat>compile org.apache.maven.plugins:maven-war-plugin:inplace org.codehaus.mojo:tomcat-maven-plugin:run -Ptomcat</runtomcat>
+ <runjetty>compile
+ org.mortbay.jetty:maven-jetty-plugin:run -Pjetty</runjetty>
+ <stopjetty>org.mortbay.jetty:maven-jetty-plugin:stop
+ -Pjetty</stopjetty>
+ <runtomcat>compile
+ org.apache.maven.plugins:maven-war-plugin:inplace
+ org.codehaus.mojo:tomcat-maven-plugin:run -Ptomcat</runtomcat>
<explode>compile -o</explode>
<!-- tomcat requires use of war:inplace -->
- <tcexplode>compile org.apache.maven.plugins:maven-war-plugin:inplace -Ptomcat -o</tcexplode>
- <restart>org.apache.maven.plugins:maven-antrun-plugin:run -Prestart-embedded</restart>
- <profiles>org.apache.maven.plugins:maven-help-plugin:active-profiles -o</profiles>
- <pom>org.apache.maven.plugins:maven-help-plugin:effective-pom -o</pom>
+ <tcexplode>compile
+ org.apache.maven.plugins:maven-war-plugin:inplace
+ -Ptomcat -o</tcexplode>
+ <restart>org.apache.maven.plugins:maven-antrun-plugin:run
+ -Prestart-embedded</restart>
+ <profiles>org.apache.maven.plugins:maven-help-plugin:active-profiles
+ -o</profiles>
+ <pom>org.apache.maven.plugins:maven-help-plugin:effective-pom
+ -o</pom>
</userAliases>
<!-- commands are for cli:execute -->
<commands>
@@ -224,12 +236,6 @@
</dependency>
<dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>4.0.0.GA</version>
@@ -248,8 +254,7 @@
<dependency>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.5.6</version>
+ <artifactId>slf4j-jdk14</artifactId>
<scope>runtime</scope>
</dependency>
@@ -299,14 +304,25 @@
<artifactId>tomcat-maven-plugin</artifactId>
<configuration>
<path>/${project.build.finalName}</path>
- <!-- uncomment to use server configuration override; see readme.txt for details -->
+ <!--
+ uncomment to use server configuration override;
+ see readme.txt for details
+ -->
<!--<server>tomcatserver</server>-->
<url>http://localhost:${tomcat.http.port}/manager</url>
- <port>${embedded-tomcat.http.port}</port> <!-- port for embedded Tomcat only (putting this configuration in the execution for the run goal doesn't work) -->
- <!-- this isn't useful to us because we also need an web.xml override -->
+ <port>${embedded-tomcat.http.port}</port>
<!--
- <contextFile>src/main/webapp-tomcat/META-INF/context.xml</contextFile>
+ port for embedded Tomcat only (putting this
+ configuration in the execution for the run goal
+ doesn't work)
-->
+ <!--
+ this isn't useful to us because we also need an
+ web.xml override
+ -->
+ <!--
+ <contextFile>src/main/webapp-tomcat/META-INF/context.xml</contextFile>
+ -->
</configuration>
</plugin>
@@ -348,12 +364,6 @@
</dependency>
<dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>4.0.0.GA</version>
@@ -372,8 +382,7 @@
<dependency>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.5.6</version>
+ <artifactId>slf4j-jdk14</artifactId>
<scope>runtime</scope>
</dependency>
@@ -409,7 +418,8 @@
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<connectors>
- <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+ <connector
+ implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>${jetty.http.port}</port>
<maxIdleTime>3600000</maxIdleTime>
</connector>
@@ -436,25 +446,16 @@
<artifactId>maven-antrun-plugin</artifactId>
<configuration>
<tasks>
- <touch file="${webapp.directory}/WEB-INF/web.xml"/>
+ <touch file="${webapp.directory}/WEB-INF/web.xml" />
</tasks>
</configuration>
<!-- Hooking an execution to a phase is more correct, but slower -->
<!--
- <executions>
- <execution>
- <id>touch-web-inf</id>
- <phase>validate</phase>
- <configuration>
- <tasks>
- <touch file="${webapp.directory}/WEB-INF/web.xml"/>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
+ <executions> <execution> <id>touch-web-inf</id>
+ <phase>validate</phase> <configuration> <tasks>
+ <touch file="${webapp.directory}/WEB-INF/web.xml"/>
+ </tasks> </configuration> <goals> <goal>run</goal>
+ </goals> </execution> </executions>
-->
</plugin>
</plugins>
Modified: examples/trunk/jsf/permalink/src/main/java/org/jboss/weld/examples/permalink/Blog.java
===================================================================
--- examples/trunk/jsf/permalink/src/main/java/org/jboss/weld/examples/permalink/Blog.java 2009-11-09 20:47:39 UTC (rev 4894)
+++ examples/trunk/jsf/permalink/src/main/java/org/jboss/weld/examples/permalink/Blog.java 2009-11-09 21:48:57 UTC (rev 4895)
@@ -26,15 +26,15 @@
import java.util.List;
import java.util.Set;
-import javax.enterprise.inject.stereotype.Model;
+import javax.enterprise.inject.Model;
import javax.inject.Inject;
-import javax.inject.Named;
/**
* @author Dan Allen
*/
+@Model
public
-@Model
+
class Blog
{
private static final int PAGE_SIZE = 3;
Modified: examples/trunk/jsf/permalink/src/main/java/org/jboss/weld/examples/permalink/CommentBoard.java
===================================================================
--- examples/trunk/jsf/permalink/src/main/java/org/jboss/weld/examples/permalink/CommentBoard.java 2009-11-09 20:47:39 UTC (rev 4894)
+++ examples/trunk/jsf/permalink/src/main/java/org/jboss/weld/examples/permalink/CommentBoard.java 2009-11-09 21:48:57 UTC (rev 4895)
@@ -21,12 +21,10 @@
*/
package org.jboss.weld.examples.permalink;
-import javax.faces.context.FacesContext;
+import javax.enterprise.inject.Model;
import javax.faces.application.FacesMessage;
-
-import javax.enterprise.inject.stereotype.Model;
+import javax.faces.context.FacesContext;
import javax.inject.Inject;
-import javax.inject.Named;
/**
* @author Dan Allen
14 years, 8 months
Weld SVN: r4894 - in examples/trunk/se: numberguess and 1 other directory.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-11-09 15:47:39 -0500 (Mon, 09 Nov 2009)
New Revision: 4894
Modified:
examples/trunk/se/hello-world/pom.xml
examples/trunk/se/numberguess/pom.xml
Log:
make running from eclipse easier
Modified: examples/trunk/se/hello-world/pom.xml
===================================================================
--- examples/trunk/se/hello-world/pom.xml 2009-11-09 20:27:07 UTC (rev 4893)
+++ examples/trunk/se/hello-world/pom.xml 2009-11-09 20:47:39 UTC (rev 4894)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>weld-examples-parent</artifactId>
<groupId>org.jboss.weld.examples</groupId>
@@ -34,7 +35,6 @@
</executions>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
- <version>1.1.1</version>
<configuration>
<mainClass>org.jboss.weld.environment.se.StartMain</mainClass>
<arguments>
@@ -42,38 +42,6 @@
</arguments>
</configuration>
</plugin>
- <plugin>
- <groupId>com.google.code.maven-license-plugin</groupId>
- <artifactId>maven-license-plugin</artifactId>
- <version>1.4.0</version>
- <configuration>
- <basedir>${basedir}</basedir>
- <header>${basedir}/src/etc/header.txt</header>
- <quiet>false</quiet>
- <failIfMissing>true</failIfMissing>
- <aggregate>false</aggregate>
- <encoding>UTF-8</encoding>
- </configuration>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>format</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <mainClass>org.jboss.weld.environment.se.StartMain</mainClass>
- </manifest>
- </archive>
- </configuration>
- </plugin>
</plugins>
</build>
</profile>
@@ -91,4 +59,29 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <configuration>
+ <!-- This is needed so that we get StartMain on the RunAs list -->
+ <useProjectReferences>false</useProjectReferences>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>org.jboss.weld.environment.se.StartMain</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+
</project>
Modified: examples/trunk/se/numberguess/pom.xml
===================================================================
--- examples/trunk/se/numberguess/pom.xml 2009-11-09 20:27:07 UTC (rev 4893)
+++ examples/trunk/se/numberguess/pom.xml 2009-11-09 20:47:39 UTC (rev 4894)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>weld-examples-parent</artifactId>
<groupId>org.jboss.weld.examples</groupId>
@@ -41,6 +42,14 @@
</archive>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <configuration>
+ <!-- This is needed so that we get StartMain on the RunAs list -->
+ <useProjectReferences>false</useProjectReferences>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -66,7 +75,6 @@
</executions>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
- <version>1.1.1</version>
<configuration>
<mainClass>org.jboss.weld.environment.se.StartMain</mainClass>
</configuration>
14 years, 8 months
Weld SVN: r4893 - in examples/trunk/jsf: permalink and 1 other directory.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-11-09 15:27:07 -0500 (Mon, 09 Nov 2009)
New Revision: 4893
Modified:
examples/trunk/jsf/login/src/main/webapp/home.xhtml
examples/trunk/jsf/login/src/main/webapp/template.xhtml
examples/trunk/jsf/permalink/readme.txt
Log:
minor
Modified: examples/trunk/jsf/login/src/main/webapp/home.xhtml
===================================================================
--- examples/trunk/jsf/login/src/main/webapp/home.xhtml 2009-11-09 20:26:56 UTC (rev 4892)
+++ examples/trunk/jsf/login/src/main/webapp/home.xhtml 2009-11-09 20:27:07 UTC (rev 4893)
@@ -2,8 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:s="http://jboss.com/products/seam/taglib">
+ xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="template.xhtml">
<ui:define name="content">
Modified: examples/trunk/jsf/login/src/main/webapp/template.xhtml
===================================================================
--- examples/trunk/jsf/login/src/main/webapp/template.xhtml 2009-11-09 20:26:56 UTC (rev 4892)
+++ examples/trunk/jsf/login/src/main/webapp/template.xhtml 2009-11-09 20:27:07 UTC (rev 4893)
@@ -1,7 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
Modified: examples/trunk/jsf/permalink/readme.txt
===================================================================
--- examples/trunk/jsf/permalink/readme.txt 2009-11-09 20:26:56 UTC (rev 4892)
+++ examples/trunk/jsf/permalink/readme.txt 2009-11-09 20:27:07 UTC (rev 4893)
@@ -26,6 +26,8 @@
local URL to access the running application:
http://localhost:8080/weld-permalink
+
+Alternatively, run ant restart to have the app copied to you ${jboss.home}
But you may want to take advantage of the embedded servlet containers.
@@ -105,7 +107,7 @@
= Importing the project into Eclipse
-The recommended way to setup a Seam example in Eclipse is to use the m2eclipse
+The recommended way to setup a Weld example in Eclipse is to use the m2eclipse
plugin. This plugin derives the build classpath from the dependencies listed in
the pom.xml file. It also has direct integration with Maven build commands.
14 years, 8 months
Weld SVN: r4891 - examples/trunk/jsf/permalink.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-11-09 15:25:36 -0500 (Mon, 09 Nov 2009)
New Revision: 4891
Added:
examples/trunk/jsf/permalink/build.xml
Log:
add build.xml
Added: examples/trunk/jsf/permalink/build.xml
===================================================================
--- examples/trunk/jsf/permalink/build.xml (rev 0)
+++ examples/trunk/jsf/permalink/build.xml 2009-11-09 20:25:36 UTC (rev 4891)
@@ -0,0 +1,19 @@
+<project basedir="." name="Numberguess Example Build" default="restart">
+
+ <property name="example.name" value="weld-permalink" />
+
+ <import file="../../build.xml" />
+
+ <target name="package">
+ <maven target="install" basedir="${basedir}">
+ <arg line="-Pjboss5" />
+ </maven>
+ </target>
+
+ <target name="clean">
+ <maven target="clean" basedir="${basedir}">
+ <arg line="-Pjboss5" />
+ </maven>
+ </target>
+
+</project>
14 years, 8 months
Weld SVN: r4890 - doc/trunk/reference/en-US.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-11-09 15:01:56 -0500 (Mon, 09 Nov 2009)
New Revision: 4890
Modified:
doc/trunk/reference/en-US/gettingstarted.xml
Log:
minor
Modified: doc/trunk/reference/en-US/gettingstarted.xml
===================================================================
--- doc/trunk/reference/en-US/gettingstarted.xml 2009-11-09 19:49:22 UTC (rev 4889)
+++ doc/trunk/reference/en-US/gettingstarted.xml 2009-11-09 20:01:56 UTC (rev 4890)
@@ -215,9 +215,26 @@
pseudo-translating.
</para>
- <para>
- TODO Insert note about upgrading the Weld deployer that directs reader to section on the JBoss AS environment
- </para>
+ <tip>
+ <para>
+ There are a number of other examples that use CDI and JSF together. Consult the readme.txt file in the
+ following directories for introductions about how to run these examples.
+ </para>
+
+ <itemizedlist>
+ <listitem>
+ <para>
+ examples/jsf/login - A basic login using a session-scoped bean.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ examples/jsf/permalink - A basic blog that demonstrates JSF 2.0 bookmarkable URL support using view
+ parameters and pre-render view listeners. The build and deployment is based exclusively on Maven 2.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </tip>
</section>
14 years, 8 months
Weld SVN: r4889 - examples/trunk.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-11-09 14:49:22 -0500 (Mon, 09 Nov 2009)
New Revision: 4889
Modified:
examples/trunk/pom.xml
Log:
add permalink
Modified: examples/trunk/pom.xml
===================================================================
--- examples/trunk/pom.xml 2009-11-09 19:48:53 UTC (rev 4888)
+++ examples/trunk/pom.xml 2009-11-09 19:49:22 UTC (rev 4889)
@@ -79,6 +79,7 @@
<module>jsf/numberguess</module>
<module>jsf/translator</module>
<module>jsf/login</module>
+ <module>jsf/permalink</module>
<module>se/numberguess</module>
<module>se/hello-world</module>
<module>wicket/numberguess</module>
14 years, 8 months