I'm trying to write or debug a tool using the Tool Integrators API, but the ToolEnv.connectToWorkspace() method is returning null. Why can't it get a connection to the workspace?

Eric Rizzo

When you run a Tools API program inside VAJ (not as a tool, but as a program you are developing and/or debugging), you must includes the "IBM IDE Utility local implementation" in your workspace classpath. If the project_resources directory (...ideproject_resourcesIBM IDE Utility local implementation) is not in yor runtime workspace classpath, connectToWorkspace() will return null.

For more info on the workspace classpath, see How does VAJ handle compile time and runtime classpath?.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact