cancel
Showing results for 
Search instead for 
Did you mean: 

How To: Start Trigger for Ant deploy script

Former Member
0 Kudos

Regarding the Thread "How to generate SAP_MANIFEST.MF using Ant" I developed my solution to deploy an ear via Ant to the SAP WebAS.

Everything works fine but one thing I want to add is that the ear is automatically started after the deploy job. Now I have to start it by the Visual Administrator.

Is there a way to trigger the startup of the ear through the deploy by command in the deploy-manager-config.xml?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Martin,

If you are using DeployManager API to deploy your application, then you can use

DeployManager.startApplication(vendorName + "/" + appName);

to start your app once its deployed.

Hope that helps,

Regards,

Rajit