I'd like to check some flags in the code and some values in xml files before starting building a java project. What's the best way to do it? Would you write a java class to do it? Would you use only scripts?
I'm using Ant and I need to check that some flags that are set as static variable in my classes have the proper value. I can write unit test but in that case they would be executed after the build. I need to do it before it.
I should also add that I'm using Windows