Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 23627 invoked from network); 7 Mar 2006 20:44:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Mar 2006 20:44:56 -0000 Received: (qmail 89691 invoked by uid 500); 7 Mar 2006 20:44:51 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 89654 invoked by uid 500); 7 Mar 2006 20:44:51 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 80228 invoked by uid 99); 7 Mar 2006 17:00:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: quoted-printable Message-Id: <637FA745-109B-4CA1-A6AC-A8AFAB2320A8@byu.edu> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed To: user@ant.apache.org From: Daniel Smith Subject: uptodate with a target directory Date: Tue, 7 Mar 2006 11:00:18 -0600 X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N uptodate does not seem to handle target directories properly. It =20 will incorrectly determine that a generated directory with an out-of-=20 date timestamp is actually up to date. Example script: If, in an empty directory, I do the following: - ant update-source (to generate the source file) - ant update-target (to generate the target directory) - ant update-source (to change the timestamp on the source file) - ant update-target (to generate a *new* target directory) On the second "update-target" uptodate incorrectly determines that =20 the directory is up to date. If I modify my script to do the following: it will work as expected. It also works as expected if I generate a target *file* instead of a =20 target *directory*. I'm using Ant 1.6.2 and Java 1.5.0_05. =97Dan Smith --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org