Make use of the <touchfile> and <uptodate> built in ant tasks.  your flow
would then be:

1. check that the touchfile is update, and set a property if it is
2. add an "unless" attribute to the xdoclet target
3. in the xdoclet target touch the touchfile.

let me know if this isn't clear

cheers
dim

----- Original Message -----
From: "Jan Kester" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 18, 2002 9:25 PM
Subject: [Xdoclet-user] ant dependency checking


I created a build file with separate compile rules for ejb, client and
common classes. The client classes use the generated interface classes and
thus depend on the xdoclet-generate task. Most of the times however nothing
changes and compiling client classes shouldn�t cause xdoclet-generate task
to run. However, whenever I run compile-client it repeats the whole
xdoclet-generate task which causes quite some extra build time.
How can I set up my build.xml file such that proper dependency checking is
done for the xdoclet-generate tasks (only run if ejb source classes have
changed) ?

Regards, Jan

Jan Kester
Marlborough Stirling Espa�a, S.L. Director de Inform�tica
Gran V�a 62, 10� izq
28013 Madrid
tel: +34-91-5487910
fax: +34-91-5400199
email: [EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to