maven-scm-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jad SAMAHA <>
Subject CVS : passing the "prune empty directories" flag to the checkout command
Date Tue, 28 Sep 2010 15:19:14 GMT
Hello everyone,

I'm trying to get maven to checkout projects using the -P flag, which 
stands for "prune empty directories". This flag is quite useful since 
CVS does not really provide an option to remove directories and this 
flag is the only way (as far as I know) to extract a clean copy of a 

I've been looking around and there doesn't seem to be a way to pass a 
flag to the checkout command (and not the cvs command). I might be 
totally wrong and I could use some help :)

To sum up, currently the command produced is :

[INFO] Executing: cmd.exe /X /C "cvs -z3 -f -d 
:pserver:<login>@<url>:/<cvsroot> -q checkout -d <folderName> <myproject>"

And I'd like it to look like this :

[INFO] Executing: cmd.exe /X /C "cvs -z3 -f -d 
:pserver:<login>@<url>:/<cvsroot> -q checkout -P -d <folderName> 

Thanks in advance !


View raw message