ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "query" <search2...@rediffmail.com>
Subject Pathname issue in cvs export command
Date Thu, 05 Apr 2007 06:14:33 GMT
  
    
Hi,

I am using cvs task to export modules. 

<cvs dest="${temp}" command="export" cvsRoot="${CVSROOT}" tag="${IMGS}" package="java/gui/images"/>

Here, I want to export only gif files in java/gui/images to ${temp}by shortening the pathnames.
But it is exorting gif files to ${temp}/java/gui/images.
I tried using commanline option -d also. But it is giving error.

1. 
<cvs dest="${temp}" command="export -d" cvsRoot="${CVSROOT}" tag="${IMGS}" package="java/gui/images"/>

2.
<cvs dest="-d ${temp}" command="export" cvsRoot="${CVSROOT}" tag="${IMGS}" package="java/gui/images"/>

3.
<cvs command="export" cvsRoot="${CVSROOT}" tag="${IMGS}" package="java/gui/images"/>
 <commandline>
  <argument line="-d ="-d ${temp}"/>
 </commandline>
</cvs>

Is there any option that can be used in ANT cvs task so that export command will ignore the
directory structure?
Thanks in advance.......

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