cancel
Showing results for 
Search instead for 
Did you mean: 

reference another lib for library DC.

Former Member
0 Kudos

Hi *.

I am busy developing a j2ee library DC.

I now want to add a reference to another standard sap j2ee library to this DC.

Does anybody know how to do this?

Rodney

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Create a provider.xml file in a new folder called 'server' in your DC's file structure with the following contents:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE provider-descriptor SYSTEM 'library.provider.dtd'>

<provider-descriptor>
    <display-name>
      j2eelib
    </display-name>
    <component-name>
      j2eelib
    </component-name>
    <major-version>6</major-version>
    <minor-version>40</minor-version>
    <micro-version>0</micro-version>
    <provider-name>
      sap.com
    </provider-name>
    <references>
    </references>
    <jars>
    </jars>
</provider-descriptor>

Modify the properties as required using the special editor assigned to 'provider.xml' files. You can use the 'references' section for references to other libraries/services.

Former Member
0 Kudos

Thanks Pascal.

I did a bit a reverse programming eventually. I edited the provider.xml file in the generated sda file and repacked it into the sda.

I wonder why SAP do not expose any public parts in their libraries.

Rod

Former Member
0 Kudos

Please mark the question as answered (if that's the case).

Answers (2)

Answers (2)

Former Member
0 Kudos

Error

Former Member
0 Kudos

Hi Rodney,

Create external lIbrary DC and Expose the public parts. Add this Dc as used in other DC

Regards

Praveen