Hi,

> When I run the foo task, I get the following error:
>   javax.xml.parsers.FactoryConfigurationError: Provider FooTask not found

I looked a bit further into this problem, and found out that it's
probably related to the classpath with which the task is run.

During the task's execution, a class is dynamically loaded using
Class.forName(). This class is in the classpath specified when doing
the <taskdef/>, but it's not in Ant's classpath. I assume that this
means that, when Ant executes the task, it is using its own classpath,
and that's why my script fails.

It sounds like a common problem. How can I make my task reference
classes dynamically that are not on Ant's classpath?

thanks,
Remko

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to