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 14231 invoked from network); 8 Aug 2000 16:31:52 -0000 Received: from postoffice.z-tel.com (HELO atl?tpl?exc?01.z-tel.com) (208.205.113.4) by locus.apache.org with SMTP; 8 Aug 2000 16:31:52 -0000 Received: by atl_tpl_exc_01.ztel.com with Internet Mail Service (5.5.2650.21) id <3XQTXYW4>; Tue, 8 Aug 2000 12:31:20 -0400 Message-ID: From: "Bemowski, Paul A" To: "'ant-user@jakarta.apache.org'" Subject: RE: Ant and IDL compilers ? Date: Tue, 8 Aug 2000 12:31:16 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Whether you exec it, or use a custom task to do it in process, you have to compile everything every time. The only way around it is to parse into the idl and know the output format of the idl2java command. A file like foo.idl could generate hundreds of .java files with nothing to do with the word foo. With java and rmi for instance you know that CustomerService.java cranked thru javac and rmic will produce CustomerService_Stub.class, and you can check for the existence and timestamp of the CustomerService_Stub.class. You did all that just by file naming conventions. Unless they are self imposed, idl has no such restrictions, so there is no way to deal with it without parsing into foo.idl to find out what it should be generating. Paul -----Original Message----- From: Bruce Cohen [mailto:bhcohen@mail.com] Sent: Tuesday, August 08, 2000 12:05 PM To: ant-user@jakarta.apache.org Subject: Re: Ant and IDL compilers ? For those of you using exec to call 'idl2java', How do you determine if the source is out of date with respect to the IDL file? Or are you always generating source even if its not out of date? -Bruce ------Original Message------ From: mhaertjens@modusoperandi.com (Michael Haertjens) To: ant-user@jakarta.apache.org Sent: August 8, 2000 1:48:41 PM GMT Subject: Re: Ant and IDL compilers ? Markus Kohler wrote: > > Hi, > Does anyone working with Ant and an (Corba)IDL compiler ? > What is your approach to call the idl compiler ? > > Regards, > Markus > > Using an exec command: Hope this helps -- Michael Haertjens Dreamer, Shaper, Singer, Maker. Systems Engineer www.modusoperandi.com mhaertjens@modusoperandi.com ______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup