• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Getting only modified from vss using ant scripts

 
Ranch Hand
Posts: 47
Eclipse IDE Tomcat Server Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to get only the modified files from vss using ant scripting. so far I was able to get all the files from the vss from a particular folder but I want only the latest modified files or the files by date-time

<?xml version="1.0"?>
<project name="PDN Processing" default="" basedir=".">
<property file="${basedir}/process.properties"/>

<mkdir dir="${basedir}/Workspace/Library"/>

<echo message="${pathvss}" />

<vssget localpath=".\Workspace\Library"
recursive="true"
login="${login},${password}"
ssdir="${pathvss}"
serverPath="${serverPath}"
vsspath="${basefolder}/Library"
writable="true"
date = "4/18/11"
filetimestamp="modified"/>
</project>

 
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try usemodtime , seems deprecated
 
rastogi payam
Ranch Hand
Posts: 47
Eclipse IDE Tomcat Server Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not working...
>>>>Error:vssget doesn't support the "usemodtime" attribute<<<

 
rastogi payam
Ranch Hand
Posts: 47
Eclipse IDE Tomcat Server Chrome
 
Everybody's invited. Even this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic