cancel
Showing results for 
Search instead for 
Did you mean: 

WDP classics: how to use external libraries in DCs

former_member190457
Contributor
0 Kudos

Hi everybody,

I know this topic has been covered several times, however I am unable to find infos actually consistent with my AS version. I am on both 7.0 sp13 (my on board AS) and 7.0 sp14 (customer's). no NWDI involved yet.

this excellent [blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/9517] [original link is broken] [original link is broken] [original link is broken]; is be based on CE7.1, others date back to 2006 and I couldn't have their suggestion working.

I would like to get first person experiences from those who made it in a similar environment (>= 7.0 sp 13)

Thanks

Vincenzo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I am also on 7.0 SP 13.

I used method in the following blog & its working for me:

/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro

Regards,

Apurva

former_member190457
Contributor
0 Kudos

Hi, thanks for replying

I used exactly that procedure but ClassNotFound was raised, I'll try again maybe I left something out

Vincenzo

former_member190457
Contributor
0 Kudos

Hi, I checked again to no use. I'm on NWDS 7.0.09

I had to do it the hard way, procedure follows.

Create external library as per blog.

Create two public parts (API and SDA).

build

Create J2EE library as per blog.

Add to used DCs both external lib's API_pp and SDA_pp: buildtime and runtime dependency - strong

build

ignore warnings such as: runtime dependency ignored

the .sda does not have any .jar inside

open the .sda in the file system path or directly from NWDS

add your .jar to the server directory inside the .sda

in server/provider.xml replace the line:

</jars>

with

<jars>

<jar-name>it.sap.mycustomer.myproject.jar</jar-name>

</jars>

do not build or you will lose your little tricky .sda editing

deploy from NWDS as usual

set WDP DC dependency as per blog (used DC + WDP references settings)

Hope this save some time to others...

If some one know how to do this without manual editing please let me know

Best regards

Vincenzo

Answers (1)

Answers (1)

Stefan-EA
Contributor
0 Kudos

Would be great if someone could update the blog.

former_member190457
Contributor
0 Kudos

Hi,

be warned that I am now experiencing [this|; problem, so my procedure is not so bullet proof.

Check that thread for updates.

Best regards

Vincenzo