-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glassfish Web profile binary does not support ear deployment #1738
Comments
For EE10, the WAR archives were deployed for webprofile testing and EARs were deployed for full platform. In EE11 , for example in transactions, we create EAR for tests that are run only in full platform profile and for other tests that are run for both full and web profile we generate WARs.
I have not verified if all other modules are following this approach. |
Ok, I think we have a problem with most tests defaulting to producing an EAR. This is what the tcks/apis/persistence/persistence-inside-container/platform-tests are doing. We will need to go through and make sure that any test with the |
….contracts.resource_local, ee.jakarta.tck.persistence.core.query.parameter, and ee.jakarta.tck.persistence.core.criteriaapi.CriteriaDelete packages. Start returning WARs as test archive Related to #1738 Signed-off-by: Scott M Stark <[email protected]>
….contracts.resource_local, ee.jakarta.tck.persistence.core.query.parameter, and ee.jakarta.tck.persistence.core.criteriaapi.CriteriaDelete packages. (#1739) Start returning WARs as test archive Related to #1738 Signed-off-by: Scott M Stark <[email protected]>
The job-to-be-done for this issue is illustrated here: #1748 |
Signed-off-by: Scott M Stark <[email protected]>
* Addresses #1738 for the JPA web profile tests * Cleanup unused imports that could make is seem as though the EnterpriseArchive artifact was being used. --------- Signed-off-by: Scott M Stark <[email protected]>
This should be done, but we would need a full run of the web profile to see if there are any failures due to EAR test artifacts. |
Describe the bug
In the platform-tck/glassfish-runner/persistence-platform-tck runner I tried running some tests that should be targetting the Web profile with the web profile binary by specifying -Pweb, and this shows a failure because the
org.glassfish.main.distributions:web
binary reports ears as invalid archive type.How was this handled in EE10?
In general we have the majority of test artifacts as EARs, so is this something that a Web profile implementation needs to deal with in a porting layer?
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: