cancel
Showing results for 
Search instead for 
Did you mean: 

unable to get create_SDA.bat file for custom adapter development.

Former Member
0 Kudos

Hi ,

I am working on custom adapters development following the PDF(SOA361-how to develop an adapter in SAP Netweaver PI) about using Sample Adapter .

In section where we will create the SDA file and deploy it to the J2EE server.

The create_SDA.bat file is unavailable , How can I get that file.

Regards,

Syed.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Stefan,

Thanks for the reply..

In this case we dont need create_SDA.bat file ?

Regards,

Syed.

stefan_grube
Active Contributor
0 Kudos

> In this case we dont need create_SDA.bat file ?

Use Notepad, create a text file, put the content that I have provided and save it as create_SDA.bat

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Stephan,

The path was not set correctly so it was giving the error while creation of jar file..

Regards,

Syed

Edited by: Umar Syed on Jan 2, 2009 10:02 AM

stefan_grube
Active Contributor
0 Kudos

This is the original content. Adjust it to your needs.

set PATH=C:\j2sdk1.4.2_11\bin;%PATH%
REM Create jar file
cd ..\AdapterZIP
jar cvf ..\AdapterZIP_RAR\zip_ra.jar *.xml  com\test\zip\adapter\ra\*.*
REM Create rar file
cd ..\AdapterZIP_RAR
jar cvf ..\AdapterZIP_SDA\zip_ra.rar *.jar  META-INF\*.*
cd ..\AdapterZIP_SDA
jar cvf zip_ra.sda *.rar  META-INF\*.*
pause