Community
Participate
Working Groups
If you attempt to publish a Web project with the same name as a running bluemix app, but then cancel on the first page of the deployment info wizard, it will cause the running app to be destroyed (eg 'cf delete'-d). This is because the deletion logic does not distinguish between published and unpublished Eclipse projects. To reproduce: 1. First, make sure you have an application running on Cloud Foundry named jgwlowercase (note the case). 2. Have the Cloud Foundry server defined in the Servers view in Eclipse CF. You should see the existing 'jgwlowercase' application in the Servers view. 3. Now, in Eclipe CF, create a new web project called JGWLOWERCASE (note the case.. you can probably see where this is going...). 4. In the Servers view, add the JGWLOWERCASE project to your existing CF server using right-click on Server > Add/Remove. - This will bring up the application deployment wizard. Do not click anything in the wizard, just hit Cancel. Now, refresh the Servers view. Notice that the 'jgwlowercase' application that was previously running on CF has now destroyed (eg 'cf delete'-ed), even though all we did was Add/Remove then cancel.
Created attachment 259137 [details] Patch to CloudFoundryServerBehaviour and DeleteModulesOperation