i.e. (for windows)
<exec executable="cmd" dir="${glassfish.bin.path}">
<arg line="/c" />
<arg line="asadmin.bat" />
<arg line="deploy" />
<arg line=" --force=true" />
<arg line=" --createtables" />
<arg line=" ${basedir}/dist/someear.war" />
</exec>
[Message sent by forum member 'jszczepankiewicz']
http://forums.java.net/jive/thread.jspa?messageID=471339