ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
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 [mailto:chris.chang@cendec.com]
Gesendet am: Donnerstag, 27. Februar 2003 01:33
An: 'Ant Users List'
Betreff: complex cvs command via "exec"

Folks,

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!

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

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