Skip to Content
author's profile photo Former Member
Former Member

DTR dependency problem

My problem is as follows:

1)I have created a java DC which contains several classes.

2)In that DC’s public part, I have created an assembly (by choosing “Can be packaged into other…”) which exposes all of the classes.

3)I have created a second DC which is a WebDynpro DC.

4)In the WebDynpro DC I have declared the 1st DC as a “used DC”.

5)I have built and deployed the Webdynpro DC – this part works fine. However, when we run the webdynpro I get an error that states that the classes from the JAVA DC are not known to the Webdynpro.

I think that the problem might be that the .jar files are not packaged into the webdynpro .ear file as a result of a bug in the ANT script that is generated in order to package this .ear file.

I have created a second scenario which uses a J2EE Enterprise Application instead of the WebDynpro. This project too results in an .ear file but this time the .ear DOES include the classes from the JAVA DC.

Furthermore, I have looked at the build.xml files of both the projects (the webdynpro DC and the Enterprise Application DC). While the Enterprise Application’s build.xml contains the line:

<copy todir="C:\Documents and Settings\I029211\.dtc\POCCAF\t\644CC03E11A2633C5526B12EC82461DB/jars">

<mapper type="flatten"/>\xapps\poc\common\_comp\gen\default\public\CommonDataObjects\">

<include name="lib/java/."/>


Which is responsible for bundling .jars into the .ear file, the WebDynpro’s script contains no such line (or anything similar).

That leads us to the conclusion that the problem might be in the generation of the ANT script of the WebDynpro project.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 06, 2004 at 06:09 AM

    Did u try adding the referenced DC project name(in the format of <provider name>/<application name>) in the sharing references of the second webdynpro DC? I suppose this should solve the problem.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.