you see, the above ant buildfile almost same. But the target "run" works, the other two failed, the error message is "class not defined dom/4j". the key part is the classpath. But I copy the classpath into "taskdef", still not works.
I guess, just guess, may be some bugs inside.
That is a really big piece of pie for such a tiny ad:
ScroogeXHTML - the small and fast RTF to HTML converter library