How to Configure Java Code Format for OpenMRS

Configure Java Code Format for OpenMRS

In order for Eclipse to format the code, you will need to import the OpenMRSFormatter.xml. This file is located in the OpenMRS core, which you should clone if you haven’t already.

I need help how to import the formatter files into my local depository such that I can configure java code format for openmrs. I have tried this for two days but failed.