ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Salazar <>
Subject RE: task depends on file changes...
Date Tue, 11 Mar 2003 18:21:37 GMT
The <uptodate> *solved* my problem. I didn't try the <dependset> but
I'll do it as the other references too. 


pedro salazar.

On Tue, 2003-03-11 at 17:02, Dominique Devienne wrote:
> See <uptodate> and/or <dependset> in Ant proper. See also <outofdate>
> was discussed very recently on user@ant and was just committed to
> Ant-contrib's (on CVS HEAD. Finally, see also <jaxb> submitted to
> Ant's BugZilla DB which you might want to adapt to work with Castor instead
> of Jaxb. --DD
> -----Original Message-----
> From: Pedro Salazar [] 
> Sent: Tuesday, March 11, 2003 10:54 AM
> To:
> Subject: task depends on file changes...
> Greetings,
> I would like to know if is it possible make the execution of a task
> depends on the changes of a specific non java file, XML for instance?
> My readings of <depend> element is that it won't work here because it
> only cares about the references encoded in the classes files to
> determine the relation of java sources and classes.
> What I need here is that before I try to find out if I would need to
> recompile my sources, I would like to see if I need to regenerate my
> sources files or not, through the changes on a XML file.
> My real need is for CASTOR references. If I change my schema file (XML),
> I want to regenerate my java sources bindings for that schema. 
> Is there any ant task that could apply here to fulfill my needs?
> thanks,
> Pedro Salazar.
<id name="pedro salazar"> 

View raw message