Ant - using vssadd to add multiple file

Posted by mamendex on Stack Overflow See other posts from Stack Overflow or by mamendex
Published on 2009-10-19T17:10:43Z Indexed on 2010/05/23 3:50 UTC
Read the original article Hit count: 250

Filed under:
|

Hi, I'm trying to use vssadd task to add a tree of source files to a recent created project on VSS. But it happens to be adding only the folder tree, all files missing.

    <vsscp vsspath="$/DEV/APL_${version}"
     ssdir="${vssapl}"
     serverPath="${vsssvr}"/>

The vssadd task displays the name of the folders it's creating:

...

(vssadd) $/DEV/APL_0.0.10c/src/domain:

(vssadd) $/DEV/APL_0.0.10c/src/mbeans:

(vssadd) $/DEV/APL_0.0.10c/src/service:

...

The script runs successfully but the files never get in the repository.

Trying to use wilcards are no good, the task says it found no matching files and ss returns with a code of 100:

      <vssadd 
     ssdir="${vssapl}"

localPath="C:\Workspace\APL_Build*.*" recursive="true" serverPath="${vsssvr}" comment="Build ${versao} at ${to.timestamp}"/>

I've noticed that vssadd does not accept fileset tag either, so I'm kind of lost here.

Any tips?

tks

© Stack Overflow or respective owner

Related posts about ant

Related posts about visual-sourcesafe