[
http://jira.jboss.com/jira/browse/JBSEAM-2945?page=all ]
Jay Balunas reopened JBSEAM-2945:
---------------------------------
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.
seam-gen test readme.txt has out of date jars listed
----------------------------------------------------
Key: JBSEAM-2945
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2945
Project: Seam
Issue Type: Task
Components: Documentation Issues
Affects Versions: 2.0.2.CR2
Reporter: Jay Balunas
Assigned To: Pete Muir
Fix For: 2.1.0.BETA1, 2.0.3.GA
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira