ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Wood" <>
Subject Problems with exec
Date Mon, 01 May 2006 18:22:46 GMT
As the on-line documentation suggests, I am using exec to copy some
files on UNIX to preserve permissions, but exec is taking my wildcard as
translating it as a literial.

I'm attemping to copy all files in a subdirectory to another directory
      cp -R * destinationDir

But the exec command seems to be quoting my * (wildcard) and returning
the following error:
     [exec] cp: *: A file or directory in the path name does not exist.
     [exec] Result: 1

Here is my exec command:
      <exec executable="/usr/bin/cp" >
          <arg line="-R * ${dir.deploy.tgt}"/>

How can I get around this?


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