Advertisement
Guest User

Untitled

a guest
Jan 10th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <!-- Test out deploy and retrieve verbs for package 'mypkg' -->
  2. <target name="test">
  3. <!-- Upload the contents of the "mypkg" package -->
  4. <sf:deploy username="${sf.username}" password="${sf.password}" sessionId="${sf.sessionId}" serverurl="${sf.serverurl}" maxPoll="${sf.maxPoll}" deployRoot="mypkg" rollbackOnError="true"/>
  5. <mkdir dir="retrieveOutput"/>
  6. <!-- Retrieve the contents into another directory -->
  7. <sf:retrieve username="${sf.username}" password="${sf.password}" sessionId="${sf.sessionId}" serverurl="${sf.serverurl}" maxPoll="${sf.maxPoll}" retrieveTarget="unpackaged" packageNames="MyPkg"/>
  8. </target>
  9.  
  10. <path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks-2.1.3.jar" />
  11. <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="antlib:org.apache.maven.artifact.ant" classpathref="maven-ant-tasks.classpath" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement