[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jakartaee-tck-dev] Deploying apps to the application client
|
On 4/12/19 2:36 PM, Scott Marlow wrote:
Hello Gene,
On 4/12/19 1:29 PM, Gene Thoman wrote:
Hello,
Trying to understand how others are deploying apps to the application
client, it seems TSDeployerInterface is focused only on server
deployment.
https://github.com/eclipse-ee4j/jakartaee-tck/blob/master/src/com/sun/ts/lib/implementation/sun/javaee/glassfish/AutoDeployment.java#L36
mentions:
"
This class implements the TSDeploymentInterface. It does so by copying
to/from the V3 autodeploy directory and delegates out to ant build files
under bin/xml/glassfish/deploy.xml
"
So, basically, JSR-88 can be used or some other solution. We have tried
both approaches with WildFly/EAP, they both seem to work fine.
For example, for a deployment "something_appclient_vehicle.ear" that
contains a "something_appclient_vehicle_client.jar which contains a
"META-INF/application-client.xml".
If your TSDeployerInterface implementation copies the (test deployment)
something_appclient_vehicle.ear into your app server deployment folder,
your app server will handle the deployment.
Note that the above mentioned AutoDeployment link mentions calling out
to the "ant build files", under bin/xml/glassfish/deploy.xml, the ant
script is called as a pre-step to deploying test archives, so you can
update the archive on the fly (e.g. to deal with generating or copying
in deployment descriptors that work for you), before its copied into
your (app server) deployment folder or JSR-88 deployed. The
This step is important, as you need to somehow supply (app server
specific) deployment descriptors for the deployment to work.
Scott
Are others using the JSR-88 based TSDeployerInterface2 or some other
solution?
As mentioned above, WildFly supports both ways.
While searching we ran across a link to a Redhat doc that looked to
have a solution?
https://svn.devel.redhat.com/repos/jboss-tck/javaee7-cts/trunk/, but
the link no longer is available. Scott, do you have any insight on
this document or can share how you handled application deployment?
Oops, sorry, linked content is not available.
Scott
Thanks
Gene Thoman
JavaEE Compliance Testing for WebSphere (CTS)
email:gthoman@xxxxxxxxxx
_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev