cancel
Showing results for 
Search instead for 
Did you mean: 

adding external jar is not possible

Former Member
0 Kudos

Dear All!

I get the message "package org.de.mYFramework does not exist". I have added an external

*:jar into DC's Libraries through rightklick on the DC / Properties /Java BuildPath /Libraries.

Is it not possible to add jars ? What is wrong here. Maybe they must be placed

in special location ??

Please help.

regards

sas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Atul,

thank you for your hint.

Can you pls guide me through the menu in order to

create an External Library DC in a software component.

I have never did it before. Please notice I'm using NWDS

7.0.09.

Bye

sas

ThatSAPGuy
Advisor
Advisor
0 Kudos

Sas-

You develop External Library DCs when you use the NWDI for development and want to use a function that is available to you only as a JAR file. To do that you have to:

1. Create a new DC of type External Library

2. Create a public part of type Compilation and add the JAR file as a public part entity.

3. Create another public part of type Assembly. Add these JAR files as a public part entity.

4. Put the JAR file into the public part.

You can now wrap this public part into another DC type and make it available on the server. Other DCs then refer to the wrapped DC and not to the External Library. After the build, you can use the new DC just like any other DC. You can use it either separately or combine several External Library DCs into a software component.

Cheers-

Atul

Former Member
0 Kudos

Hi,

This blog will help you in creating external /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro

Regards

Ayyapparaj

Answers (3)

Answers (3)

ThatSAPGuy
Advisor
Advisor
0 Kudos

Sas-

You will have to first create an External Library DC in your software component. Add your JAR to this DC. Then create a public part in this DC for the JAR. Now in your Web Dynpro DC add this public part as a Used DC and you should be in business.

Cheers-

Atul

Former Member
0 Kudos

I'm sorry I 'm working with 7.0.09.

I dont have

dc metadata-dc defintion-used dcs-add jar file

I have only

dc metadata-dc defintion-used dcs-add used DC

I'm sorry but WebDynpro is worst thing that I have had ever seen.

I can't create a method with throws statement I can't create

a class with implements Clonable even I can' t add a simple jar.

It costs so much time and nothing happens at the end.

These mentioned things are elmentary for Java developing

bye

sas

Edited by: erdem sas on Feb 23, 2008 7:19 PM

Former Member
0 Kudos

try with this option

dc metadata-dc defintion-used dcs-add jar file

xxxxxxxxxxx

Edited by: Armin Reichert on Feb 23, 2008 6:25 PM