cancel
Showing results for 
Search instead for 
Did you mean: 

IRoom API

Former Member
0 Kudos

hi all,

i'm try to create collaboration Rooms with the IRoom API,

i found the example Cookbook but it's not work i get error like that:<b>The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.ip.collaboration.room.api.template.IRoomRole. Fix the classpath then try rebuilding this project.</b>

my ep version is ep 6.0 sp9 NetWeaver 04 and the example fit for ep 6.0 sp3 maybe its makes the problem? someone know about another example for IRoom API?

thanke,

yoav.

Accepted Solutions (0)

Answers (2)

Answers (2)

detlev_beutner
Active Contributor
0 Kudos

Hi,

I hope the answers given have been helping... If yes, please consider awarding points and mark the question as answered. If no, please come back to give feedback why the hints did not bring you forward. This not only for being polite against us, but also for others running into the same issue to get feedback if they should go the way given in the answers or where else a solution could be found.

Thanks in advance

Detlev

detlev_beutner
Active Contributor
0 Kudos

Hi Yoav,

of course you have to set the build path of NWDS to the jar including IRoomRole. For general advice, see

For this special case, you will need to add .../irj/root/WEB-INF/portal/portalapps/com.sap.netweaver.coll.shared/lib/coll.shared.types_api.jar to your build path.

And don't forget to set the corresponding SharingReference to com.sap.netweaver.coll.shared.

Hope it helps

Detlev

Former Member
0 Kudos

Hi there,

just as an addition to Detlev’s post

you can put the following entries into your .classpath (Resource Perspective in Eclipse)


	<classpathentry kind="var" path="EP6/com.sap.netweaver.bc.rf/lib/bc.rf.framework_api.jar"/>
	<classpathentry kind="var" path="EP6/com.sap.netweaver.bc.rf.service/lib/bc.rf.global.service.urlgenerator_api.jar"/>
	<classpathentry kind="var" path="EP6/com.sap.netweaver.bc.sf/lib/bc.sf.framework_api.jar"/>
	<classpathentry kind="var" path="EP6/com.sap.netweaver.bc.util/lib/bc.util.public_api.jar"/>
	<classpathentry kind="var" path="EP6/com.sap.netweaver.coll.shared/lib/coll.shared.roomobject_api.jar"/>
	<classpathentry kind="var" path="EP6/com.sap.portal.htmlb/lib/com.sap.portal.htmlbbridge.jar"/>
	<classpathentry kind="var" path="EP6/com.sap.portal.htmlb/lib/htmlb.jar"/> 
	<classpathentry kind="var" path="EP6/com.sap.portal.usermanagement/lib/com.sap.security.api.ep5.jar"/> 	
	<classpathentry kind="var" path="EP6/com.sap.netweaver.coll.shared/lib/coll.shared.extension_api.jar"/>
	<classpathentry kind="var" path="EP6/com.sap.netweaver.coll.shared/lib/coll.shared.types_api.jar"/>
	<classpathentry kind="var" path="EP6/com.sap.netweaver.kmc.util/lib/kmc.util.core_api.jar"/>

Where EP6 (Window -> Preferences -> Java -> Classpath Variables

) points to the dir where libs from the portal are (in the portal sysadmin -> support -> prt -> browse deployment -> ROOT/WEB-INF/portal/portalapps (<click>download this folder</click>))

And add


  <application-config>
    <property name="SharingReference" value="htmlb, knowledgemanagement, usermanagement, com.sap.netweaver.coll.appl.room"/>
  </application-config>

Into your portalapp.xml

(not all of these are necessary, but guarantees that the example you talk about will work)

ciao,

ds