I have an EAR project properly configured with the web-uri and context-root values required for my war file. It appears that from time to time, idea creates a 2nd entry in this file with a different module id, but pointing to the same war file. However, it creates two context-root entries, one empty and one which matches the configuration entry:
during deployment to jboss, the EAR file is rejected due to the multiple context roots in the application.xml file. I then have to edit the file manually to remove the faulty entry and recompile the EAR.
Is there a configuration setting that would get IDEA to quite corrupting this file? If not is there at least a way to have it create a proper entry, without the dual context-root entries?