Copying static content to VM’s

First you need to copy static content from here:
cp -R /wbi/haldata/webdev/* /home/jboss1/HAL/

And then supplement it from your workspace:

On developer VM, to copy static content from the checked out halwebsite folder to the apache document root and compile at the same time, you can run the following command from the root of your checked out project:

cp -R halwebsite/* /home/jboss1/HAL/halwebsite/ && mvn install

The && shell operator is a logic AND, it means that the 'mvn install' command only runs if the left part of the commands succeeds.

Deploy static content and deploy in JBoss (using hot deploy):

mvn install && cp hal-ear/target/hal-*.ear /home/jboss1/programs/jboss-eap-5.1/jbossas/server/haldev-vm-template/deploy/ && cp -R halwebsite/* /home/jboss1/HAL/halwebsite/