[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3199) seam-gen test readme.txt jar listing needs to be updated

Jay Balunas (JIRA) jira-events at lists.jboss.org
Mon Jul 28 10:56:46 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Balunas updated JBSEAM-3199:
--------------------------------

        Fix Version/s: 2.0.3.CR2
                           (was: 2.0.2.GA)
    Affects Version/s: 2.0.3.CR1
                           (was: 2.0.2.CR2)
          Description: 
During 2.0.3.CR1 testing with JBoss tools 2.1.1.GA - I had some new issues with the jars stated in this file.

The only jars I needed to add to get to work was "/lib/test/*.jar".

The other were not needed for these simple tests - and actually caused the exception below during deployment.

Caused by: java.lang.NoSuchMethodError: org.jboss.deployers.spi.structure.ContextInfo.getMetaDataPath()Ljava/util/List;
at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:93)
at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:73)
... 67 more

        - removed all but the ones in /lib/test and they worked fine.

  was:
The readme.txt file that gets put in the seam-gen test source directory contains out of date jar files.  Below is the complete readme.  

Changes need (from what I can see):
- embedded-api.jar --> jboss-embedded-api.jar
- jboss-deployers.jar --> jboss-deployers-client-spi.jar, jboss-deployers-core-spi.jar

readme.txt
If you want to run tests using the Eclipse TestNG plugin, you'll need to add
these jars to the top of your TestNG classpath.  Using the Run Dialog, select
xml suite to run, and add /lib/test/jboss-embedded-all.jar, 
/lib/test/hibernate-all.jar, /lib/test/thirdparty-all.jar, /lib/embedded-api.jar, 
/lib/jboss-deployers.jar and /bootstrap as the first entries in the User 
classpath.

To add tests to your project create a TestNG xml descriptor called *Test.xml e.g.
FooTest.xml next to your test classes and run ant test.



Created new Jira as requested.

> seam-gen test readme.txt jar listing needs to be updated
> --------------------------------------------------------
>
>                 Key: JBSEAM-3199
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3199
>             Project: Seam
>          Issue Type: Task
>          Components: Documentation Issues
>    Affects Versions: 2.0.3.CR1
>            Reporter: Jay Balunas
>            Assignee: Pete Muir
>             Fix For: 2.0.3.CR2
>
>
> During 2.0.3.CR1 testing with JBoss tools 2.1.1.GA - I had some new issues with the jars stated in this file.
> The only jars I needed to add to get to work was "/lib/test/*.jar".
> The other were not needed for these simple tests - and actually caused the exception below during deployment.
> Caused by: java.lang.NoSuchMethodError: org.jboss.deployers.spi.structure.ContextInfo.getMetaDataPath()Ljava/util/List;
> at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:93)
> at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:73)
> ... 67 more
>         - removed all but the ones in /lib/test and they worked fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list