Is it possible to use ANT in order to build and deploy all d

Is it possible to use the tool ant in order to automate the build and the deployment process:

  1. build a Task Project
  2. deploy a Task Project to MWS
  3. build and deploy a process

Would it be possible to execute all these tasks from the commandline without opening the designer. Typical use case: deployment guy checks out from CVS, builds and uploads to the servers.