i think what stephen suspects is that your having classloader issues. you might need to call setClassloader on the digester instance (with an appropriate classloader).

- robert

On 1 Mar 2004, at 19:04, Martin Kersten wrote:

Hi Stephen,


Do you have the digester jar in your project classpath within Eclipse?
I am developing an plugin. The jars are added using an seperated library
plugin. It works when I am running it using the normal JUnit. But
running the plugin within a runtime-workspace or to run JUnit for Plugins
it fails. The Digester classes can not create the required classes of the
current plugin depending on the library plugin.


I am using Eclipse 3.0 M7 by the way.
Were you running JUnit within something like an Ant target with its own
classspath?
The plain JUnit works but the JUnit for plugins don't work.

  I am importing digester into eclipse using an library plugin
(just adding digesterXX.jar). I can run my plugin testcode
nicely using normal JUnit but using Plugin-JUnit or starting
the plugin within a eclipse platform context fails.

It says Digester is unable to found my implementation
classes provided using a setObjectCreate rule.

Q1: Does anyone managed to use digester within a eclipse
plugin?
Q2: How?


Thanks,

Martin (Kersten)


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to