Skip to Content
avatar image
Former Member

development component for UME usage in WebDynpro

Hi,

We develop several WebDynpros using the UserMappingService. Those WebDynpros are checked into the NWDI. Local builds are fine since we copied the relevant jar files into the project and referenced them in the classpath.

Builds in the NWDI fail because there the jar files for UME (com.sap.portal.usermapping.jar, com.sap.portal.usermappingapi.jar) are missing. Is there a development component we can reference so that the build infrastructure is able to find the jar files when trying to build the project?

Or am i supposed to put those jars into a library development component? This would us make prone to changes in the API since we keep our servers and developer machines at the same SPS.

kind regards

Dirk

PS: we use EP 6 SPS 18 and NWDS 2.0.18 for development and production.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 06, 2006 at 05:22 PM

    Did you use a reference in your web dynpro? Check out /thread/128791 [original link is broken] also may be useful.

    Regards,

    Christophe

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Christophe,

      i considered putting those jars into a library DC but beforehand i wanted to know whether there was such a component that i was not aware of.

      Yes i read the document about how to develop with UME.

      Which reference do you mean? A sharing reference as indicated in the projects properties dialog under webdynpro references rightmost tab (sharing references) or a reference as in used DCs?

      I think since i want to reference the libraries the way to go is to create a library DC and put those jars in there so that they can be referenced at build time in the JDI.

      regards

      Dirk

  • avatar image
    Former Member
    Dec 06, 2006 at 05:50 PM

    Hi,

    If u r using DC for ur development then the jar file should not be added in the build path because it will be removed at build time.

    For adding ur libraries u should be using an external library component. Expose this library file as public part. This is only a buildable component.

    For deploying this library in the server u should create a new J2EE library component and in this used DC add the exposed public part. Deploy this application.

    Finally in the Main component used DC add the External library component and in the references of ur project give the j2ee library component.

    For reference see valery's blog

    <a href="/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro External Jars in DC</a>

    - Hope it helps,

    Nagarajan.

    Add comment
    10|10000 characters needed characters exceeded