Exploding War File Using JBOSS EWS 7
I have built a Java application which I can successfully deploy to my Jboss 7 cartridge using a regular git push using the preferred method for deployment.
In the application, I read several images from the database and place them within my webcontent directory, however this creates a problem because the .war file never gets exploded on openshift/jboss. I read that you can remove the pom.xml file, build a war and add a .dodeploy file in the deployments directory to have the war unpacked on jboss.
I have been trying to get this to work and have been unsuccessful. All the posts I read reference a directory named deployments, which I do not have within the root of my project. I am unsure where to place the war file I build or the .dodeploy file and how to name such files.
On my local machine my project contains an .openshift directory with subdirectories: action_hooks, config, cron and markers and then the src folder, webapps folder and pom.xml inside the root.
Can anyone provide me with some simple instructions (obviously I need more explanation than the documentation provides) for exploding the war file within jboss using openshift?