Saving IDataSetDefinition fails with message 'you must upgrade your client to 4.0 or newer'
I'm trying to programmatically modify some property of a dataasetdefinition from a custom client api as follow
IDataSetDefinitionClient dsdClient=(IDataSetDefinitionClient)
getRepo().getClientLibrary(IDataSetDefinitionClient.class);
IDataSetDefinition[] dsda=dsdClient.getDataSetDefinitions(projectArea, new NullProgressMonitor());
for (IDataSetDefinition dsDef : dsda)
{
dsDef .setName(idsd.getName()+"ren");//modify a property
dsdClient.save(idsd, new NullProgressMonitor());
}
this gives the following exception
com.ibm.team.repository.common.TeamRepositoryException: You cannot save data set definition "PACPCXT1.PACPCXT1.CNTLCARD.F0ren". To save the data set definition, you must upgrade your client to 4.0 or newer.
I'm using Eclipse 4.2.2 with an RTC client 6.0.5 and RTC SDK 6.0.5, what i'm i missing?
Thanks
|
One answer
Ralph Schoon (63.3k●3●36●46)
| answered Jun 21 '18, 7:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jun 21 '18, 7:39 a.m. I have searched for IDataSetDefinitionClient in the SDK for 6.0 and 6.0.3 and there is no hint of it anywhere.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.