We can do deployment from one org to another using eclipse or Ant migration tool. To validate the deployments we have an option Validate deployment in eclipse. Where it does a deployment check and never actually saves to the server. We can do same by using Ant using A task called deployCodeCheckOnly.
<target name="deployCodeCheckOnly">
<sf:deploy username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}" maxPoll="${sf.maxPoll}" deployRoot="retrieveUnpackaged" checkOnly="true"/>
</target>
Thanks,
Naveen.
http://www.autorabit.com/
<target name="deployCodeCheckOnly">
<sf:deploy username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}" maxPoll="${sf.maxPoll}" deployRoot="retrieveUnpackaged" checkOnly="true"/>
</target>
Thanks,
Naveen.
http://www.autorabit.com/