I see that ant has a deploy task called ServerDeploy.
and it appears that for JBoss i would have to use the generic sub-element. providing server username password and classpath, but has anybody ever actually used this that could give me an example ??
If you want to use ant, why not just use the 'copy' task and copy your deployment into the deploy directory? If you want to deploy to a remote machine, either use its UNC name if it's Windows (\\machine\c$\...\server\default\deploy), or else for Unix use rcp, NFS mount, etc.