Open GoogleCodeExporter opened 8 years ago
Instead of using the JSR299 TCK, I first used the JSR299 TCK porting package
and pointed to that as the 299.tck.home. This produced a ClassNotFoundException.
The latest JSR330 related files that I used are:
1. 330-tck-glassfish-porting-1.0_07-Dec-2009.zip (the JSR330 porting package)
2. javax.inject-tck.zip the JSR330 TCK)
3. 299-tck-glassfish-porting-1.0_17-Jun-2011.zip (the JSR299 porting package)
Here is the output from that run:
C:\jsr330\330-tck-glassfish-porting>ant run
Buildfile: build.xml
run:
[junit] Testsuite: org.jboss.weld.atinject.tck.AtInjectTCK
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit]
[junit] Caused an ERROR
[junit] org/jboss/weld/mock/MockServletLifecycle
[junit] java.lang.NoClassDefFoundError: org/jboss/weld/mock/MockServletLifecycle
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Class.java:247)
[junit] Caused by: java.lang.ClassNotFoundException: org.jboss.weld.mock.MockServletLifecycle
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
[junit]
[junit] Test org.jboss.weld.atinject.tck.AtInjectTCK FAILED
report:
[junitreport] the file C:\tmp\output\TESTS-TestSuites.xml is not a valid
testsuite XML document
[junitreport] Processing C:\tmp\output\TESTS-TestSuites.xml to
D:\Users\INTERS~1\AppData\Local\Temp\2\null275437358
[junitreport] Loading stylesheet
jar:file:/C:/javaeetck/tools/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdef
s/optio
nal/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 968ms
[junitreport] Deleting: D:\Users\INTERS~1\AppData\Local\Temp\2\null275437358
[echo] Report written to /tmp/output
BUILD SUCCESSFUL
Total time: 5 seconds
Original comment by fast....@gmail.com
on 19 Jul 2011 at 6:19
I think you would be better off reporting/discussing this on the GlassFish
forums, the setup of the CDI and AtInject TCKs you are showing is very
GlassFish specific.
Original comment by pm...@bleepbleep.org.uk
on 19 Jul 2011 at 12:32
Thanks. I'll try the Glassfish forums. I was hoping the creators/maintainers of
the JSR330 tck could help.
Original comment by fast....@gmail.com
on 20 Jul 2011 at 1:14
Original issue reported on code.google.com by
fast....@gmail.com
on 19 Jul 2011 at 5:33