Skip to content

Instantly share code, notes, and snippets.

@jessealtman
Created June 27, 2014 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jessealtman/a1784631d43268f2ebb1 to your computer and use it in GitHub Desktop.
Save jessealtman/a1784631d43268f2ebb1 to your computer and use it in GitHub Desktop.
ApexMocks: Setup
# Specify the login credentials for the desired Salesforce organization
sf.username = <insert username here>
sf.password = <insert password and security token>
# Use 'https://login.salesforce.com' for production or developer edition
# Use 'https://test.salesforce.com for sandbox.
sf.serverurl = https://login.salesforce.com
sf.maxPoll = 20
<project name="ApexMocks" default="test" basedir="." xmlns:sf="antlib:com.salesforce">
<property file="build.properties"/>
<property environment="env"/>
<target name="deployApexMocks">
<sf:deploy username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}" maxPoll="${sf.maxPoll}" deployRoot="src"/>
</target>
</project>
@jessealtman
Copy link
Author

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