My team is developing a Java web application which is to be deployed in Amazon Elastic Beanstalk. The development environment is Eclipse and Subversion. They were able to deploy it using the Eclipse plugin, but to automate the deployment I'm experimenting with the CLI tools provided by Amazon.
Basically, I followed the steps detailed in the Amazon Blog post after converting the subversion repository into a git repository. I followed the steps explained in this SO answer
After following the above steps, I issued the command git aws.push, which is successfully completed. But while running the application, there are errors and . So I downloaded the war file from the Beanstalk environment and found that the folder structure is messed up and the source files are not compiled to class files. It appears like the source files are uploaded as such.
Do I need to build the application(using ant) prior to using aws.push? Or am I missing something?