Ok, ok, not very intuitive and that portable, but I got it... :-) After some suffering and some -verbose attempts, I got the solution:
<target name="check" depends="init"> <uptodate property="srcs.uptodate"> <srcfiles dir="${src}" includes="**/*.java" /> <mapper type="glob" from="*.java" to="../${bkp}/*.java" /> </uptodate> </target> <target name="javadoc" depends="check" unless="srcs.uptodate"> <delete dir="${doc}" /> <javadoc sourcepath="${src}" destdir="${doc}" packagenames="com.company.*" /> </target> I particularly didn't like the mapper sintax: <mapper type="glob" from="*.java" to="../${bkp}/*.java" /> since it will only work if my ${bkp} points to a sibling folder of ${src}. Could anyone suggest a more portable solution that works no matter where ${src} and ${bkp} points to? Otherwise, I'll have to live with that... :-) []s Michael ----- Original Message ----- From: "Michael Nascimento Santos" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, December 12, 2002 8:05 AM Subject: Re: uptodate question > no, sorry... I've already tried that... :-) > > Any other tips? > > []s > Michael > > ----- Original Message ----- > From: "Stefan Bodewig" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, December 12, 2002 4:58 AM > Subject: Re: uptodate question > > > > On Wed, 11 Dec 2002, Michael Nascimento Santos <[EMAIL PROTECTED]> > > wrote: > > > > > <srcfiles dir="${basedir}" /> > > > <mapper type="glob" from="${src}\*.java" to="${bkp}\*.java" > /> > > > > Does > > > > <srcfiles dir="${src}" /> > > <mapper type="glob" from="*.java" to="${bkp}\*.java" /> > > > > work? > > > > Stefan > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>