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

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -