Hi
How to get access to eclipse workspace from java program.
When I use IWorkspace workspace = ResourcesPlugin.getWorkspace().getRoot()
it gives me exception like this
java.lang.IllegalStateException: Workspace is closed.
at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:329)
at amdocs.amsp.test.EMFCodeGen.load(EMFCodeGen.java:37)
at amdocs.amsp.test.EMFCodeGen.main(EMFCodeGen.java:26)
can you tell me how to get access to workspace from a standalone java program out side of eclipse. (of ourse there is a classpath with all the jar required for that)