on 03-17-2005 8:34 PM
Hello,
I am trying to import the example of KMC from this link:
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/developing a search component for km search iview.article
The example is using these APIs:
com.sapportals.wcm.control.util.search.*
com.sapportals.wcm.service.indexmanagement.*
The problem is that I cant find these packages at the NW Developer Studio. Can someone help me locate it please?
Hi Roy,
Thilo Brandt has written an excellent article about Java development in the KM, it can be found here;
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/java development with the kmc platform.pdf
It was Thilo who wrote the article that you are working with right now.
The article I've pointed you to shows that you must go portal server side to get the required libraries.
Go to your portal installation and copy (to your client) all library folders with the names:
com.sap.km.*
com.sap.netweaver.bc.*
com.sap.netweaver.coll.*
that'll give you all the KM libraries locally.
Page 28 of the article I mentioned shows this with a nice picture.
I hope it helps.
Patrick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roy,
I am too implementing same example and I need JARs following classes :-
com.sapportals.wcm.service.indexmanagement
com.sapportals.wcm.control.released.search
com.sapportals.wcm.service.indexmanagement.retrieval.search
I have copied entire portalapps folder to my local machine.
Can you please tell me where exactly JARs for above classes is located? Here there are numerous folder and sub-folders?
Thanks and regards,
Amey Mogare
Hi Roy,
Get a copy of this plugin:
http://sf.gds.tuwien.ac.at/00-cat/loc/classlocator/
It is an <i>extreemly</i> useful tool to have.
Hope it helps.
Cheers
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have you tried looking in this folder
C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.km.rfwizard\lib
I am sorry it's not there but i have found the jars that have it.
km.shared.ui.util_api.jar and km.shared.service.indexmanagement_api.jar
email me at singhpra@hotmail.com. I will send it to you. thank you.
Message was edited by: Prakash Singh
Message was edited by: Prakash Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roy,
This is a class locator. Its not required but it indexes all your jar files so when you need to find a jar all you need to do in NWDS is right click on the required import (Found by looking at the properties of a package error in NWDS) then select locate. It then looks up where the jar file for the import might be, you choose the one you want and it adds the jar to the build path and resolves the compile problem reported.
Saves you a lot of time locating jar files...
Give it a go, you won't look back.
Cheers
Daniel
Hi Prakash,
I am too implementing same example and I need JARs following classes :-
com.sapportals.wcm.service.indexmanagement
com.sapportals.wcm.control.released.search
com.sapportals.wcm.service.indexmanagement.retrieval.search
I have copied entire portalapps folder to my local machine.
Can you please tell me where exactly JARs for above classes is located? Here there are numerous folder and sub-folders?
Thanks and regards,
Amey Mogare
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.