I got a problem with the deployment function of MyEclipse. If you remove the target ear file of a already deployed component, the deployment function fails on removing and also on redeployment. The error message states out, that the previous deployed version couldn’t be deleted. After hitting ok the deployment action gets canceled.
I would like to get an Ignore / Abort dialog, instead of an simple message dialog. The problem occured after i reinstalled the JBoss server after I screwed it up by trying to set mysql as default data-source. But the same failure occures after lazily deleting the ear file as well.
I think this is a bug… .
PS: Workaround is to create a zero-byte file named project.ear in the jboss deployment directory. Then the deployment function can delete this dummy file and gets happy again 😉