简体   繁体   中英

Redeploy web application to OpenShift Tomcat 7 cartridge with Eclipse OpenShift Tools?

I've been able to use Eclipse OpenShift Tools to create a web application and deploy it to a Tomcat 7 cartridge on OpenShift.

How does the (re)development cycle continue from there on. For instance, if I edit index.html and click on Restart app on OpenShift (or Run on Server ) these changes do not show up in http://<app>-<domain>.rhcloud.com/index.hmtl .

So how can I redeploy the web application to OpenShift from inside Eclipse?

您需要将更改提交到git存储库中,然后执行git push将其部署到应用程序中

You must click right button of mouse on your project in eclipse and select Team -> Commit... Then in openned window write commit message and press button "Commit and Push". then in servers tab click right button of mouse on started server and select Publish. It will works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM