Re: Ant: mkdir if none exists

2005-02-07 Thread Douglas Kramer
Thanks for catching that. It seems to be my error in the copy (not a problem with mkdir). I want to recursively copy all files and dirs below ${WORKDIR} to BACKUP, except BACKUP itself. This doesn't seem to exclude BACKUP: -

Re: Ant: mkdir if none exists

2005-02-07 Thread Ninju Bohra
The fact that you getting an additional BACKUP directory created is very strange... I believe the that contents of the ${WORKDIR} are different than you believe...it seems un-believable that the would create an additional level. Later, Ninju --- Douglas Kramer <[EMAIL PROTECTED]> wrote: > I hav

Ant: mkdir if none exists

2005-02-06 Thread Douglas Kramer
I have this mkdir statement, but on Solaris, if BACKUP already exists, it creates a BACKUP directory inside of it: BACKUP/BACKUP I believe this creates a directory only if one doesn't exist. Is there a simpler way to do it all in one task? -Doug --