[jbosstools-issues] [JBoss JIRA] (JBIDE-11490) Test Seam tooling with Seam 2.3.Beta

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed May 2 02:55:18 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689290#comment-12689290 ] 

Alexey Kazakov edited comment on JBIDE-11490 at 5/2/12 2:54 AM:
----------------------------------------------------------------

I tested Seam 2.3 nightly build from http://ci.jboss.org/hudson/view/Seam/job/Seam-2.3.X-dist-nightly/75/ in JBT + AS 7.1.1.Final.
Here are the problems I got:

*1. We need to fix -ds.xml:* (Should be fixed in JBT)

   - fix syntax error (we should add "" to the attribute which set DS name since in Seam 2.2< it was added by seam-gen)
   - put the correct driver name (in Seam 2.2 there was not any driver name)
   - copy driver jar next to -ds.xml

*2. Remove obsolete jboss-app.xml* (Should be fixed in JBT)

*3. Tested snapshot doesn't have correct dependencies.* (Should be fixed in Seam)
For example it still has RichFaces 3.3 instead of 4 which supports JSF 2.0. I spent some time to figure out what Seam 2.3 with project similar to the project generated by seam-gen from version 2.2 requires. The list of maven dependencies is
{code}
<dependency>
	<groupId>org.jboss.seam</groupId>
	<artifactId>jboss-seam</artifactId>
	<type>ejb</type>
	<version>...</version>
</dependency>
<dependency>
	<groupId>org.jboss.seam</groupId>
	<artifactId>jboss-seam-ui</artifactId>
	<version>...</version>
</dependency>
<dependency>
	<groupId>org.richfaces.ui</groupId>
	<artifactId>richfaces-components-ui</artifactId>
	<version>4.2.1.Final</version>
</dependency>
<dependency>
	<groupId>org.richfaces.core</groupId>
	<artifactId>richfaces-core-impl</artifactId>
	<version>4.2.1.Final</version>
</dependency>
<dependency>
	<groupId>dom4j</groupId>
	<artifactId>dom4j</artifactId>
	<version>1.6.1</version>
</dependency>
<dependency>
	<groupId>org.drools</groupId>
	<artifactId>drools-core</artifactId>
	<version>5.3.0.Final</version>
	<type>jar</type>
</dependency>
<dependency>
	<groupId>org.drools</groupId>
	<artifactId>drools-compiler</artifactId>
	<version>5.3.0.Final</version>
	<type>jar</type>
</dependency>
{code}

The list of jars:

{code}
antlr-2.7.7.jar
antlr-3.3.jar
antlr-runtime-3.3.jar
commons-beanutils-1.7.0.jar
cssparser-0.9.5.jar
dom4j-1.6.1.jar
drools-compiler-5.3.0.Final.jar
drools-core-5.3.0.Final.jar
ecj-3.5.1.jar
el-api-1.0.jar
guava-10.0.1.jar
hibernate-validator-4.2.0.Final.jar
jboss-el-1.0_02.CR6.jar
jboss-seam.jar
jboss-seam.jar
jboss-seam.jar
jsf-api-2.1.5.jar
jsr305-1.3.9.jar
junit-4.8.2.jar
knowledge-api-5.3.0.Final.jar
mvel2-2.1.0.drools4.jar
richfaces-components-api-4.2.1.Final.jar
richfaces-components-ui-4.2.1.Final.jar
richfaces-core-api-4.2.1.Final.jar
richfaces-core-impl-4.2.1.Final.jar
sac-1.3.jar
slf4j-api-1.6.1.jar
stringtemplate-3.2.1.jar
testng-5.10-jdk15.jar
validation-api-1.0.0.GA.jar
xml-apis-1.0.b2.jar
xpp3_min-1.1.3.4.O.jar
xstream-1.3.1.jar
{code}

*4. XHTML templates in Seam 2.3 should be refactored.* (Should be fixed in JBT)
 Right now they use outdated ajax4jsf/richfaces components which were removed in version 4.

So, I managed to run Seam 2.3 project when I fixed all the problems above manually.
                
      was (Author: akazakov):
    I tested Seam 2.3 nightly build from http://ci.jboss.org/hudson/view/Seam/job/Seam-2.3.X-dist-nightly/75/ in JBT + AS 7.1.1.Final.
Here are the problems I got:

*1. We need to fix -ds.xml:* (Should be fixed in JBT)

   - fix syntax error (we should add "" to the attribute which set DS name since in Seam 2.2< it was added by seam-gen)
   - put the correct driver name (in Seam 2.2 there was not any driver name)
   - copy driver jar next to -ds.xml

*2. Remove obsolete jboss-app.xml* (Should be fixed in JBT)

*3. Tested snapshot doesn't have correct dependencies.* (Should be fixed in Seam)
For example it still has RichFaces 3.3 instead of 4 which supports JSF 2.0. I spent some time to figure out what Seam 2.3 with project similar to the project generated by seam-gen from version 2.2 requires. The list of maven dependencies is
{code}
<dependency>
	<groupId>org.jboss.seam</groupId>
	<artifactId>jboss-seam</artifactId>
	<type>ejb</type>
	<version>jboss-seam-2.3.0.Beta1</version>
</dependency>
<dependency>
	<groupId>org.jboss.seam</groupId>
	<artifactId>jboss-seam-ui</artifactId>
	<version>jboss-seam-2.3.0.Beta1</version>
</dependency>
<dependency>
	<groupId>org.richfaces.ui</groupId>
	<artifactId>richfaces-components-ui</artifactId>
	<version>4.2.1.Final</version>
</dependency>
<dependency>
	<groupId>org.richfaces.core</groupId>
	<artifactId>richfaces-core-impl</artifactId>
	<version>4.2.1.Final</version>
</dependency>
<dependency>
	<groupId>dom4j</groupId>
	<artifactId>dom4j</artifactId>
	<version>1.6.1</version>
</dependency>
<dependency>
	<groupId>org.drools</groupId>
	<artifactId>drools-core</artifactId>
	<version>5.3.0.Final</version>
	<type>jar</type>
</dependency>
<dependency>
	<groupId>org.drools</groupId>
	<artifactId>drools-compiler</artifactId>
	<version>5.3.0.Final</version>
	<type>jar</type>
</dependency>
{code}

The list of jars:

{code}
antlr-2.7.7.jar
antlr-3.3.jar
antlr-runtime-3.3.jar
commons-beanutils-1.7.0.jar
cssparser-0.9.5.jar
dom4j-1.6.1.jar
drools-compiler-5.3.0.Final.jar
drools-core-5.3.0.Final.jar
ecj-3.5.1.jar
el-api-1.0.jar
guava-10.0.1.jar
hibernate-validator-4.2.0.Final.jar
jboss-el-1.0_02.CR6.jar
jboss-seam-2.3.0.Beta1.jar
jboss-seam-jul-2.3.0.Beta1.jar
jboss-seam-ui-2.3.0.Beta1.jar
jsf-api-2.1.5.jar
jsr305-1.3.9.jar
junit-4.8.2.jar
knowledge-api-5.3.0.Final.jar
mvel2-2.1.0.drools4.jar
richfaces-components-api-4.2.1.Final.jar
richfaces-components-ui-4.2.1.Final.jar
richfaces-core-api-4.2.1.Final.jar
richfaces-core-impl-4.2.1.Final.jar
sac-1.3.jar
slf4j-api-1.6.1.jar
stringtemplate-3.2.1.jar
testng-5.10-jdk15.jar
validation-api-1.0.0.GA.jar
xml-apis-1.0.b2.jar
xpp3_min-1.1.3.4.O.jar
xstream-1.3.1.jar
{code}

*4. XHTML templates in Seam 2.3 should be refactored.* (Should be fixed in JBT)
 Right now they use outdated ajax4jsf/richfaces components which were removed in version 4.
                  
> Test Seam tooling with Seam 2.3.Beta
> ------------------------------------
>
>                 Key: JBIDE-11490
>                 URL: https://issues.jboss.org/browse/JBIDE-11490
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam 2
>            Reporter: Max Rydahl Andersen
>            Assignee: Alexey Kazakov
>             Fix For: 3.3.0.CR1
>
>
> Seam 2.3 Beta is out - lets do a quick check to see if we see any issues.
> Target is AS7/EAP6 
> Check datasource generation, CRUD generated pages continues to work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list