I have a little problem with running ant task. When create <taskedef...> a using this task in target to convert mml to svg file, task can not load batik classes in his jar file.
I investigate where is problem and find class BatikDetector. In this class is called context class loader, which can not load batik classes, because is not visible in actual thread context (ant context).
Possible fix is using classloader of class, which can load classes specified in taskdef classpath.
I actualy must add batik classes to lib directory of ant. This solution is not good and systemic.
I enclose patch for detectors in attachment.
Thanks for your reply