cancel
Showing results for 
Search instead for 
Did you mean: 

JAR is removed automatically when building DC

Former Member
0 Kudos

Hi,

I have a Background Callable object that uses JCo. This required the inclusion of the com.sap.mw.jco/sapjco.jar. I set it on the build path and there is no problem with the program.

The moment I try to build the DC, the JAR is removed from the build path and I get the error that the component could not be built because of errors (the errors come because the jar is removed).

Why does NetWeaver Developer Studio do this? I also found SAP Note 935334 which talks about the problem and offers a patch for download. But when I try to download it, I get the message "No Deliverable Objects for the logged on user".

Is there any workaround for this?

Thanks,

Sameer

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sameer,

Set the "com.sap.mw.jco/sapjco.jar" dependencies to the build time and select the option of packaged as an SDA when adding the used DC's.

This will solve your problem.

@ Suresh T : what you are posing in this respect is

irrelevant.

Regards

Amit

Message was edited by:

Amit Kesari

Former Member
0 Kudos

Hi Amit,

Bullseye I had the settings set to just run time and didn't notice it.

Thanks again Amit.

Sameer

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Check this url and you will get some solutions regarding your querry

http://help.sap.com/saphelp_nw04/helpdata/en/08/0f0e4d1ffece4d8b9c5b84793aac50/frameset.htm

regards

Chandran

Former Member
0 Kudos

Hi sameer,

check this thread.... this may help u..

https://www.sdn.sap.com/irj/sdn/forums

Regards,

Arun

Former Member
0 Kudos

Hi,

Dc will run in JDK1.4 only, it does not run in higher version like JDK1.5,JDK1.6 etc,

1)Install JDK1.4

2)In Desktop,Right click the NWDS then select the tab shortcut

3)In Target--->set your JDK1.4 path

example like this,

"C:\Program Files\SAP\IDE\IDE70\eclipse\SapIde.exe" -vm "C:\j2sdk1.4.2_14\bin\javaw.exe"