Are there any tools that can automate the rebuilding of the project when changes occur in some part of the code?

I use Eclipse IDE for my java projects and there are times when I need to change some constants and check their effect.

But when I change the code I need to rebuild it, which usually takes 40 minutes and another 5 minutes to start the server in debug mode.

So, I'm looking for some tools that make my task easy, like reducing the recovery time by at least 50%.

+3


source to share


2 answers


You can infer your constants from code. Place them in a properties file eg. Then change your code to read the constants directly from the properties file.



You will be able to create your code once and change the constants whenever you want.

+2


source


If you are not already using it, you should probably look into setting up a continuous integration solution like Jenkins . You can automate a build to poll your code repository and track changes, then run a set of builds and tests with various constant settings to see the impact on your system.



+1


source







All Articles