Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In which file eclipse "deployment assembly" configurations are at?

Tags:

java

eclipse

I can't seem to find this configuration at .project file. I am looking for a way to change this setting programmatically as "I don't know why" my eclipse is losing this configuration every time I clean the project.

like image 462
Renato Gama Avatar asked Oct 10 '12 12:10

Renato Gama


2 Answers

The deployment assembly settings are stored in the file:

.settings/org.eclipse.wst.common.component

However, in a basic J2EE Eclipse install this file shouldn't be modified by cleaning the project. Maybe you have some other plugin installed that is updating the deployment settings during the build.

like image 188
Nick Wilson Avatar answered Sep 27 '22 22:09

Nick Wilson


I faced the same problem and the reason being that the file .settings/org.eclipse.wst.common.component contained entries added by Git. On removing them, and restarting the eclipse worked for me.

like image 33
Sethu S Avatar answered Sep 27 '22 20:09

Sethu S