Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 70438 invoked from network); 30 Mar 2004 11:45:42 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Mar 2004 11:45:42 -0000 Received: (qmail 24072 invoked by uid 500); 30 Mar 2004 11:45:33 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 24043 invoked by uid 500); 30 Mar 2004 11:45:32 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 24020 invoked from network); 30 Mar 2004 11:45:31 -0000 Received: from unknown (HELO mailserver.internal.amplefuture.com) (212.158.8.167) by daedalus.apache.org with SMTP; 30 Mar 2004 11:45:31 -0000 Received: (qmail 23391 invoked from network); 30 Mar 2004 12:45:30 +0100 Received: from unknown (HELO marcot) (10.1.230.211) by mailserver.internal.amplefuture.com with SMTP; 30 Mar 2004 12:45:30 +0100 Date: Tue, 30 Mar 2004 12:45:30 +0100 From: Marco Tedone Subject: re[2]: Generating XDoclet stuff only if changed To: Ant Users List Message-ID: In-Reply-To: <10EFC299-823D-11D8-A619-000393A564E6@ehatchersolutions.com> Mime-Version: 1.0 Organization: Virtual Universe Limited X-Mailer: GoldMine [6.00.30503] X-GM-Private: 41 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N That would be fine, Erik, but how could I compare the source/target of files = generated by XDoclet in the ejbdoclet task? Let's say I've got the following folder: C:\dev\project\xdoclet-gen under which I've got the interfaces and utility classes generated by XDoclet. = How could I use to compare the src already there and the being = generated ones? Marco > On Mar 30, 2004, at 4:46 AM, Marco Tedone wrote: > Hi, my boss would like to generate the XDoclet generated code for our=20 > EJBs only when the "eventually generated" code would be different from=20 > the "already generated" one, thus avoiding lost of time. > > Has anyone something to reccomend? XDoclet itself does dependency quite well, although it still takes a=20 little time to process that. When things are up-to-date it definitely=20 runs much faster. But, to speed things up even more, you can use=20 to check source/target files, set a property, and then use=20 an if/unless clause on a target to bypass XDoclet generation. Erik --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email=20 ______________________________________________________________________ < ----------------------- Original Message ----------------------- =20 From: Erik Hatcher To: "Ant Users List" Date: Tue, 30 Mar 2004 06:26:19 -0500 Subject: Re: Generating XDoclet stuff only if changed =20 On Mar 30, 2004, at 4:46 AM, Marco Tedone wrote: > Hi, my boss would like to = generate the XDoclet generated code for our > EJBs only when the "eventually = generated" code would be different from > the "already generated" one, thus = avoiding lost of time. > > Has anyone something to reccomend? XDoclet itself = does dependency quite well, although it still takes a little time to process = that. When things are up-to-date it definitely runs much faster. But, to speed = things up even more, you can use to check source/target files, set a property, = and then use an if/unless clause on a target to bypass XDoclet generation. Erik = --------------------------------------------------------------------- To = unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, = e-mail: user-help@ant.apache.org = ______________________________________________________________________ This = email has been scanned by the MessageLabs Email Security System. For more = information please visit http://www.messagelabs.com/email = ______________________________________________________________________=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org