cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a LIb file using NWDS

Former Member
0 Kudos

Hi,

can anyone please guide me how to create a library file , we are using NWDI for our development purpose.The objective is to put all jars file inside one component and then use them globally.

I have posted the same in portal forum , points will be rewarded for any help which is provided.

Rakesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rakesh,

Please have a look at the following link.

http://help.sap.com/saphelp_nw70/helpdata/en/ee/6ede3f7bc1eb06e10000000a1550b0/frameset.htm

Thanks

Pankaj

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Check this blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2361. [original link is broken] [original link is broken] [original link is broken]

Regards

Ayyapparaj

former_member751941
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Rakesh,

Do the following steps:

1. Create an External Library DC with NWDS.

2. Put all the jar files in the 'libraries' folder of th DC.

3. Create two public parts for the DC.

3.1 Right click each jar file and select 'Development Component' -> 'Add to public part'.

3.2 NWDS will prompt to create a public part. Give a name for the public part and select the first option ('Provides an API for developing/compiling other DCs')

3.3 Click finish.

4. After finishing step3 for all jars, again right click on each jar and select 'Development Component' -> 'Add to public part'.

5. A new dialaog box will be opened, prompting to select a public part or to create a public part.

6. Create a new public part, but this time select the second option ('Can be packaged into other build results')

7. Add all subsequent to jar files to this new public part.

8. Once finished build the DC.

9. Now create a J2EE Server Component-> Library DC.

10. Go to 'DC MetaData->DC Definition-> Used DCs'

11. Right click 'Used DCs' and select 'Add used DC'.

12. Select the two public parts of the External DC created earlier.

13. Build and Deploy the new DC.

Now to access the jar files in any components, just add the public part of the J2EE server library DC to other components.

Thanks and Regards,

Shabeer.