This is relatively a simple question.
I am building a web application and I have to put .class files for the project into my war file which is getting deployed.
So I want to put the complied version of class files into the war file folder every time I make changes to source code.
How this can be done with using command line class compilation.
I think Apache ANT maybe useful for that. I have not worked with it before.
Can someone tell if it that is the way to go about this thing ?
If yes, does anyone have tutorial for doing the same using Ant?
Actually, this is what I should have done -> go to the java build path and put the path there where you want to put .class files in the source section. So that you can easily get the latest class files in the war folder ! No need of Ant/Maven in it.