-
Notifications
You must be signed in to change notification settings - Fork 109
Jakarta EE 9 Platform TCK Questions Answers
Question: How can I add a question?
Answer: Join the jakartaee-tck-dev mailing list and ask your question there. The TCK committers will see your question and try to answer it when they can. The question/answer can be copied here by the TCK committers.](https://accounts.eclipse.org/mailing-list/jakartaee-tck-dev).
Question: From jaxrs-dev/msg00847.html
When extending the JAX-RS TCK, apparently unique Assertion Numbers have to get assigned. Is there some list of the existing assertions somewhere? How to know the next free number?
Answer: From jaxrs-dev/msg00848.html
https://github.com/eclipse-ee4j/jakartaee-tck/blob/master/internal/docs/jaxrs/JAXRSSpecAssertions.xml
From that an HTML version is generated:
https://github.com/eclipse-ee4j/jakartaee-tck/blob/master/internal/docs/jaxrs/JAXRSSpecAssertions.html
And just to be sure nobody accidentally deletes them, there's also a backup copy being kept here:
https://github.com/eclipse-ee4j/jakartaee-tck/blob/master/install/jaxrs/docs/assertions/JAXRSSpecAssertions.html
If you update the spec document, all those 3 files need to be updated to mirror exactly what's in the spec document, as the "JAXRSSpecAssertions.xml" file essentially contains verbatim quotes from the spec document. The HTML versions are manually updated these days, since the tools to generate them have largely been lost (there's some stuff here though: https://github.com/eclipse-ee4j/jakartaee-tck-tools).
Question: Why does running the Platform TCK JMS tests give a java.lang.NoClassDefFoundError: com/sun/ts/lib/porting/TSJMSObjects
?
Answer: Update your ts.jte to set platform.mode=jakartaEE
instead of the now unsupported platform.mode=javaee
.