Skip to Content

Unbound KMC_LIBS path

Hi,

I'm trying to rebuild the project I downloaded from:

"Implementing a Metadata Extension for KMC Properties"

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/implementing a metadata extension for kmc properties.article

but when I try to rebuild it using "Project > Rebuilt Project" I get an error on the KMC_LIBS Java path (same reason I can't create a PAR file):

Error The project was not built due to classpath errors (incomplete or involved in cycle)

Error Unbound classpath variable:'KMC_LIBS/someJAR'

...

The "ECLIPSE_HOME/someJAR" were included successfully.

Does anyone know how to set the right path to this KMC_LIBS path? I'm using Netweaver Developer Studio 2.0.9.

Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Oct 06, 2005 at 09:48 AM

    Hi Luc,

    Obviously, Thilo has some directory where he has downloaded all KMC stuff into and uses this classpath variable. But you havn't 😊

    Hopefully, you have downloaded the whole stuff under WEB-INF/portal/portalapps (or more up the path). Or have a local portal installation.

    Then you could:

    a) Delete these

    <classpathentry kind="var" path="KMC_LIBS/...

    entries from the .classpath file

    b) create a classpath variable PORTAL, pointing to the folder given above (or directly to the WEB-INF)

    c) use ClassLocator - http://sourceforge.net/projects/classlocator - to create the .classpath entries needed; watch the doc for ClassLocator how to use it (first, you'll have to index all JARs possibly needed).

    Hope it helps

    Detlev

    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 06, 2005 at 09:50 AM

    OK, I found it myself.

    If anyone has the same problem:

    Just download the PDK Jars from the portal. Open the "Java Developer" role in the portal and choose PDK Jars Download. Download the netweaverlibraries.zip, extract it and link them in the preference pane from your NDS.

    Good luck!

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Luc,

      that's another approach; for these are only a (small) part of the portal installation, for general development purposes I would always advise to go the way described above.

      Hope it helps

      Detlev

  • Oct 06, 2005 at 09:51 AM

    Detlev,

    Thanks for your help! Found the problem when you were replying though...

    Add comment
    10|10000 characters needed characters exceeded