Seam SVN: r8231 - branches/Seam_2_0.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-05-20 11:12:06 -0400 (Tue, 20 May 2008)
New Revision: 8231
Modified:
branches/Seam_2_0/build.xml
Log:
JBSEAM-3009
Modified: branches/Seam_2_0/build.xml
===================================================================
--- branches/Seam_2_0/build.xml 2008-05-20 13:49:08 UTC (rev 8230)
+++ branches/Seam_2_0/build.xml 2008-05-20 15:12:06 UTC (rev 8231)
@@ -628,9 +628,12 @@
<target name="testcore" depends="inittestcore,compiletest,getemma" description="Run the core tests">
<taskdef resource="testngtasks" classpathref="test.core.path" />
- <testng outputdir="${test.dir}">
- <jvmarg value="-Demma.coverage.out.file=${coverage.ec}" />
- <jvmarg line="-Djava.awt.headless=true" />
+ <testng outputdir="${test.dir}">
+ <jvmarg line="-Xmx800M" />
+ <jvmarg line="-Djava.awt.headless=true" />
+ <jvmarg line="-Demma.coverage.out.file=${coverage.ec}" />
+ <jvmarg line="-Djava.endorsed.dirs=${endorsed.dir}" />
+ <jvmarg line="${testng.jvmargs}" />
<classpath>
<path path="${classes.test.core.dir}" />
<path path="${classes.test.dir}" />
16 years, 6 months
Seam SVN: r8230 - trunk.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-05-20 09:49:08 -0400 (Tue, 20 May 2008)
New Revision: 8230
Modified:
trunk/build.xml
Log:
JBSEAM-3009
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2008-05-20 10:21:03 UTC (rev 8229)
+++ trunk/build.xml 2008-05-20 13:49:08 UTC (rev 8230)
@@ -665,7 +665,7 @@
<target name="unittest" depends="inittestcore,compiletest,getemma" description="Run the Unit tests">
<taskdef resource="testngtasks" classpathref="test.core.path" />
- <testng>
+ <testng outputdir="${test.dir}">
<jvmarg value="-Demma.coverage.out.file=${coverage.ec}" />
<jvmarg line="-Djava.awt.headless=true" />
<classpath>
16 years, 6 months
Seam SVN: r8229 - trunk/src/main/org/jboss/seam/faces.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-05-20 06:21:03 -0400 (Tue, 20 May 2008)
New Revision: 8229
Modified:
trunk/src/main/org/jboss/seam/faces/FacesMessages.java
Log:
Fix FacesMessages
Modified: trunk/src/main/org/jboss/seam/faces/FacesMessages.java
===================================================================
--- trunk/src/main/org/jboss/seam/faces/FacesMessages.java 2008-05-20 06:22:06 UTC (rev 8228)
+++ trunk/src/main/org/jboss/seam/faces/FacesMessages.java 2008-05-20 10:21:03 UTC (rev 8229)
@@ -301,7 +301,7 @@
@Deprecated
public void addFromResourceBundleOrDefault(javax.faces.application.FacesMessage.Severity severity, String key, String defaultMessageTemplate, Object... params)
{
- addFromResourceBundle(toSeverity(severity), key, defaultMessageTemplate, params);
+ addFromResourceBundleOrDefault(toSeverity(severity), key, defaultMessageTemplate, params);
}
/**
16 years, 6 months
Seam SVN: r8228 - trunk.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2008-05-20 02:22:06 -0400 (Tue, 20 May 2008)
New Revision: 8228
Modified:
trunk/seam21migration.txt
Log:
added notes for migrating security configuration
Modified: trunk/seam21migration.txt
===================================================================
--- trunk/seam21migration.txt 2008-05-20 01:04:37 UTC (rev 8227)
+++ trunk/seam21migration.txt 2008-05-20 06:22:06 UTC (rev 8228)
@@ -27,4 +27,18 @@
-----------------------------
If you need to configure which entity manager to use, this is now done on the
-entity-loader component. See the documentation for details.
\ No newline at end of file
+entity-loader component. See the documentation for details.
+
+Security
+--------
+
+If you are using rule-based security in your project, the configuration for the
+security rules in components.xml has changed. Previously, the rules were configured
+as a property of the Identity component as such:
+
+ <security:identity security-rules="#{securityRules}" authenticate-method="#{authenticator.authenticate}"/>
+
+In Seam 2.1, rule-based permission checks are now carried out by the RuleBasedPermissionResolver,
+requiring that it is configured with the security rules instead of Identity:
+
+ <security:rule-based-permission-resolver security-rules="#{securityRules}"/>
\ No newline at end of file
16 years, 6 months
Seam SVN: r8227 - in branches/Seam_2_0: examples/wiki and 1 other directories.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-05-19 21:04:37 -0400 (Mon, 19 May 2008)
New Revision: 8227
Modified:
branches/Seam_2_0/build.xml
branches/Seam_2_0/examples/wiki/build.xml
branches/Seam_2_0/examples/wiki/src/etc/META-INF/persistence-test-war.xml
Log:
JBSEAM-3009
Modified: branches/Seam_2_0/build.xml
===================================================================
--- branches/Seam_2_0/build.xml 2008-05-19 22:11:11 UTC (rev 8226)
+++ branches/Seam_2_0/build.xml 2008-05-20 01:04:37 UTC (rev 8227)
@@ -628,7 +628,7 @@
<target name="testcore" depends="inittestcore,compiletest,getemma" description="Run the core tests">
<taskdef resource="testngtasks" classpathref="test.core.path" />
- <testng>
+ <testng outputdir="${test.dir}">
<jvmarg value="-Demma.coverage.out.file=${coverage.ec}" />
<jvmarg line="-Djava.awt.headless=true" />
<classpath>
Modified: branches/Seam_2_0/examples/wiki/build.xml
===================================================================
--- branches/Seam_2_0/examples/wiki/build.xml 2008-05-19 22:11:11 UTC (rev 8226)
+++ branches/Seam_2_0/examples/wiki/build.xml 2008-05-20 01:04:37 UTC (rev 8227)
@@ -118,6 +118,7 @@
<target name="clean" description="Cleans up all build artifacts">
<delete dir="${tmp.dir}"/>
+ <delete dir="lacewikiIndex"/>
</target>
<target name="upgradehibernate"
Modified: branches/Seam_2_0/examples/wiki/src/etc/META-INF/persistence-test-war.xml
===================================================================
--- branches/Seam_2_0/examples/wiki/src/etc/META-INF/persistence-test-war.xml 2008-05-19 22:11:11 UTC (rev 8226)
+++ branches/Seam_2_0/examples/wiki/src/etc/META-INF/persistence-test-war.xml 2008-05-20 01:04:37 UTC (rev 8227)
@@ -32,7 +32,7 @@
<!-- Search engine -->
<property name="hibernate.search.default.directory_provider"
value="org.hibernate.search.store.FSDirectoryProvider"/>
- <property name="hibernate.search.default.indexBase" value="build/lacewikiIndex"/>
+ <property name="hibernate.search.default.indexBase" value="lacewikiIndex"/>
<property name="hibernate.search.worker.batch_size" value="50"/>
<!-- Run the Hibernate bytecode instrumentation at deployment time, for lazy loading of @ToOne and byte[] properties -->
16 years, 6 months
Seam SVN: r8226 - in trunk: src/main/org/jboss/seam and 1 other directory.
by seam-commits@lists.jboss.org
Author: christian.bauer(a)jboss.com
Date: 2008-05-19 18:11:11 -0400 (Mon, 19 May 2008)
New Revision: 8226
Modified:
trunk/doc/Seam_Reference_Guide/en-US/Controls.xml
trunk/src/main/org/jboss/seam/ui-2.1.xsd
Log:
JBSEAM-2941, entity loader class is named JpaEntityLoader, not EntityLoader, hence components.xml needs to use that
Modified: trunk/doc/Seam_Reference_Guide/en-US/Controls.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Controls.xml 2008-05-19 21:00:00 UTC (rev 8225)
+++ trunk/doc/Seam_Reference_Guide/en-US/Controls.xml 2008-05-19 22:11:11 UTC (rev 8226)
@@ -338,7 +338,7 @@
<programlisting><![CDATA[<components xmlns="http://jboss.com/products/seam/components"
xmlns:ui="http://jboss.com/products/seam/ui">
- <ui:entity-loader entity-manager="#{em}" />]]></programlisting>
+ <ui:jpa-entity-loader entity-manager="#{em}" />]]></programlisting>
<para>
If you are using a <emphasis>Managed Hibernate Session</emphasis>
@@ -373,11 +373,11 @@
<ui:entity-converter name="standardEntityConverter" entity-loader="#{standardEntityLoader}" />
- <ui:entity-loader name="standardEntityLoader" entity-manager="#{standardEntityManager}" />
+ <ui:jpa-entity-loader name="standardEntityLoader" entity-manager="#{standardEntityManager}" />
<ui:entity-converter name="restrictedEntityConverter" entity-loader="#{restrictedEntityLoader}" />
- <ui:entity-loader name="restrictedEntityLoader" entity-manager="#{restrictedEntityManager}" />]]></programlisting>
+ <ui:jpa-entity-loader name="restrictedEntityLoader" entity-manager="#{restrictedEntityManager}" />]]></programlisting>
<programlisting><![CDATA[<h:selectOneMenu value="#{person.continent}">
<s:selectItems value="#{continents.resultList}" var="continent"
Modified: trunk/src/main/org/jboss/seam/ui-2.1.xsd
===================================================================
--- trunk/src/main/org/jboss/seam/ui-2.1.xsd 2008-05-19 21:00:00 UTC (rev 8225)
+++ trunk/src/main/org/jboss/seam/ui-2.1.xsd 2008-05-19 22:11:11 UTC (rev 8226)
@@ -5,7 +5,7 @@
xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
<xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.1.xsd"/>
- <xs:element name="entity-loader">
+ <xs:element name="jpa-entity-loader">
<xs:complexType>
<xs:attributeGroup ref="components:attlist.component" />
<xs:attribute name="entity-manager" type="xs:string" />
16 years, 6 months
Seam SVN: r8225 - branches/Seam_2_0/examples.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-05-19 17:00:00 -0400 (Mon, 19 May 2008)
New Revision: 8225
Modified:
branches/Seam_2_0/examples/build.xml
Log:
Use line not value
Modified: branches/Seam_2_0/examples/build.xml
===================================================================
--- branches/Seam_2_0/examples/build.xml 2008-05-19 07:04:43 UTC (rev 8224)
+++ branches/Seam_2_0/examples/build.xml 2008-05-19 21:00:00 UTC (rev 8225)
@@ -949,11 +949,11 @@
<target name="testclass" depends="buildtest, copyjbossembedded,getemma" description="Run a specific test">
<taskdef resource="testngtasks" classpathref="build.classpath" />
<testng outputdir="${test-report.dir}" testname="${className}" suitename="${className}" >
- <jvmarg value="-Xmx800M" />
- <jvmarg value="-Djava.awt.headless=true" />
- <jvmarg value="-Demma.coverage.out.file=${coverage.ec}" />
- <jvmarg value="-Djava.endorsed.dirs=${endorsed.dir}" />
- <jvmarg value="${testng.jvmargs}" />
+ <jvmarg line="-Xmx800M" />
+ <jvmarg line="-Djava.awt.headless=true" />
+ <jvmarg line="-Demma.coverage.out.file=${coverage.ec}" />
+ <jvmarg line="-Djava.endorsed.dirs=${endorsed.dir}" />
+ <jvmarg line="${testng.jvmargs}" />
<classpath>
<path refid="test.classpath" />
<path refid="runtime.emma.path" />
16 years, 6 months
Seam SVN: r8224 - trunk/examples/wiki/src/etc/i18n.
by seam-commits@lists.jboss.org
Author: christian.bauer(a)jboss.com
Date: 2008-05-19 03:04:43 -0400 (Mon, 19 May 2008)
New Revision: 8224
Removed:
trunk/examples/wiki/src/etc/i18n/messages_blogArchive_en.properties
trunk/examples/wiki/src/etc/i18n/messages_blogRecentEntries_en.properties
Log:
Minor
Deleted: trunk/examples/wiki/src/etc/i18n/messages_blogArchive_en.properties
===================================================================
--- trunk/examples/wiki/src/etc/i18n/messages_blogArchive_en.properties 2008-05-18 02:18:10 UTC (rev 8223)
+++ trunk/examples/wiki/src/etc/i18n/messages_blogArchive_en.properties 2008-05-19 07:04:43 UTC (rev 8224)
@@ -1,3 +0,0 @@
-blogArchive.label.Archive=Archive
-blogArchive.label.Subscribe=Subscribe
-blogArchive.label.AllEntries=All Entries
\ No newline at end of file
Deleted: trunk/examples/wiki/src/etc/i18n/messages_blogRecentEntries_en.properties
===================================================================
--- trunk/examples/wiki/src/etc/i18n/messages_blogRecentEntries_en.properties 2008-05-18 02:18:10 UTC (rev 8223)
+++ trunk/examples/wiki/src/etc/i18n/messages_blogRecentEntries_en.properties 2008-05-19 07:04:43 UTC (rev 8224)
@@ -1,3 +0,0 @@
-blogRecentEntries.label.RecentEntries=Recent Entries
-blogRecentEntries.label.Subscribe=Subscribe
-
16 years, 6 months
Seam SVN: r8223 - branches/Seam_2_0/build/lib.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-05-17 22:18:10 -0400 (Sat, 17 May 2008)
New Revision: 8223
Modified:
branches/Seam_2_0/build/lib/maven-ant-tasks.jar
Log:
Updating to same version of maven-ant-tasks.jar. It is the only significant different between the trunk and 2.0 branch that is related to the hudson/maven errors.
Modified: branches/Seam_2_0/build/lib/maven-ant-tasks.jar
===================================================================
(Binary files differ)
16 years, 6 months
Seam SVN: r8222 - branches/Seam_2_0/build.
by seam-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2008-05-17 17:32:06 -0400 (Sat, 17 May 2008)
New Revision: 8222
Modified:
branches/Seam_2_0/build/root.pom.xml
Log:
revert of previous test commit - it did not help
Modified: branches/Seam_2_0/build/root.pom.xml
===================================================================
--- branches/Seam_2_0/build/root.pom.xml 2008-05-17 21:10:48 UTC (rev 8221)
+++ branches/Seam_2_0/build/root.pom.xml 2008-05-17 21:32:06 UTC (rev 8222)
@@ -28,12 +28,12 @@
<name>JBoss Repository</name>
<url>http://repository.jboss.org/maven2</url>
</repository>
- <repository>
+ <!-- <repository>
<snapshots />
<id>snapshots.jboss.org</id>
<name>JBoss Snapshot Repository</name>
<url>http://snapshots.jboss.org/maven2</url>
- </repository>
+ </repository>-->
</repositories>
<!-- Externalize some version numbers here -->
16 years, 6 months