I would like to modify a work Item for my project.
For that i use :
Code: Select all
ITransactionService ITS = PlatformContext.getPlatform().lookupService(ITransactionService.class);
System.out.println(" IN ==> ITS.canBeginTx()");
But i have a exception : Platform was not initialized yet.
I'm serched in the API how to initialized a platforme and i found : PlatformContext.initPlatform((IPlatform));
But what is a IPlatform? it is a reference to Polarion instance? I'm a little bit lost.
Do you have a track?