Drux
Drux

Reputation: 12650

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?

Upvotes: 0

Views: 211

Answers (2)

vellaskass_
vellaskass_

Reputation: 11

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.

Upvotes: 0

user2879327
user2879327

Reputation:

You need to commit your changes in your git repository and then do a git push to deploy them to your application

Upvotes: 1

Related Questions