On 2009-08-06, Scot P. Floess <sflo...@nc.rr.com> wrote: >> The @onerror attribute to <taskdef> doesn't seem to work as >> advertised. Is this a bug (and whether it is or not, can anyone >> suggest a workaround?)
>> Consider the following build.xml >> % cat test-build.xml >> <project name='test'> >> <path id='nonexistent.classpath'> >> <fileset dir='/not/a/path' includes='jar.jar'/> >> </path> >> <taskdef name='task' classname='one.two.BuckleMyShoe' onerror='ignore'> >> <classpath refid='nonexistent.classpath'/> >> </taskdef> >> </project> >> % >> BUILD FAILED >> /checkouts/skua.googlecode.com/trunk/code/qsac/test-build.xml:5: >> /not/a/path not found. This is not taskdef telling you off, it is fileset. You'll need erroronmissingdir="false" on the fileset. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org