--- Gilbert Rebhan <[EMAIL PROTECTED]> wrote:
> Gilbert Rebhan wrote:
>
> > Blank directorie are not copied, how to achieve
> that if wanted ?
> > (manual says task is set to
> ncludeEmptyDirs="true" ?
>
> it's simply a question of the fileset include
> pattern
> if used
>
> includes="**/*"
Gilbert Rebhan wrote:
Blank directorie are not copied, how to achieve that if wanted ?
(manual says task is set to ncludeEmptyDirs="true" ?
it's simply a question of the fileset include pattern
if used
includes="**/*" =
main:
[echo] Files to copy =
[copy] Copied 1 empty directory
--- Gilbert Rebhan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Matt Benson wrote:
> > Hi Chris:
> > Try using a
> > selector with your source .
> >
> > HTH,
> > Matt
>
> Nice :-)
>
>
> before =
>
> J:\copyfrom\subdir1\
> J:\copyfrom\subdir1\build.xml
> J:\copyfrom\subdir2\
> J:\copyfrom\subdir2
Hi,
Matt Benson wrote:
Hi Chris:
Try using a
selector with your source .
HTH,
Matt
Nice :-)
before =
J:\copyfrom\subdir1\
J:\copyfrom\subdir1\build.xml
J:\copyfrom\subdir2\
J:\copyfrom\subdir2\subsub2\build.xml
J:\copyfrom\build.xml
and
J:\copyto is a blank directory
with =
Hi Chris:
Try using a
selector with your source .
HTH,
Matt
--- Chris Velevitch <[EMAIL PROTECTED]> wrote:
> On 6/12/07, Rebhan, Gilbert
> <[EMAIL PROTECTED]> wrote:
> > combine it with a condition, example =
> >
> >
> >
> >
> > file="${ant.working.dir}/${mname}_script.params" />
On 6/12/07, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:
combine it with a condition, example =
and make your copy target depend on the target with condtion and unless
...
That's fine for one file, but cp -r tranverses a directory tree of
1000's of files. What's the ant eq
Hi,
-Original Message-
From: Chris Velevitch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 12, 2007 10:12 AM
To: Ant Users List
Subject: Re: task to 'cp -r --reply=no'
/*
The copy task states "By default, files are only copied if the source
file is newer than the desti
On 6/12/07, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:
"if the file exists ..."
the copy task's default is overwrite false
The copy task states "By default, files are only copied if the source
file is newer than the destination file, or when the destination file
does not exist", but in my case
Hi,
-Original Message-
From: Chris Velevitch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 12, 2007 9:46 AM
To: user@ant.apache.org
Subject: task to 'cp -r --reply=no'
/*
What task is the equivalent of 'cp -r --reply=no'. This command
recursively copies files and if the file exists in