the VSS task also doesn't preserve the modified date.

Try something like this:

  <target name="vss-get" unless="noget">
    <property name="arg.line" 
    value="get &quot;$\${vss.path}\*.*&quot; -GF -GL${local.path} -GTM
&quot;-VL${label.name}&quot;"/>
  <echo message="${arg.line}"/>
   <exec dir="." executable="\\empdevbuild\vss\win32\ss.exe">
        <arg line="${arg.line}"/>
   </exec>

-----Original Message-----
From: Ciramella, EJ [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 1:50 PM
To: 'Ant Users List'
Subject: RE: Incremental builds with VSS


use the exec task and call ss.exe directly

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 1:12 PM
To: [EMAIL PROTECTED]
Subject: Incremental builds with VSS


My build file gets the files from VSS (Visual Source Safe) to a local
directory, compiles the contents of the local directory, and then creates
the jars.

It does a vssget every time it executes, which then forces a full compile.
Is there a way for it to only get files from VSS that are new since the last
"get"?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to