title: Create and deploy war file using hudson
body: <p>I want to create a war file using hudson. I did with following steps.</p>
  
  <p>1.I have created the build.xml in my project.</p>
  
  <p>2.In that ant file I am providing the targets to compile the application and create the war. </p>
  
  <p>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.</p>
  
  <p>4.Its creating the war and also deploy it on webcontainer.</p>
  
  <p>But is it right way to do it?</p>
  
  <p>Thanks,</p>