Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 48465 invoked from network); 26 Nov 2002 19:14:33 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Nov 2002 19:14:33 -0000 Received: (qmail 5897 invoked by uid 97); 26 Nov 2002 19:15:28 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 5859 invoked by uid 97); 26 Nov 2002 19:15:27 -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 5838 invoked by uid 98); 26 Nov 2002 19:15:26 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Subject: Antwort: Re: Antwort: Re: Antwort: Re: condition for exec task To: "Ant Users List" X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: "Oliver Wulff" Date: Tue, 26 Nov 2002 20:14:13 +0100 X-MIMETrack: Serialize by Router on CHKNH023/Zurich-Internet(Release 5.0.11 |July 24, 2002) at 26.11.2002 20:14:23 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N see inline! Stefan Bodewig Kopie: Thema: Re: Antwort: Re: Antwort: Re: condition for exec task 26.11.2002 17:33 Bitte antworten an "Ant Users List" On Tue, 26 Nov 2002, Oliver Wulff wrote: >> I guess you mean if I set the attribute "dest". >Yes. >> I show you my complete case: >Thanks. >> When I execute the idl compiler on each idl, it generates a lot of >> java files (200-400). Afterwards, it will compile them. >So each idl maps to n .java files, right? yes! >> >> >> >Isn't the logic reversed here? Source would be the IDL file and >target would be the whole bunch of classes. The manual says: Sets a property if a target file or set of target files is more up-to-date than a source file or set of source files. I guess that's right. If the IDL file is newer then recompile. >All .class files get compiled at the same time, so if one of them is >older than the IDL file, all need to be regenerated. Am I correct? Yes >Are the names of the .class files predictable - at least so that you >Aknow one of them per IDL file? In that case, something like Unfortunately not. The content of the IDL (interface name, ...) maps to the Java classes. >where I hope it would be possible to write a regexp mapper to get a >single .java or .class file name from the name of the IDL file. >In this case, only the IDL files that are newer than the corresponding >.java (.class) files would get passed to the compiler. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: