I don't know that ant is the best tool for this... but I suppose it could be done as pretty much any command line can be run with ant...
It would depend on your OS and deployment goals and such, but have you looked at the rc.ofbiz file that is in the ofbiz home directory?
-David
Lon Binder wrote:
> Has anyone written ant tasks that control (start/stop/restart, etc.)
> ofbiz?
>