|Re: Reflection component : Invoke External method [Execution Error: "java.lang.ClassNotFound] [message #1766135 is a reply to message #1765933]
||Fri, 16 June 2017 10:17
| Milos Hroudny
Registered: June 2017
Thanks for your response. The main message is that the same jar used successfully with Swing AUT fails with RCP AUT.
The test actually does not call anything from AUT. AUT is only started to provide a context. The test starts only my external method.
I am not blocked by any rights, I am on the d:, Windows 7.
For creating jar I use Eclipse for Java Developers, neon.3.
In this test I have only one static method in the class and this method counts directories in the specified directory. No main, so exported as a normal jar (not executable).
If you would like to retest it, you can create two projects, one for toolkit Swing, second one for toolkit RCP. You can assign any Swing program and any RCP program, they only must be executable, so that you can start them.
In my project I created one more project LibraryExternalMethods, based on the toolkit concrete and I reuse this project both in Swing and RCP projects.
jar file is in ..\ite\externaljars as required. jar file is attached as well as screenshots.
In none of log files in .jubula.logs is any record from today, when I started the test.
Powered by FUDForum
. Page generated in 0.01833 seconds