ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject AW: complex cvs command via "exec"
Date Thu, 27 Feb 2003 05:43:49 GMT
Whithout knowing any about cvs:

1. create a batch/shell script via <echo file=""/> and <exec> that
2. don´t start the cvs, start the shell itself (sh,cmd, ...) and give the
cvs -q ... as argument (line)
3. Have you tried what you´re asking? <exec cvs><arg line="-q .... | awk
..."/> ?

(not tested, just thoughts)

Jan Matèrne

-----Ursprüngliche Nachricht-----
Von: Chris Chang []
Gesendet am: Donnerstag, 27. Februar 2003 01:33
An: 'Ant Users List'
Betreff: complex cvs command via "exec"


Is it possible to perform the following using task "exec"? any idea?

cvs export for all files that were changed between tag1 and tag10
cvs -q patch -r tag1 -r tag10 module/dir_a | awk /^Index:/'{print $2}' |
xargs cvs export -l -r tag10

Thanks in advance!


To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message