Hi everyone, I got the similar problem as Yoav Gur's on compiling IRoom API when I make a test program in DynPage sub class to retrieve my room's name. The method for retrieving names is the example
retrieveJohnsRoom()
in the article Collaboration Room EP 6.0 SP3 API Cookbook.
I have read the message on IRoom API posted by Yoav Gur on 10/27/04 and replies from Detlev Beutner and Dimitry Surkov. I do not get it on put
<claspathentry ..../>
into your .classpath.
In my case I got all relevant jar files and added them to the project on my local computer and also add
<application-config> <property name="SharingReference" value="htmlb,.., com.sap.netweaver.coll.appl.room"/> <property name="ServiceReference" value="com.sap.netweaver.coll.shared, com.sap.netweaver.kmc.util,com.sap.netweaver.bc.sf"/> </application-config>
in portalapp.xml
when I build the project I got
<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.
This compilation unit indirectly references the missing type com.sap.ip.collaboration.room.api.template.IRoomRole (typically some required class file is referencing a type outside the classpath)
</b>
my current classpath: ECLISPE_HOME-C:\Documents and Settings\...\...\...\eclipse
my Eclipse 2.1, our EP 6.0 sp2 p27.
How to solve this problem ? Something missing ? Thanks for early reply.
BR.
Wang
Hi, I have copied the folder and its sub folders to my local drive c. Now the path is C:\portal\portalapps\com.sap.netweaver.coll.shared\lib...
Then I define POETAL_HOME = C:\portal, and add the variables
PORTAL_HOME/portalapps/com.sap.netweaver.kmc.util/lib/kmc.util.core.api.jar PORTAL_HOME/portalapps/com.sap.netweaver.coll.shared/lib/ coll.shared.extension_api.jar PORTAL_HOME/portalapps/com.sap.netweaver.coll.shared/lib/ coll.shared.roomobject_api.jar
Then build the project and I got the same error message. Help please. Thanks.
BR.
Wang
Add a comment