cancel
Showing results for 
Search instead for 
Did you mean: 

development component for UME usage in WebDynpro

0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Regards,

Christophe

0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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.