cancel
Showing results for 
Search instead for 
Did you mean: 

Everytime need to add jxl.jar before rebuilding the project

Former Member
0 Kudos

Hello,

Everytime I have to add jxl.jar in the workspace before rebuilding the project as its path is lost.

Is there any way out to resolve this problem??

Thanks n Regards,

Mandeep

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi..

If you want to add external jar files ...

and If your WD components are in DCs then you may simply solve the problem by creating External Library DCs and as usual, create a public part out of it and add to the dependencies of your WD DC.

Follow the following steps to create an External library and adding it to your dependent DC

1)Go to File->New->Developmentcomponent

2)In Window opened select Mycomponents and click Next

3)In the Window opened Give Name(for example ExcelLib) for external library and select Type as External Library

4)Click on Finish

The External Library created is visible in Navigator perspective but not in WebDynpro Explorer perspective

5)In the folder libraries of the externallibrary(ExcelLib) you paste the jar file (jxl.jar).

6)Right Click on the jarfile that you have added in the libraries folder of the External Library ,go to Developcomponent -


>add to public part

7)In the widow opened give the some name for puplic part and say ok

8)Now Right click on the ExternaleLibrary ,Goto DevelopmentComponent --->build

After build is completed this External Library Dc can be used by other DC As

Used WebDynpro Components ..where the jar file features ca be accessed

Regards

Madhavi

siddharth_jain
Active Contributor
0 Kudos

Hi,

Are you using NWDI ,If yes then in this case you have to refer jxl .jar in WD Dc through used dc to avoid adding the jar in Build path everytime.

Siddharth

Former Member
0 Kudos

You need not necessarily have an NWDI in place. If your WD components are in DCs then you may simply solve the problem by creating External Library DCs and as usual, create a public part out of it and add to the dependencies of your WD DC. You may refer [this|http://help.sap.com/saphelp_nw04s/helpdata/en/46/3ce3e4df201d63e10000000a11466f/frameset.htm] one for details.

Bala

former_member197348
Active Contributor
0 Kudos

Hi Mandeep,

This problem may occur because of memory issues. May be too many projects are opened in your workspace. Try like this.

Close remaining projects , add jxl.jar and build the project.

Or you can try by creating new workspace also.

Regards,

Siva

Former Member
0 Kudos

Hi,

The jar might not be getting saved on WAS.Go to visual Administrator of application server,where you are deploying project and check whether the jar is saved there or not.

Regards

Prajakta