Also, during the pre-platform call meeting, Jared found this current text in platform spec, section 8.5.2 #6
If the .jar file contains a META-INF/MANIFEST.MF file with a Main-Class attribute, or contains a
META-INF/application-client.xml file, consider the .jar file to be an application client module.
Does this adequately answer the question?
Thanks,
Ed
From: jakartaee-platform-dev <jakartaee-platform-dev-bounces@xxxxxxxxxxx> on behalf of Scott Stark via jakartaee-platform-dev <jakartaee-platform-dev@xxxxxxxxxxx>
Date: Saturday, September 21, 2024 at 01:36
To: jakartaee-platform developer discussions <jakartaee-platform-dev@xxxxxxxxxxx>
Cc: Scott Stark <starksm64@xxxxxxxxx>
Subject: [EXTERNAL] Re: [jakartaee-platform-dev] EE 11 + is there a Jakarta EE portable way for Application Client Containers to identify the client jar in an EAR?
What the tck.arquillian.protocol.appclient.AppClientDeploymentPackager does
is to look for a jar in the ear with a Main-Class manifest attribute. It then makes this available to the AppClientMethodExecutor as a AppClientArchiveName injection.
The command in the appclient arquillian.xml can reference this archive using a ${clientAppArchive} property reference.
We might have enough extensibility with the javatest-appclient-arquillian.xml so stay tuned for an update.
Quick summary is that I am working on updating the EE 11 Platform TCK (Persistence) tests to be able to deploy correctly (it is a lot of work that we want to complete quickly). In earlier EE releases we had a TCK Porting kit way for implementations to determine
vendor system properties to pass in their app client container (e.g. by examining the deployment archive [1]). I do not see anything in the EE 10 Platform Spec about a portable way for identifying the appclient
Edit: please replace "container" with "jar".
_______________________________________________
jakartaee-platform-dev mailing list
jakartaee-platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev