Advertisement
Guest User

Untitled

a guest
Jul 10th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. workflows/Question.workflow — Error: Cannot create workflow directly; must create the CustomObject first
  2. workflows/Reply.workflow — Error: Cannot create workflow directly; must create the CustomObject first
  3. workflows/SocialPost.workflow — Error: Cannot create workflow directly; must create the CustomObject first
  4.  
  5. <property file="${basedir}/build/build.properties"/>
  6. <property environment="env"/>
  7.  
  8. <target name="getCode">
  9. <echo level="info">Retrieving the server's version of code</echo>
  10. <mkdir dir="${basedir}/${sfdc.retrieveTarget}"/>
  11. <sf:retrieve
  12. retrieveTarget="${basedir}/${sfdc.retrieveTarget}"
  13. username="${sfdc.username}"
  14. password="${sfdc.password}"
  15. serverurl="${sfdc.serverurl}"
  16. unpackaged="src/package.xml"/>
  17. <move file="${basedir}/${sfdc.retrieveTarget}" tofile="src"/>
  18. </target>
  19.  
  20. <target name="deployCode">
  21. <echo level="info">Performing the deploy</echo>
  22. <sf:deploy
  23. username="${sfdc.username}"
  24. password="${sfdc.password}"
  25. serverurl="${sfdc.serverurl}"
  26. deployRoot="${basedir}/src"
  27. pollWaitMillis="${sfdc.pollWaitMillis}"
  28. maxPoll="${sfdc.maxPoll}"/>
  29. </target>
  30.  
  31. <target name="deployEmptyCheckOnly">
  32. <echo level="info">Testing the deploy</echo>
  33. <sf:deploy
  34. checkOnly="true"
  35. logType="Debugonly"
  36. username="${sfdc.username}"
  37. password="${sfdc.password}"
  38. serverurl="${sfdc.serverurl}"
  39. deployRoot="${basedir}/src"
  40. pollWaitMillis="${sfdc.pollWaitMillis}"
  41. maxPoll="${sfdc.maxPoll}"
  42. runAllTests="true" />
  43. </target>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement