[weld-commits] Weld SVN: r5324 - in examples/trunk/jsf/numberguess: src and 2 other directories.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Thu Dec 17 10:05:48 EST 2009
Author: kpiwko at redhat.com
Date: 2009-12-17 10:05:48 -0500 (Thu, 17 Dec 2009)
New Revision: 5324
Added:
examples/trunk/jsf/numberguess/src/test/
examples/trunk/jsf/numberguess/src/test/selenium/
examples/trunk/jsf/numberguess/src/test/selenium/jboss5x.xml
Modified:
examples/trunk/jsf/numberguess/pom.xml
Log:
WELD-342
Modified: examples/trunk/jsf/numberguess/pom.xml
===================================================================
--- examples/trunk/jsf/numberguess/pom.xml 2009-12-17 14:57:52 UTC (rev 5323)
+++ examples/trunk/jsf/numberguess/pom.xml 2009-12-17 15:05:48 UTC (rev 5324)
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
-<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">
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -232,7 +233,7 @@
<profile>
<id>gae</id>
<dependencies>
-
+
<!-- Use JSF 1.2, JSF 2 has issues on GAE still -->
<dependency>
@@ -399,9 +400,9 @@
</dependency>
</dependencies>
-
+
<build>
-
+
<resources>
<resource>
<directory>src/jetty/resources</directory>
@@ -434,9 +435,82 @@
</configuration>
</plugin>
</plugins>
-
+
</build>
</profile>
+
+ <profile>
+ <id>ftest-jboss-remote-51</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+
+ <properties>
+ <ftest.version>0.1${ftest.version.discriminator}</ftest.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.weld.examples.ftest</groupId>
+ <artifactId>ftest-numberguess</artifactId>
+ <version>${ftest.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>ftest-jboss-remote-60</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+
+ <properties>
+ <ftest.version>0.1${ftest.version.discriminator}</ftest.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.weld.examples.ftest</groupId>
+ <artifactId>ftest-numberguess</artifactId>
+ <version>${ftest.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<build>
@@ -523,7 +597,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>
Added: examples/trunk/jsf/numberguess/src/test/selenium/jboss5x.xml
===================================================================
--- examples/trunk/jsf/numberguess/src/test/selenium/jboss5x.xml (rev 0)
+++ examples/trunk/jsf/numberguess/src/test/selenium/jboss5x.xml 2009-12-17 15:05:48 UTC (rev 5324)
@@ -0,0 +1,29 @@
+
+ <!--
+ JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+ Middleware LLC, and individual contributors by the @authors tag. See
+ the copyright.txt 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.
+ -->
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="Weld JSF Numberguess example" verbose="2" parallel="false">
+ <listeners>
+ <listener class-name="org.jboss.weld.example.common.test.selenium.WeldFunctionalTestListener" />
+ </listeners>
+ <test name="numberguess_jboss5x">
+ <parameter name="example.context.path" value="/weld-numberguess" />
+ <packages>
+ <package name="org.jboss.weld.example.numberguess.test.selenium" />
+ </packages>
+ </test>
+</suite>
More information about the weld-commits
mailing list