Skip to content

Instantly share code, notes, and snippets.

Created June 27, 2014 19:06
What would you like to do?
ApexMocks: Setup
# Specify the login credentials for the desired Salesforce organization
sf.username = <insert username here>
sf.password = <insert password and security token>
# Use '' for production or developer edition
# Use ' for sandbox.
sf.serverurl =
sf.maxPoll = 20
<project name="ApexMocks" default="test" basedir="." xmlns:sf="antlib:com.salesforce">
<property file=""/>
<property environment="env"/>
<target name="deployApexMocks">
<sf:deploy username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}" maxPoll="${sf.maxPoll}" deployRoot="src"/>
Copy link

All of this code can be found in the following article: ApexMocks: Setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment