> It is a rather common pattern to set properties in the targets of the > depends list, something like > > <target name="check"> > <availible property="library.available" ... /> > </target> > > <target name="do-it-with-lib" depends="check" if="library.available"> > <task that requires library /> > </target> > > <target name="do-it-without-lib" depends="check" unless="library.available"> > <task that does the same without library" /> > </target> > > <target name="do-it" > depends="do-it-with-library,do-it-without-library" /> > > See also: > > <http://jakarta.apache.org/ant/faq.html#stop-dependency> >
^^^^^^^^^^^^^ Thank you. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>