Test plugins with Java projects [message #258241] |
Sun, 25 January 2009 13:15  |
Eclipse User |
|
|
|
Hello all,
I'm currently writing a plugin and its associated test plugin. In the test
plugin I need to create a Java project. I've seen that there is a
JavaProjectHelper class in org.eclipse.jdt.ui.tests, which makes it really
easy to setup the tests.
The problem that I'm facing is that I have to include
org.eclipse.jdt.ui.tests in my target platform, and even so I get
"Discouraged access" warnings.
My question is: what is the accepted practice for this situation? Should I:
a) Live with the test plugins in the target platform? (may introduce
errors in production that aren't detected by the tests)
b) Copy and paste the JavaProjectHelper class and its dependencies into my
plugin? (may cause maintenance problems in the future)
c) Request for JavaProjectHelper to be included in the main code for
org.eclipse.jdt.ui? (I assume that there are reasons if it's not already
there)
d) Request for JDT tests plugins to be included in the downloadable JDT
SDK?
Is there some documentation or examples that I can look at?
Thanks in advance,
Tomás
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02887 seconds