Skip to Content
avatar image
Former Member

Webdynpro DC dependency

Hello,

I have 2 webdynpro DC. One DC (DC1) uses API of Another DC (DC2).

I have created api public part in DC2, added sharing reference in DC1 on DC2.

But it doesn't work. The class is not found.

The only solution I found to add build public part to DC2. In this case DC1 contains jar file of DC2.

Is there another solution without build public part?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 18, 2007 at 12:35 PM

    To moderator: please delete this topic I think Web Dynpro Java forum is more appropriate.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 18, 2007 at 01:22 PM

    Hi Denis,

    what exactly do you mean by "build" public part? The terminology can be a bit confusing, but if you look at the def/<ppname>.pp file you can see a <purpose> tag. This should be either "compilation" (API) or "assembly".

    If the jar file from DC2 was added to DC1 you have a dependency on an "assembly" public part, either by referencing that public part explicitly or if you have a build-time dependency that points to the DC itself without a specific public part.

    You should probably have a runtime-dependency from DC1 to DC2 (irrelevant on 6.40, but in 7.00 you may get a warning if you have the sharing reference but no runtime-dependency) and a build-time dependency from DC1 to the API public part of DC2.

    Regards,

    Marc

    Add comment
    10|10000 characters needed characters exceeded