MyEclipse: Importing WAR / EAR projects alters .metadata file pmatignon - May 09, 2012 - 11:08 AM Post subject: Importing WAR / EAR projects alters .metadata file
Hello,
We are using MyEclipse 9.0 and 9.1 (see more installation details below).
When importing WAR and EAR projects, we noticed that the .metadata files get updated automatically, and unexpectedly.
This is happening specifically when the project name itself ends with .ear or .war (e.g. test.war, test.ear). In this case, the 'archive' attribute, which by default is the name of the project (e.g. test.war), is changed to include an additional '.war' or'.ear' extension (e.g. test.war.war, test.ear.ear, notice the extension being repeated).
Yet, the deployment seems unaffected, the duplicate extension does not show up elsewhere.
We found this problem easy to reproduce consistently, I am attaching a test project.
Also, this is a problem because a file under source control will get modified unnecessarily, causing confusion.
Thanks !
- P.
Installation Details:
*** Date: Wednesday, May 9, 2012 2:58:55 AM Pacific Daylight Time