Eclipse not Copying XML Files When Building

This problem is pretty annoying me, because I absolutely don't want and will forget to manually copy xml files to the build path everytime I change something.

From Eclipse development forum I got this:

There is a preference for controlling what files NOT to copy to the output directory during a build - maybe XML files are included there somehow. You can check the Preference dialog - enter "filtered" (without quotes) into the search field at the top of the dialog.
Report back if you find *.xml or something similar there, or not.

And it solved the problem.
It seems that because there is a wrong configuration in a fresh copy of eclipse of which default filter for building has *.xml included.

0 comments: (+add yours?)