Are there any tools which can automate rebuilding of the project when ever there is a change in some part of code?

StackOverflow https://stackoverflow.com/questions/14850849

Question

I use Eclipse IDE for my java projects and there are times in which I need to change some constants and test the effect of it.

But on change of the code I have to rebuild it which generally takes me 40 min and 5 more mins to start the server in debug mode.

So I am looking for some tools which make my task easy like cutting the rebuild time at least by 50 %.

Was it helpful?

Solution

You can put your constants out of the code. Put them in a properties file for instance. Then change your code to read the constants right from the properties file.

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

OTHER TIPS

If you're not already using it, you probably should look into setting up a continuous integration solution like Jenkins. You could automate builds to poll your code repository and monitor for changes, then run a suite of builds and tests with different flavors of constants to see the effect on your system.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top