Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 92095 invoked from network); 14 Sep 2002 18:26:35 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Sep 2002 18:26:35 -0000 Received: (qmail 15366 invoked by uid 97); 14 Sep 2002 18:27:09 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 15334 invoked by uid 97); 14 Sep 2002 18:27:08 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 15301 invoked by uid 98); 14 Sep 2002 18:27:07 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Sat, 14 Sep 2002 11:26:29 -0700 Mime-Version: 1.0 (Apple Message framework v543) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: all platform diff with ANT? From: Scott Ellsworth To: Ant List Content-Transfer-Encoding: 7bit Message-Id: <7CC6B0FE-C80F-11D6-BC93-0003931D19A4@alodar.com> X-Mailer: Apple Mail (2.543) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, all. Apologies if this appears twice. I have a build where I transform a file to make a template, then, if the result of the transformation is differerent than the last time I transformed it, I generate a zillion more files and compile them. The best way to check the uptodate status is a diff, I believe, as all sorts of touches to the main file will not actually make a difference to the transformed result. Is there a pure java task, built in or otherwise, that will diff two files, setting a property if they are not the same? If this were unix-only, I could just exec 'diff', but this has to work on Windows without cygwin, so I have to be able to package it up as a java jar file/taskdef. If someone has a clever hack involving system specific executables, I could fall back to that. Scott --- scott@alodar.com -- To unsubscribe, e-mail: For additional commands, e-mail: