--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > It's not pretty, but you could use Ant-contrib <tryCatch> which would > reference the <fileset> internally, and if that throws an exception, > then the <fileset> was not defined:
Seems a long way around when you could just tell people, "If you define a resources.config fileset, set a property to go with it." Then just 'if' on that property in your <copy> that copies the resources.config fileset. IOW: <fileset id="resources.config" .../> <property name="resources.config" value="true"/> Having them add one line is a whole lot easier than jumping through hoops trying to roundaboutly discern something that's easily settable. Diane ===== ([EMAIL PROTECTED]) __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
