I want to create a war file using hudson. I did with following steps.
1.I have created the build.xml in my project.
2.In that ant file I am providing the targets to compile the application and create the war.
3.Then I have created the hudson job where I am providing the build option i.e invoke by ant .and In deploy option I am providing the the weContainer where I have to deploy the war.
4.Its creating the war and also deploy it on webcontainer.
But is it right way to do it?
Thanks,