Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 63485 invoked from network); 17 Jan 2002 00:27:16 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Jan 2002 00:27:16 -0000 Received: (qmail 20578 invoked by uid 97); 17 Jan 2002 00:27:12 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 20562 invoked by uid 97); 17 Jan 2002 00:27:12 -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 20551 invoked from network); 17 Jan 2002 00:27:11 -0000 Message-ID: <017e01c19eed$b43f9c70$6401a8c0@darden.virginia.edu> From: "Erik Hatcher" To: "Ant Users List" References: <3C44F00F.147AD8AE@bea.com> <3C45C551.34A78E83@bea.com> <009301c19ec5$47ed6250$9401a8c0@darden.virginia.edu> <3C45EC78.5D5C1CEC@bea.com> Subject: Re: conditional dependency logic based "uptodate" Date: Wed, 16 Jan 2002 19:27:10 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The idea is that if its a Java program that it really should be wrapped as an Ant task. I'd encourage you to explore this and push the dependency checking into the task. Erik ----- Original Message ----- From: "prasen" To: "Ant Users List" Sent: Wednesday, January 16, 2002 4:11 PM Subject: Re: conditional dependency logic based "uptodate" > > Thanks Erik. Yep it does what I want. But I wished I didnt had to boot > separate JVMs every time I had to run a javaclass which is what ant is > supposed to eliminate :-( > > Erik Hatcher wrote: > > > > Again, have a look at . It does what you are asking for running > > command-line programs and checking dependencies and such. > > > > ----- Original Message ----- > > From: "prasen" > > To: "Ant Users List" ; "Ant Developers List" > > > > Sent: Wednesday, January 16, 2002 1:24 PM > > Subject: Re: conditional dependency logic based "uptodate" > > > > > Actually I need it not only for rmic but other things too. For example > > > we have an abstract class generation tool, which takes an interface and > > > creates a default implementaion. I have an dptodate target: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > and I want something like this: > > > > > unless="rmic.notRequired"> > > > > > failonerror="true"> > > > > > > > > > > > > > > > > > > I dont want to run this generation tool on all the files, but ONLY the > > > outdated files.It is so easy to do this in "make". Does this feature > > > already exist or if not is there any plan to intriduce this in future > > > releases ? I dont want to compile everything, when only one > > > interfacefile has changed. > > > > > > thanks, > > > prasen > > > > > > > > > Stefan Bodewig wrote: > > > > > > > > On Tue, 15 Jan 2002, wrote: > > > > > I want to selectively invoke rmic only on outdated files. How do I > > > > > do that in ant ? For example: > > > > > > > > Which is what Ant's built-in rmic task does. Why do you use myrmic > > > > instead of the built-in task? Maybe it can be rewritten as yet > > > > another implementation of the rmic task (it is a facade backed by > > > > Sun's, Weblogic's and Kaffe's implementation ATM). > > > > > > > > Stefan > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > > > For additional commands, e-mail: > > > > > > > > -- > > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > > > > > > > > -- > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: