I need to deploy a profile from dev to staging org, and I was looking for any possible ways to include Apex Class Access & Visualforce Page Access to the ant's changeset (I would like to avoid manual post-deploy steps).
If not with ant tool, can it be done programmatically at all, using metadata api? It wouldn't be a problem for me to write a simple script to do so, I just need to know whether this is feasible.