HuaweiTech/eclipse-integration-cloudfoundry — pull request #9 by bluebreezecf (2014-09-23 07:57:50+00:00)
Title: [BugFix]For the drag-and-drop application whose route has been token, it has to start twice to push application successfully after adding new route

- Drag and drop a local project to the application viewer, set the name (for example 'phpdemo') which has been used by some application in other account.
![bugfix20140922_pushappwithnameusedbyotheruser](https://cloud.githubusercontent.com/assets/7316500/4368938/05fcbe12-42f5-11e4-9063-9e09bdcb5718.PNG)
Then it shows the name has been token:
![bugfix20140922_showhostistaken](https://cloud.githubusercontent.com/assets/7316500/4368984/ae07942e-42f5-11e4-8cd4-11c25186e7a5.PNG)

- Select the application which just failed to push, press the edit icon in the 'General' section, and add a new route via the presenting dialog.
![bugfix20140922_addnewuri](https://cloud.githubusercontent.com/assets/7316500/4369000/05474572-42f6-11e4-8390-a6c5790343f4.PNG)
![bugfix20140922_addnewuri02](https://cloud.githubusercontent.com/assets/7316500/4369001/0b682494-42f6-11e4-82d4-22e45726f065.PNG)

- Now it shows the new route has been established relation with the selected application
![bugfix20140922_addnewuri03](https://cloud.githubusercontent.com/assets/7316500/4369021/55b795b6-42f6-11e4-9ca1-a325f86484da.PNG)
It also shows the target application has bound with the new route via CFCLI:
![bugfix20140922_addnewuri04](https://cloud.githubusercontent.com/assets/7316500/4369023/5a322d72-42f6-11e4-9fe0-e6162404b995.PNG)

- Press 'Start' button for the first time, and a presenting error dialog shows the application has no mapped url.
![bugfix20140922_start1stshowerror](https://cloud.githubusercontent.com/assets/7316500/4369060/e28095e2-42f6-11e4-926a-968457d9513a.PNG)

- Close the error dialog, press 'Start' button again, and now the application can be pushed successfully.
![bugfix20140922_start2ndpushsuccessfully](https://cloud.githubusercontent.com/assets/7316500/4369071/0aa2e34a-42f7-11e4-9c49-37578204d9be.PNG)