Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 64963 invoked from network); 29 May 2003 10:56:18 -0000 Received: from mail01.discoveryhealth.co.za (HELO dhcpout1.discoveryhealth.co.za) (196.34.86.46) by daedalus.apache.org with SMTP; 29 May 2003 10:56:18 -0000 Received: from dhtrend2 (172.24.158.12) by dhcpout1.discoveryhealth.co.za (NPlex 6.0.021) id 3E2917F0009319A5 for user@ant.apache.org; Thu, 29 May 2003 12:39:34 +0200 Received: from dhexchange0.discoveryhealth.co.za (172.24.159.108) by dhcpin1.discoveryhealth.co.za (NPlex 5.5.015) id 3DFBD6840097BC61 for user@ant.apache.org; Thu, 29 May 2003 12:38:51 +0200 Received: from discovery.co.za (coralf.discoveryhealth.co.za [172.24.199.23]) by dhexchange0.discoveryhealth.co.za with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id LHA981DA; Thu, 29 May 2003 12:56:07 +0200 Message-ID: <3ED5E6F8.6050104@discovery.co.za> Date: Thu, 29 May 2003 12:54:48 +0200 From: Coral User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030401 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: creating dirs when they dont exist References: <600479923310D711B44D000476DFD22F01B8DC88@dhexchange0.discoveryhealth.co.za> In-Reply-To: <600479923310D711B44D000476DFD22F01B8DC88@dhexchange0.discoveryhealth.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Apologies. BUILD FAILED "Directory creation was not successful for an unknown reason" Mkdir was failing not because the directory existed, but because it was locked by StarTeam. The simplest things take the longest to find. :~D The Mkdir page in the manual should perhaps mention that it does not fail if existing? Coral Featherstone wrote: >Hi All, >I've combed the archives but I just can't seem to find a solution. > >I need to create directories if they don't exist. >Mkdir fails if the directory does exists. Not calling mkdir makes several >other tasl fail (jar, ear etc) > >I've tried > > > > > unless="checkdir.bck.isElusive"> > > > >But obviously checkdir.bck.isElusive never gets set >------------------ >Ive tried > > id="emptyfileset"/> > property="checkdir.webdoc.isElusive" refid="emptyfileset"/> > > > > > > if="checkdir.webdoc.isElusive"> > > > >This works for files not directories and pathconvert fails when the >directory is missing. > > > doesn't work because sometimes there is more that one directory in >the hierarchy that is missing > >Am I missing something obvious??? > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > >