Build properties

The build.properties file is a key-value flat file where you store information like your username, password, and Salesforce instance URL. Note that because this file contains your password, you should ensure that it's never committed to source control. Here's an example of a build.properties file:

# build.properties build.dir=/Users/codefriar/src/AmazingPandas/ #sf target credentials sftarget.username=codefriar@amazingPandas.example.com sftarget.password=SuperS3kr3tP@ssw0rd+0k3n sftarget.serverurl=https://login.salesforce.com sftarget.runAllTests=false #sf source credentials sfsource.username= codefriar@amazingPandas.example.com.sandbox sfsource.password=Like1'dPubl1$hThat sfsource.serverurl=https://test.salesforce.com #local properties ...

Get Mastering Application Development with Force.com now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.