[seam-commits] Seam SVN: r7789 - in branches/Seam_2_0: doc/Seam_Reference_Guide/en and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Apr 1 15:51:59 EDT 2008
Author: epbernard
Date: 2008-04-01 15:51:58 -0400 (Tue, 01 Apr 2008)
New Revision: 7789
Modified:
branches/Seam_2_0/build/core.pom.xml
branches/Seam_2_0/build/root.pom.xml
branches/Seam_2_0/doc/Seam_Reference_Guide/en/Groovy.xml
Log:
JBSEAM-2491 Groovy 1.5.4
Modified: branches/Seam_2_0/build/core.pom.xml
===================================================================
--- branches/Seam_2_0/build/core.pom.xml 2008-04-01 17:31:16 UTC (rev 7788)
+++ branches/Seam_2_0/build/core.pom.xml 2008-04-01 19:51:58 UTC (rev 7789)
@@ -139,7 +139,7 @@
</dependency>
<dependency>
- <groupId>groovy</groupId>
+ <groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<optional>true</optional>
</dependency>
Modified: branches/Seam_2_0/build/root.pom.xml
===================================================================
--- branches/Seam_2_0/build/root.pom.xml 2008-04-01 17:31:16 UTC (rev 7788)
+++ branches/Seam_2_0/build/root.pom.xml 2008-04-01 19:51:58 UTC (rev 7789)
@@ -455,9 +455,9 @@
</dependency>
<dependency>
- <groupId>groovy</groupId>
+ <groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
- <version>1.1-BETA-1</version>
+ <version>1.5.4</version>
<exclusions>
<!-- groovy-all imports a lot of stuff, would be better to just use specific bits -->
<exclusion>
Modified: branches/Seam_2_0/doc/Seam_Reference_Guide/en/Groovy.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/en/Groovy.xml 2008-04-01 17:31:16 UTC (rev 7788)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/en/Groovy.xml 2008-04-01 19:51:58 UTC (rev 7789)
@@ -48,7 +48,7 @@
<section>
<title>Writing Groovy components</title>
- <para>As you should have noticed by now, Seam uses annotations heavily. Be sure to use Groovy 1.1 Beta1 or
+ <para>As you should have noticed by now, Seam uses annotations heavily. Be sure to use Groovy 1.1 or
above for annotation support. Here are some example of groovy code used in a Seam application.</para>
<section>
@@ -94,13 +94,6 @@
accessed from Java as <code>hotel.getCity()</code>, the getters and setters being generated by the
Groovy compiler. This type of syntactic sugar makes the entity code very concise.</para>
- <para>Some temporary gotchas: Groovy 1.1 Beta1 does not (yet) support generics. One negative effect of
- this is that entity relationships have no built-in type information. It is necessary to use the
- targetEntity attribute of the appropriate <literal>@*ToMany</literal> annotation instead of simply
- using a generic type definition like <code>Collection<Entity></code>. For the same
- reason, you won't be able to benefit from the very useful <xref linkend="framework"/> yet. The good
- news is that support for generics is targeted for Groovy 1.1 (Groovy 1.1 Beta2 at the time of
- writing).</para>
</section>
<section>
More information about the seam-commits
mailing list