Today, it is occasionally discovered that eclipse also has the ability to publish applications to Cloudfoundry, followed by a slightly more straightforward, straightforward:
1. Right-click the application's class file and select Run As==>run on Server
2. Fill in the application process name shown in the deployment app name--CF
3. Configure domain, host, publish URL, instance memory size
4. Configure Environment variables
5. Click "Finish" to start the application deployment
6. In the eclipse server, you can see the application information already deployed in CF, where you can right-click Stop, Start, move, and so on.
7, of course, you can also write all the configuration in the program package root directory in the Manifest.yml file
---applications:- name:003_cfclient memory:512m host:cfclient domain:mi-ae.cn Env : ' 5463345345654 ' Buildpack:java_buildpack
Eclipse deploys apps directly to Cloudfoundry