I have J2ee project developed using eclipse and i have build.xml to create war file and to deploy in local tomcat. But i like replace by build.xml file using gradle with out changing my folder structure. I tried to compile my .java class but failed in all by try. Please help me to compile by .java and creating war on existing folder structure.
My build.xml is below :