test swt/jface dialog without rcp runtime? [message #334583] |
Thu, 19 February 2009 03:21 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: nospam.somewhere.org
I am developing an swt/jface dialog in a rcp plugin. For
developing/testing my need is to start this dialog without the need to
start the whole eclipse application. I simply added a pubic static void
main() to the dialog, but got eclipse runtime problem when starting this
dialog out of the eclipse.
The dialog references classes from another rcp plugin. This plugin
internally uses eclipse/java preferences and throws an exception when
instantiating the preference classes.
Main problem i think is the main method, which doesn't initialize
eclipse runtime. I also reference another plugin (eclipse project), the
classpath is okay, but not the runtime environment.
Question: is there a simple way to initialize eclipse runtime and to
avoid the described problem. My need is a development testing iteration.
The solution should simply work and needs not to be a clean way.
The only alternative i currently see, is to create a new product
configuration. Thats too much effort for simple testing, isn't it?
Any ideas?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02998 seconds