You need to sign in to do that
Don't have an account?
Sandy-SFDC
Validation before the deployment with ANT
We are currently deploying using ANT or eclipse but to validate we are using only eclipse.
Can we do validation using ANT. If so can any one please let me know how to do it.
Thanks in advance.
Hi,
Have you gone through the pdf? http://www.salesforce.com/us/developer/docs/daas/salesforce_migration_guide.pdf
Thanks.
Yes but I didnt see anything related to validation before the deployment.
Did you try something like this,
Thanks.
<target name="validate">
<sf:deploy username="${sf.usernameValidate}" password="${sf.passwordValidate}" serverurl="${sf.serverurlValidate}" deployRoot="${sf.FolderValidate}" pollWaitMillis="10000" maxPoll="5000" checkOnly="true"/>
</target>
checkOnly = TRUE -> only to validate
checkOnly = FALSE -> validate & deploy
Hi Guys,
Just commenting on old thread as it is still open.
Even If I am running the same command then Deployment is initiated instead of validation.
<target name="validate">
<sf:deploy username="${sf.username}" password="${sf.password}" serverurl="${sf.sessionId}" deployRoot="src" maxPoll="${sf.maxPoll}" checkOnly="true"/>
</target>
Can you please let me know what else I need to resolve this?
Thanks,
Avesh