Created
October 22, 2017 19:30
-
-
Save arutnik/e48bc73c5cd8a94dac55a806ff00ee97 to your computer and use it in GitHub Desktop.
SFA Part 2: build.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project name="Standard Salesforce Build File" default="validate" basedir="." xmlns:sf="antlib:com.salesforce"> | |
| <property name="workingDir" location="." /> | |
| <property name="logFile" value="log/ant.log" /> | |
| <taskdef uri="antlib:com.salesforce" | |
| resource="com/salesforce/antlib.xml" | |
| classpath="${basedir}/lib/ant-salesforce.jar"/> | |
| <target name="intro" > | |
| <echo message=" Salesforce Deploy Script" /> | |
| <echo message=" Directory: ${workingDir}" /> | |
| </target> | |
| <target name="localDevDeploy" depends="intro"> | |
| <property file="dev.sf" /> | |
| <sf:deploy | |
| username="${sf.username}" | |
| password="${sf.password}${sf.token}" | |
| serverurl="${sf.url}" | |
| deployRoot="src-dev-deploy" | |
| checkOnly="false" | |
| maxPoll="200" | |
| pollWaitMillis="10000" | |
| testLevel="NoTestRun" | |
| rollbackOnError="true" | |
| /> | |
| </target> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment