Assuming application source is in current working directory “../NewApp” …
sudo service red5 stop
rm -rf $RED5_HOME/webapps/NewApp
ant
mv dist/NewApp.war $RED5_HOME/webapps/
sudo service red5 start
sit back and wait a few minutes for Red5_Scheduler_Worker to find .war file, unpack and install
Read error messages, fix, repeat
Now, if I could just figure out why the directory structure of NewApp is so confusing…