Results 1 to 1 of 1
Thread: open eclipse plugin
- 08-10-2010, 01:37 PM #1
Member
- Join Date
- Aug 2010
- Posts
- 1
- Rep Power
- 0
open eclipse plugin
Hy.
I try to write JUnit test for some plugins and what I need to do is to veify if a plugin exists in my workspace. I think I need to open that plugun programmatically usig it's id or to open the workspace an to verify if my plugins are there, but I have no ideea how to do this. I tryed this:
IWorkspace root = ResourcesPlugin.getWorkspace();
IProject[] projects = root.getRoot().getProjects();
for(int i = 0; i<projects.length; i++){
System.out.println(projects[i].getName());
}
It seems that projects has lenght = 0.
Could you help me?
Thanks.
Similar Threads
-
Help with Eclipse SWT - OLE plugin
By nmarathe in forum EclipseReplies: 4Last Post: 03-11-2009, 01:37 PM -
plugin for using jsf in eclipse
By shu2hua in forum EclipseReplies: 0Last Post: 05-30-2008, 05:54 AM -
AnyEdit Plugin For Eclipse Plugin
By JavaForums in forum EclipseReplies: 0Last Post: 05-18-2007, 12:28 PM -
plugin for eclipse
By sin in forum EclipseReplies: 1Last Post: 05-10-2007, 07:43 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks