title: Different mechanism to decide on which file to take (two files with same name) in eclipse IDE
body: <p>I'm currently facing a rather strange problem, since it happens with the same Eclipse project, but only on some computers (installations of eclipse IDE).
  The problem occurs so far on computers which have installed eclipse version 2019-12 (4.14.0) and eclipse fortune (very old, sadly I do not know the exact version).
  It does not occur on my laptop (2020-03 (4.15.0)) and on another laptop with version 2019-06 (4.12.0).
  This information about the versions is just because I want to give you as much information as possible, right now I think it's more likely that the problem does not depend on the eclipse version, but on some private eclipse settings or something like that.</p>
  <p>I have two Projects, Project A and Project B. Project B requires Project A on its build path to compile and to run on a server.
  In both projects, there is a folder webapp with static content like images and so on.
  I've added the webapp folder of Project A as a Linked Resource (Properties &gt; Resource &gt; Linked Resources) to Project B so that I can access static content of Project A in Project B (there are some more projects in development and using code of Project A, so it is very useful when I only have to put an image in the webapp folder in project A and every other project can directly access it).</p>
  <p>Now I have two images with the same name, let's say for instance &quot;image.png&quot; in the webapp folder of project A and in the webapp folder of project B. I want that in such a case, when there is a file in both webapp folders witht the same name, that the one from the folder in project B is picked and uploaded to the server. I think it's possible and the file to pick is determined by the file <em>org.eclipse.wst.common.component</em> in the .settings folder of eclipse.</p>
  <p>In this file, depending on the order in which you added both of the webapp folders to the Deployment Assembly for the project (Properties &gt; Deployment Assembly), both folders are written down. The usual behaviour should be that the files from the first webapp folder noted in that settings-file are picked first in case of a name conflict. On my laptop, this works just fine, but on other laptops it's not working and always the file from project A is taken.</p>
  <p>Now I think maybe there are even more, some &quot;hidden&quot; eclipse settings or sth like this to determine how these files are picked and how name conflicts are resolved. Because the code and the eclipse settings files are identical and on one computer it works and on other ones not (I tried on 5 laptops, on 3 it's working and on 2 it won't).</p>
  <p>I'm really stuck here, so if anyone has encountered a similar problem or has any idea, I would be very grateful.</p>
  <p>Thanks in advance,</p>
  <p>Janosch</p>