Skip to Content
author's profile photo Former Member
Former Member

compile problem when using IRoom API

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 17, 2005 at 12:06 PM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.