java - Build Automation TFS ANT -
i trying create tfs ant build script.when getting resource tfs ant : "com/teamprise/ant/antlib.xml". not able load jar. understand search ,this antlib.xml no more supported. can body suggest me resource access of command line tfs commands in ant script.
following snippet of code:
<path id= "tfsant.classpath" > <fileset dir= "${env.ant_home}/lib" > <include name= "*teamprise-ant*.jar" /> </fileset> </path>`enter code here` <typedef resource="com/teamprise/ant/antlib.xml" classpathref="tfsant.classpath" /> <exec executable="tf"> <arg value="checkout"/> <arg value="${tfsroot}/temp/build_${build.number}"/> <arg value="${workdir}"/> </exec>
you can install team explorer everywhere on machine. install tf command-line utility. configure environment variable "path" tf.exe, can access tf command directly ant script.
Comments
Post a Comment