Java API extending - how to get workspace root
Hi,
Using RTC 4.0.3 Java API I am trying to load an existing workspace to download content from the stream. I am basing my code on the sample here:
https://jazz.net/forum/questions/118483/rtc-v401-java-api-how-to-load-a-workspace-using-java-api
My code fails at the following line with an IllegalStateException "Workspace is closed".
File workspaceRoot = ResourcesPlugin.getWorkspace().getRoot().getLocation().toFile();
I don't see documentation available for the ResourcesPlugin class. Is there a way to get a File workspace root object from a IWorkspaceConnection object?
A different build of the source from the Forum link above indicates that the DojoObject class is required. Can anyone point me to where I might be able to dowload the .jar for com.ibm.jdojo.lang.DojoObject?
Peter