Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Workspace closed(Workspace closed error)
Workspace closed [message #1409467] Mon, 18 August 2014 07:17
tim tim is currently offline tim timFriend
Messages: 1
Registered: August 2014
Junior Member


Hello,


I want to get the path of my workspace in Eclipse. I wrote the following code:

IWorkspace myWorkspace = ResourcesPlugin.getWorkspace();
System.out.println(myWorkspace.getRoot().getFullPath());
The problem is that I get a workspace closed exception. How can I solve this ?

Thank you !
Previous Topic:How to get exceptions displayed in my eclipse console window after i deploy/install my plugins?
Next Topic:Cut, copy and paste actions disabled on AbstractTextEditor
Goto Forum:
  


Current Time: Thu Apr 18 08:12:55 GMT 2024

Powered by FUDForum. Page generated in 0.02320 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top