How to use WorkspaceManager in pre-condition development?
Use Clint Java API ,
I can use the follow code to get the specified baselines,
WorkspaceManager mgr = (WorkspaceManager) SCMPlatform.getWorkspaceManager(repo);
List<IBaselineHandle> baselines = mgr.findBaselines(baselineSearchCriteria,Integer.MAX_VALUE, monitor);
But how to use WorkspaceManager in pre-condition development?
Thanks a lot!
2 answers
You cannot. Because IWorkspaceManager is a PlainAPI class while in precondition you need to use the SDK classes.
You'd better start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/
Anyway, on server side most of the method of workspace manager is similar to the ones contained in IScmService.
Michele.
You'd better start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/
Anyway, on server side most of the method of workspace manager is similar to the ones contained in IScmService.
Michele.
Comments
This question does not provide any information that would allow to answer it. I would suggest to think about what you want to ask. See: How should I ask a question in the Forum if I want to receive useful answers?