IntelliJ Java IDE
The moose likes IDEs, Version Control and other tools and the fly likes Unable to retrieve Workspace using ResourcePlugin.getWorkspace() Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Unable to retrieve Workspace using ResourcePlugin.getWorkspace()" Watch "Unable to retrieve Workspace using ResourcePlugin.getWorkspace()" New topic
Author

Unable to retrieve Workspace using ResourcePlugin.getWorkspace()

swaraj bhat
Greenhorn

Joined: Jun 02, 2011
Posts: 2
Hi guys,

I'm trying the below code to retrieve an Eclipse project named "Sample_project" from my current workspace.



I am getting an IllegalStateException for the method getWorkspace() stating that the Workspace is closed.
I am not sure what I am doing wrong here.
Any help asap will be appreciated.


Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4875

"novice bhat", please read your private messages regarding an important administrative matter.


JBoss In Action
 
IntelliJ Java IDE
 
subject: Unable to retrieve Workspace using ResourcePlugin.getWorkspace()
 
Threads others viewed
Retrieve numerical values from a text file
Displaying Images in eclipse
issue with getting real path in servlet using eclipse
Urgent advice needed on eclipse compare with
org.omg.CORBA.COMM_FAILURE
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com