Why modify the xml file in a project Eclipse will initiate a project build

If there is an xml file in the java Eclipse project and the "build Automatically" mode is enabled, every time I change the xml file and save it, it starts Eclipse to create the project, and sometimes it takes a lot of time to finish.

I just thought that xml files are just resource files, or at least this is not a code change and should not start building a project. What is the reason for this, and is there anyway to turn it off?

+3
source share
3 answers

, xml - . , xml, xml, , , , .

Eclipse: > > > > " "

+5

, :

a > Java Build Path > Source > : **/*. xml

xml Java Build Path, xml "build Automatically".

+4

Eclipse,

A build is a process that derives new resources from existing ones, updates existing 
resources, or both

+2

Source: https://habr.com/ru/post/1786325/


All Articles