changed ant properties to "deploy.jboss.dir" and added "deploy.tomcat.dir" for war archetype. Changed persistence.xml to not comment out default datasource.