(Yes, I\'ve read and played around based on answers to similar questions in this forum and in many others such as JavaRanch--to no avail yet.)
I\'ve created a custom
I've struggled with this for two days now. The answer I appear to be getting is implied by http://ant.apache.org/manual/tutorial-writing-tasks.html:
The <taskdef name="sqlscriptpreprocessor" ...> element must be placed down inside the target that uses it, in this case, mysql-preprocess. I was not doing this. Now, I have:
I don't understand why my custom task must be defined in the target element that consumes it, but this is fine by me. I'm not certain this is couched as gracefully as it could be, but it works now.
I'm sorry for answering my own question; it's happened before once or twice and it seems pretty lame of me. I just hope it helps someone else.
Thanks for all the replies surrounding this topic in all the forums and posts I read over the last two days.