O'Reilly logo

Mastering Application Development with Force.com by Kevin J. Poorman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required