|Deployment Assembly and ordering [message #1647883]
||Tue, 03 March 2015 17:03
| Roland Asmann
Registered: March 2015
I have a question about the Deployment Assembly and the way if orders the content of the entries listed.
I have several projects that are normally build with Maven, but for development purposes I obviously want them to wokr in Eclipse. I have setup all my projects and so far everything works as I expect it to work.
Now. since I am playing around with WAR-overlays in Maven, I was trying to set a project like this up in Eclipse. With some trickery with linked resources I got everything to work. WTP is able to deploy my application and when I browse through it, everything is OK.
Now, I was thinking that in Maven in the overlay I can overwrite files when I want to. For my setup in Eclipse to work, this obviously has to be the case as well. I tested this, and this works perfectly! However, I was just wondering: Is this just a coincidence or is there a method to the way Eclipse builds my deployment? Since I couldn't find a way in the Deployment Assembly-configuration page to setup the order of things, I have this suspicion that the behaviour may just be accidental.
So, the question is: how does Eclipse decide in which order to assemble my application, based on an essentially unordered list of directories/JARs/what-have-yous. What happens when it encounters a duplicate resource?
Powered by FUDForum
. Page generated in 0.02050 seconds