Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 36729 invoked from network); 4 Dec 2000 14:00:05 -0000 Received: from c014-h003.c014.sfo.cp.net (HELO c014.sfo.cp.net) (209.228.12.67) by locus.apache.org with SMTP; 4 Dec 2000 14:00:05 -0000 Received: (cpmta 24525 invoked from network); 4 Dec 2000 05:59:37 -0800 Received: from 3ff8b835.dsl.flashcom.net (HELO flashcom.net) (63.248.184.53) by smtp.flashcom.net (209.228.12.67) with SMTP; 4 Dec 2000 05:59:37 -0800 X-Sent: 4 Dec 2000 13:59:37 GMT Sender: nwc Message-ID: <3A2BA346.64B4D28@flashcom.net> Date: Mon, 04 Dec 2000 08:59:34 -0500 From: Nicholas Christopher Reply-To: nwc@bigfoot.com X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.0-test10 i686) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: RMIC dependency References: <3A227546.46F6F7BC@ucs.co.za> <3A235FFE.364E5BC3@ucs.co.za> <3A2378A1.4FBE9C94@ucs.co.za> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Stefan Bodewig wrote: > > Elardus Viljoen wrote: > > > Stefan Bodewig wrote: > > > >> > Maybe it'a a problem that I'm using ant 1.1 and not 1.2? > >> > >> Could be. There have been some changes to Rmic after the 1.1 > >> release, maybe one of them fixed the behavior you have seen. > > > > Unfortunately, not the solution... Is the easiest way to write my > > own task that does a timestamp comparison? > > No! Sorry, didn't want to shout. > > The best - though maybe not easiest - you can do, is to find out why > it doesn't work (if you look at the code you'll see it *does* perform > timestamp comparisons). > > I've never used rmic myself, if you could provide me with a simple > test environment (a couple of source/class files and a build file) > that shows this behavior, I'd be happy to help you nail down and fix > the bug. > > But I'll need your help here as I don't really know how to set up an > environment like this. > > Stefan I've had the same problem. What I found was that javac/jikes was touching the .class files every time. For example: $ ls *.java Foo.java $ javac *.java $ # wait 10 minuites - do nothing to Foo.java $ javac *.java Foo.class will have the newer timestamp. This is on Linux and javac and jikes both do it. So since the .class is always touched rmic always builds. That's my bet. #wait ten minutes