-
Book Overview & Buying
-
Table Of Contents
Mastering Application Development with Force.com
By :
Inside the project tag, we're defining a number of target nodes and one macro node. The target nodes define tasks that we can run with the Ant runtime. For instance, we can run ant checkoutFromGit to pull our code and metadata from a git repository. Similarly, this build.xml file defines: retrieve, cleanSourceDirectory, deploy, retrieveAndDeploy, and checkoutFromGitAndDeploy. Any of these can be specified on the Ant command line to fire off that task. Tasks can have dependencies, and if you look closely at the retrieveAndDeploy task, you'll see that it defines the dependencies on retrieve and deploy. Dependencies are run in the order they're defined in and provide you with an easy way to combine several tasks into a more useful task. With our retrieveAndDeploy task, we specify the retrieve task and then the deploy task as dependencies. Nothing else is defined, however, meaning that when we run retrieve and deploy, we're actually running Ant retrieve followed...
Change the font size
Change margin width
Change background colour