Seam SVN: r8037 - in maven-plugins/trunk: seam-jdocbook-style and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-28 05:53:22 -0400 (Mon, 28 Apr 2008)
New Revision: 8037
Modified:
maven-plugins/trunk/seam-docbook-xslt/pom.xml
maven-plugins/trunk/seam-jdocbook-style/pom.xml
Log:
Remove snapshot repos
Modified: maven-plugins/trunk/seam-docbook-xslt/pom.xml
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-04-28 09:49:41 UTC (rev 8036)
+++ maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-04-28 09:53:22 UTC (rev 8037)
@@ -19,6 +19,15 @@
<connection>scm:svn:http://anonsvn.jboss.org/repos/seam/maven-plugins/trunk</connection>
<url>http://fisheye.jboss.org/browse/Seam/maven-plugins/trunk</url>
</scm>
+
+ <contributors>
+ <contributor>
+ <name>Pete Muir</name>
+ </contributor>
+ <contributor>
+ <name>Mark Newton</name>
+ </contributor>
+ </contributors>
<repositories>
<repository>
@@ -26,12 +35,6 @@
<name>JBoss Repository</name>
<url>http://repository.jboss.org/maven2</url>
</repository>
- <repository>
- <snapshots />
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>http://snapshots.jboss.org/maven2</url>
- </repository>
</repositories>
<dependencies>
Modified: maven-plugins/trunk/seam-jdocbook-style/pom.xml
===================================================================
--- maven-plugins/trunk/seam-jdocbook-style/pom.xml 2008-04-28 09:49:41 UTC (rev 8036)
+++ maven-plugins/trunk/seam-jdocbook-style/pom.xml 2008-04-28 09:53:22 UTC (rev 8037)
@@ -13,6 +13,15 @@
</description>
<url>http://www.seamframework.org</url>
+ <contributors>
+ <contributor>
+ <name>Pete Muir</name>
+ </contributor>
+ <contributor>
+ <name>Mark Newton</name>
+ </contributor>
+ </contributors>
+
<scm>
<developerConnection>scm:svn:https://svn.jboss.org/repos/seam/maven-plugins/trunk</developerConnection>
<connection>scm:svn:http://anonsvn.jboss.org/repos/seam/maven-plugins</connection>
@@ -25,12 +34,6 @@
<name>JBoss Repository</name>
<url>http://repository.jboss.org/maven2</url>
</pluginRepository>
- <pluginRepository>
- <snapshots />
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>http://snapshots.jboss.org/maven2</url>
- </pluginRepository>
</pluginRepositories>
<repositories>
<repository>
@@ -38,12 +41,6 @@
<name>JBoss Repository</name>
<url>http://repository.jboss.org/maven2</url>
</repository>
- <repository>
- <snapshots />
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>http://snapshots.jboss.org/maven2</url>
- </repository>
</repositories>
<build>
16 years, 8 months
Seam SVN: r8036 - maven-plugins/trunk/seam-docbook-xslt.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-28 05:49:41 -0400 (Mon, 28 Apr 2008)
New Revision: 8036
Modified:
maven-plugins/trunk/seam-docbook-xslt/pom.xml
Log:
Upgrade to use the 1.1.0.Beta1 release
Modified: maven-plugins/trunk/seam-docbook-xslt/pom.xml
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-04-28 09:41:17 UTC (rev 8035)
+++ maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-04-28 09:49:41 UTC (rev 8036)
@@ -46,7 +46,7 @@
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.1.0.Beta1</version>
</dependency>
</dependencies>
</dependencyManagement>
16 years, 8 months
Seam SVN: r8035 - trunk/examples.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-28 05:41:17 -0400 (Mon, 28 Apr 2008)
New Revision: 8035
Removed:
trunk/examples/takeaway/
Log:
Never completed, remove
16 years, 8 months
Seam SVN: r8034 - trunk/examples/spring/src/org/jboss/seam/example/spring/test.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-28 05:40:29 -0400 (Mon, 28 Apr 2008)
New Revision: 8034
Modified:
trunk/examples/spring/src/org/jboss/seam/example/spring/test/StartupTest.java
Log:
Fix due to SeamTest changes
Modified: trunk/examples/spring/src/org/jboss/seam/example/spring/test/StartupTest.java
===================================================================
--- trunk/examples/spring/src/org/jboss/seam/example/spring/test/StartupTest.java 2008-04-28 09:40:19 UTC (rev 8033)
+++ trunk/examples/spring/src/org/jboss/seam/example/spring/test/StartupTest.java 2008-04-28 09:40:29 UTC (rev 8034)
@@ -18,8 +18,6 @@
import org.jboss.seam.example.spring.HotelBookingAction;
import org.jboss.seam.example.spring.User;
import org.jboss.seam.mock.SeamTest;
-import org.jboss.seam.mock.SeamTest.FacesRequest;
-import org.jboss.seam.mock.SeamTest.NonFacesRequest;
import org.testng.annotations.Test;
public class StartupTest extends SeamTest {
@@ -28,7 +26,7 @@
public void testRegister() throws Exception {
new FacesRequest("/register.xhtml") {
/**
- * @see org.jboss.seam.mock.BaseSeamTest.Request#updateModelValues()
+ * @see org.jboss.seam.mock.AbstractSeamTest.Request#updateModelValues()
*/
@Override
protected void updateModelValues() throws Exception {
@@ -38,7 +36,7 @@
setValue("#{register.verify}", "password");
}
/**
- * @see org.jboss.seam.mock.BaseSeamTest.Request#invokeApplication()
+ * @see org.jboss.seam.mock.AbstractSeamTest.Request#invokeApplication()
*/
@Override
protected void invokeApplication() throws Exception {
16 years, 8 months
Seam SVN: r8033 - trunk/examples/spring/src/org/jboss/seam/example/spring.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-28 05:40:19 -0400 (Mon, 28 Apr 2008)
New Revision: 8033
Modified:
trunk/examples/spring/src/org/jboss/seam/example/spring/BookingListAction.java
trunk/examples/spring/src/org/jboss/seam/example/spring/BookingService.java
trunk/examples/spring/src/org/jboss/seam/example/spring/HotelBookingAction.java
trunk/examples/spring/src/org/jboss/seam/example/spring/LoginAction.java
trunk/examples/spring/src/org/jboss/seam/example/spring/RegisterAction.java
Log:
Fix warnings
Modified: trunk/examples/spring/src/org/jboss/seam/example/spring/BookingListAction.java
===================================================================
--- trunk/examples/spring/src/org/jboss/seam/example/spring/BookingListAction.java 2008-04-27 04:18:50 UTC (rev 8032)
+++ trunk/examples/spring/src/org/jboss/seam/example/spring/BookingListAction.java 2008-04-28 09:40:19 UTC (rev 8033)
@@ -30,6 +30,7 @@
@In
private User user;
+ @SuppressWarnings("unused")
@DataModel
private List<Booking> bookings;
@DataModelSelection
Modified: trunk/examples/spring/src/org/jboss/seam/example/spring/BookingService.java
===================================================================
--- trunk/examples/spring/src/org/jboss/seam/example/spring/BookingService.java 2008-04-27 04:18:50 UTC (rev 8032)
+++ trunk/examples/spring/src/org/jboss/seam/example/spring/BookingService.java 2008-04-28 09:40:19 UTC (rev 8033)
@@ -7,7 +7,6 @@
import javax.persistence.EntityManager;
import javax.persistence.PersistenceException;
-import org.jboss.seam.Component;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.async.Asynchronous;
import org.jboss.seam.core.Expressions;
Modified: trunk/examples/spring/src/org/jboss/seam/example/spring/HotelBookingAction.java
===================================================================
--- trunk/examples/spring/src/org/jboss/seam/example/spring/HotelBookingAction.java 2008-04-27 04:18:50 UTC (rev 8032)
+++ trunk/examples/spring/src/org/jboss/seam/example/spring/HotelBookingAction.java 2008-04-28 09:40:19 UTC (rev 8033)
@@ -4,7 +4,6 @@
import java.util.Calendar;
import javax.faces.application.FacesMessage;
-import org.jboss.seam.Component;
import org.jboss.seam.annotations.Begin;
import org.jboss.seam.annotations.End;
import org.jboss.seam.annotations.In;
Modified: trunk/examples/spring/src/org/jboss/seam/example/spring/LoginAction.java
===================================================================
--- trunk/examples/spring/src/org/jboss/seam/example/spring/LoginAction.java 2008-04-27 04:18:50 UTC (rev 8032)
+++ trunk/examples/spring/src/org/jboss/seam/example/spring/LoginAction.java 2008-04-28 09:40:19 UTC (rev 8033)
@@ -4,13 +4,13 @@
import java.io.Serializable;
import org.jboss.seam.ScopeType;
-import org.jboss.seam.Seam;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Out;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.Synchronized;
import org.jboss.seam.faces.FacesMessages;
+import org.jboss.seam.web.Session;
@Scope(ScopeType.SESSION)
@Synchronized
@@ -44,7 +44,7 @@
public void logout() {
loggedIn = false;
- Seam.invalidateSession();
+ Session.instance().invalidate();
}
public void validateLogin() {
Modified: trunk/examples/spring/src/org/jboss/seam/example/spring/RegisterAction.java
===================================================================
--- trunk/examples/spring/src/org/jboss/seam/example/spring/RegisterAction.java 2008-04-27 04:18:50 UTC (rev 8032)
+++ trunk/examples/spring/src/org/jboss/seam/example/spring/RegisterAction.java 2008-04-28 09:40:19 UTC (rev 8033)
@@ -21,6 +21,7 @@
@In("#{hibernateTestService}")
private HibernateTestService hibernateTestService;
+ @SuppressWarnings("unused")
@In("hotelSearch")
private HotelSearchingAction hotelSearchingAction;
16 years, 8 months
Seam SVN: r8032 - trunk/seam-gen/test.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2008-04-27 00:18:50 -0400 (Sun, 27 Apr 2008)
New Revision: 8032
Modified:
trunk/seam-gen/test/ActionTest.java
trunk/seam-gen/test/FormTest.java
Log:
include method name in test name (just a better default)
Modified: trunk/seam-gen/test/ActionTest.java
===================================================================
--- trunk/seam-gen/test/ActionTest.java 2008-04-27 04:17:54 UTC (rev 8031)
+++ trunk/seam-gen/test/ActionTest.java 2008-04-27 04:18:50 UTC (rev 8032)
@@ -6,7 +6,7 @@
public class @interfaceName@Test extends SeamTest {
@Test
- public void test() throws Exception {
+ public void test_@methodName@() throws Exception {
new FacesRequest() {
@Override
protected void invokeApplication() {
Modified: trunk/seam-gen/test/FormTest.java
===================================================================
--- trunk/seam-gen/test/FormTest.java 2008-04-27 04:17:54 UTC (rev 8031)
+++ trunk/seam-gen/test/FormTest.java 2008-04-27 04:18:50 UTC (rev 8032)
@@ -6,7 +6,7 @@
public class @interfaceName@Test extends SeamTest {
@Test
- public void test() throws Exception {
+ public void test_@methodName@() throws Exception {
new FacesRequest() {
@Override
protected void updateModelValues() throws Exception {
16 years, 8 months
Seam SVN: r8031 - branches/Seam_2_0/seam-gen/test.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2008-04-27 00:17:54 -0400 (Sun, 27 Apr 2008)
New Revision: 8031
Modified:
branches/Seam_2_0/seam-gen/test/ActionTest.java
branches/Seam_2_0/seam-gen/test/FormTest.java
Log:
include method name in test name (just a better default)
Modified: branches/Seam_2_0/seam-gen/test/ActionTest.java
===================================================================
--- branches/Seam_2_0/seam-gen/test/ActionTest.java 2008-04-27 03:41:20 UTC (rev 8030)
+++ branches/Seam_2_0/seam-gen/test/ActionTest.java 2008-04-27 04:17:54 UTC (rev 8031)
@@ -6,7 +6,7 @@
public class @interfaceName@Test extends SeamTest {
@Test
- public void test() throws Exception {
+ public void test_@methodName@() throws Exception {
new FacesRequest() {
@Override
protected void invokeApplication() {
Modified: branches/Seam_2_0/seam-gen/test/FormTest.java
===================================================================
--- branches/Seam_2_0/seam-gen/test/FormTest.java 2008-04-27 03:41:20 UTC (rev 8030)
+++ branches/Seam_2_0/seam-gen/test/FormTest.java 2008-04-27 04:17:54 UTC (rev 8031)
@@ -6,7 +6,7 @@
public class @interfaceName@Test extends SeamTest {
@Test
- public void test() throws Exception {
+ public void test_@methodName@() throws Exception {
new FacesRequest() {
@Override
protected void updateModelValues() throws Exception {
16 years, 8 months
Seam SVN: r8030 - trunk/seam-gen.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2008-04-26 23:41:20 -0400 (Sat, 26 Apr 2008)
New Revision: 8030
Modified:
trunk/seam-gen/build.xml
Log:
don't prompt user for local interface name if project type is WAR
Modified: trunk/seam-gen/build.xml
===================================================================
--- trunk/seam-gen/build.xml 2008-04-27 03:40:46 UTC (rev 8029)
+++ trunk/seam-gen/build.xml 2008-04-27 03:41:20 UTC (rev 8030)
@@ -3,7 +3,7 @@
<project name="seam-gen" default="help" basedir="." xmlns:artifact="urn:maven-artifact-ant">
<!-- Build resources -->
<property name="seam.dir" value="${ant.file.seam-gen}/../../" />
-
+
<!-- Order is important -->
<property file="./build.properties" />
<import file="${seam.dir}/build/common.build.xml" />
@@ -504,11 +504,20 @@
<input addproperty="component.name" message="Enter the Seam component name"/>
<uppercaseProperty name="interface.name.default" value="${component.name}"/>
- <input message="Enter the local interface name [${interface.name.default}]"
+ <condition property="interface.name.prompt" value="local interface">
+ <isset property="project.ear"/>
+ </condition>
+ <condition property="interface.name.prompt" value="bean class">
+ <isset property="project.war"/>
+ </condition>
+ <input message="Enter the ${interface.name.prompt} name [${interface.name.default}]"
addproperty="interface.name"
defaultvalue="${interface.name.default}"/>
<uppercaseProperty name="bean.name.default" value="${component.name}Bean"/>
+ <condition property="bean.name" value="${interface.name}">
+ <isset property="project.war"/>
+ </condition>
<input message="Enter the bean class name [${bean.name.default}]"
addproperty="bean.name"
defaultvalue="${bean.name.default}"/>
@@ -1059,7 +1068,7 @@
<pathelement path="../lib/hibernate-commons-annotations.jar" />
<pathelement path="../lib/hibernate-annotations.jar" />
<pathelement path="../lib/hibernate-entitymanager.jar" />
- <pathelement path="../lib/hibernate-validator.jar"/>
+ <pathelement path="../lib/hibernate-validator.jar"/>
<pathelement path="../lib/commons-collections.jar" />
<pathelement path="../lib/commons-logging.jar" />
<pathelement path="../lib/javassist.jar" />
16 years, 8 months
Seam SVN: r8029 - branches/Seam_2_0/seam-gen.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2008-04-26 23:40:46 -0400 (Sat, 26 Apr 2008)
New Revision: 8029
Modified:
branches/Seam_2_0/seam-gen/build.xml
Log:
don't prompt user for local interface name if project type is WAR
Modified: branches/Seam_2_0/seam-gen/build.xml
===================================================================
--- branches/Seam_2_0/seam-gen/build.xml 2008-04-26 03:07:45 UTC (rev 8028)
+++ branches/Seam_2_0/seam-gen/build.xml 2008-04-27 03:40:46 UTC (rev 8029)
@@ -3,12 +3,13 @@
<project name="seam-gen" default="help" basedir="." xmlns:artifact="urn:maven-artifact-ant">
<!-- Build resources -->
<property name="seam.dir" value="${ant.file.seam-gen}/../../" />
+
<!-- Order is important -->
<property file="./build.properties" />
<import file="${seam.dir}/build/common.build.xml" />
<target name="init">
- <path id="seam-gen.path" path="${seam.dir}/lib/jboss-seam-gen.jar" />
+ <path id="seam-gen.path" path="${seam.dir}/lib/jboss-seam-gen.jar" />
<!-- taskdefs -->
<taskdef name="normalizeProjectName"
@@ -37,7 +38,7 @@
<taskdef name="pathFixer"
classname="org.jboss.seam.tool.FixPathTask"
- classpathref="seam-gen.path"/>
+ classpathref="seam-gen.path"/>
</target>
<target name="init-properties" depends="init">
@@ -194,7 +195,7 @@
<property name="old.icefaces.home" value="" />
<input addproperty="icefaces.home.new"
- message="By default, seam-gen will download the recommended ICEFaces. If you want to use a specific version of ICEFaces, enter the path to icefaces here [${old.icefaces.home}]"
+ message="By default, seam-gen will download the recommended ICEFaces. If you want to use a specific version of ICEFaces, enter the path to icefaces here [${old.icefaces.home}]"
defaultvalue="${old.icefaces.home}" />
<condition property="richfaces.skin.new" value="">
@@ -501,11 +502,20 @@
<input addproperty="component.name" message="Enter the Seam component name"/>
<uppercaseProperty name="interface.name.default" value="${component.name}"/>
- <input message="Enter the local interface name [${interface.name.default}]"
+ <condition property="interface.name.prompt" value="local interface">
+ <isset property="project.ear"/>
+ </condition>
+ <condition property="interface.name.prompt" value="bean class">
+ <isset property="project.war"/>
+ </condition>
+ <input message="Enter the ${interface.name.prompt} name [${interface.name.default}]"
addproperty="interface.name"
defaultvalue="${interface.name.default}"/>
<uppercaseProperty name="bean.name.default" value="${component.name}Bean"/>
+ <condition property="bean.name" value="${interface.name}">
+ <isset property="project.war"/>
+ </condition>
<input message="Enter the bean class name [${bean.name.default}]"
addproperty="bean.name"
defaultvalue="${bean.name.default}"/>
16 years, 8 months