BusinessObjects Board

Objects Migration/deployment via SDK

Hi All,

I am working on the 4.2 SP 4 environment and trying to write the SDK code to automate the deployment of reports/universe. I referred to the documentation and sample code available, but when I am trying to execute the same I am getting the class not found exception :

com.sap.businessobjects.commentary.common.ICommentRequest

I don’t even understand why the code is looking for Commentary properties, when it is not even used. Has anyone tried the promotion management using SDK. Any help/guidance would be appreciated.

Thanks!


rohit12 :india: (BOB member since 2008-11-08)

Include commentary.common.jar; that should resolve the error.

Joe


joepeters :us: (BOB member since 2002-08-29)

Hi Joe,

Thanks for the help.
Code was able to proceed further after adding the jar suggested by you.

However, now it is throwing exception saying "Required dependencies not found on source system : ‘1459521’ ".
I am looking into the same by comparing all the dependencies from the UI and see if that is working.

Rohit


rohit12 :india: (BOB member since 2008-11-08)

After setting the false option in setIncludeDependencies the code worked and migrated the objects as expected.

Thanks a lot Joe for your help.


rohit12 :india: (BOB member since 2008-11-08)