Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 52466 invoked from network); 7 Sep 2006 17:12:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Sep 2006 17:12:07 -0000 Received: (qmail 10673 invoked by uid 500); 7 Sep 2006 17:12:06 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 10638 invoked by uid 500); 7 Sep 2006 17:12:06 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 10629 invoked by uid 99); 7 Sep 2006 17:12:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 10:12:06 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mcintyre.a@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 10:12:05 -0700 Received: by ug-out-1314.google.com with SMTP id m2so305248uge for ; Thu, 07 Sep 2006 10:11:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HAAZa+JfQzqFdLXe/sfw0alf3l9WJFWSiQWVsC4qf9lVoWy8kj8SCBvrnlNI6TcBDGXMwvBetkYXjlwf+i8Yz9LNbkAW5hKUeohD/x98E2qL0rV63HunaIElzvR/pmDZ8VDIe99qNUbvvcJmpImSgYRlXwwXqIkqmcEcWyQ0O4w= Received: by 10.67.105.19 with SMTP id h19mr564535ugm; Thu, 07 Sep 2006 10:11:43 -0700 (PDT) Received: by 10.67.27.19 with HTTP; Thu, 7 Sep 2006 10:11:43 -0700 (PDT) Message-ID: <54ac72d70609071011u1c4f0f15i412790222126ee58@mail.gmail.com> Date: Thu, 7 Sep 2006 10:11:43 -0700 From: "Andrew McIntyre" To: derby-dev@db.apache.org Subject: Re: Re: DITA docs build problem - cannot replace ref with reftemp In-Reply-To: <450047F4.9050404@amberpoint.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44FFA724.70907@amberpoint.com> <54ac72d70609062203p7807b9a4lda5c9d26ad87589@mail.gmail.com> <450047F4.9050404@amberpoint.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 9/7/06, Bryan Pendleton wrote: > Andrew McIntyre wrote: > > Try deleting your out directory completely and then running the > > html.ref target again. > > Hi Andrew, thanks for the suggestions. Unfortunately, it didn't help. > > I ran "ant -verbose html.ref" and captured the output, and the last > page or two is pasted below. > > I guess I'm not quite sure what Ant is trying to do here. It seems > to have decided to copy each of the files from the old directory ("reftemp") > to the new directory ("ref"), and it succeeds at doing that, but then > it tries to rename the directory "reftemp" to be the directory "ref", and > of course that fails because the directory "ref" already exists at this > point. > > I think that Ant should have either > - simply renamed the directory, without copying its contents from the old > directory name to the new directory name, or > - copied all the contents, but then simply deleted the old directory at the > end, no need to rename the directory because all the contents have been > copied to the new directory. > > Is any of this making sense? I guess I should go read the DITA build.xml files. Well, I'm following you, but it is rather odd. And I'm really wondering why you're the first person to hit the problem. I'm guessing that it's these lines: And that at this point, Ant is trying to just move the directory, instead of the remaining files in the directory, over to out/ref, which is obviously the wrong thing to do. :-) What version of Ant are you using? Maybe try updating to Ant 1.6.5, if that's not the version you are already using, since it works properly for me with 1.6.5 (and 1.6.2, FWIW). In the meantime, I'll build the HTML ref manual with your change so that it is easier for others to review (although it looks like there's already a positive review from Rick). andrew