[otj-users] Strange problem in very simple example
Stephan Herrmann
stephan at cs.tu-berlin.de
Fri Jul 11 18:04:17 CEST 2008
Hi,
> > I have written a very simple team, role, baseclass and testcase (pasted
> > at the bottom of the message), which fails with the following exception:
> this seems to be a technical, JUnit-related problem. Running your test()
> method as regular main-method works fine.
I just now see that we currently don't ship the OTDT with the support for
JUnit which we actually have. For the time being, could you please try running
the test with the following vmargs:
-Dosgi.framework.extensions=org.objectteams.eclipse.transformer.hook
-Dosgi.hook.configurators.include=org.objectteams.eclipse.transformer.hook.HookConfigurator
-Dot.equinox=1
-Dosgi.classloader.lock=classname
This should enable the byte code weaving required to execute OT/J code.
Normally, there should of course be a simple means in the UI to achieve the
same effect without directly specifying such low-level details.
I just filed http://trac.objectteams.org/ot/ticket/137 for tracking this.
best,
Stephan
More information about the otj-users
mailing list