Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 75205 invoked from network); 11 Nov 2003 15:09:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Nov 2003 15:09:27 -0000 Received: (qmail 34948 invoked by uid 500); 11 Nov 2003 15:09:14 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 34896 invoked by uid 500); 11 Nov 2003 15:09:13 -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 34866 invoked from network); 11 Nov 2003 15:09:12 -0000 Received: from unknown (HELO exchange?geral.intra.cet.pt) (194.65.138.11) by daedalus.apache.org with SMTP; 11 Nov 2003 15:09:12 -0000 Received: from [10.112.80.105] (10.112.80.105 [10.112.80.105]) by exchange_geral.intra.cet.pt with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id W3P5C8CJ; Tue, 11 Nov 2003 15:08:26 -0000 Subject: generate files *only* if a one of set of sources was modified From: Pedro Salazar To: Ant Users List Content-Type: text/plain Organization: Portugal Telecom Inovação, S.A. Message-Id: <1068563304.18549.60.camel@vitoria.intra.cet.pt> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 11 Nov 2003 15:08:24 +0000 Content-Transfer-Encoding: 7bit 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 Greetings, I'm using xdoclet to generate descriptors and interfaces for my EJBs. However, I want generate those descriptors only if any of my EJBs sources was modified. I create a task using the . I don't know if is the better approach to use but it doesn't work also (the problem can be in the mapper which I don't understand very well) . I set a property "ejb-changed" if any of the sources is newer than the generated, ad then my custom xdoclet task will run if this property was set. This target doesn't work because when I update any of my sources, the property is not set!!!?? I try to use the , but I don't know how to notify or set a property if it removes the generated files to generate new ones... WHAT TO DO HERE!!!?? Anyone have an ideia how to do it? Regards, Pedro Salazar. -- PS pedro-b-salazar@ptinovacao.pt PGP:0E129E31D803BC61 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org