Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Using the Sample Adapter | Phase 1: Creating an Adapter Definition | Compiling the Phase 1 Implementation | Compiling the WmSampleAdapter1 Package
 
Compiling the WmSampleAdapter1 Package
*To compile the WmSampleAdapter1 package
1. Copy all the source code from the WmSampleAdapter\code\sourcePhase1 directory to the WmSampleAdapter1\code\source directory.
Important:
You must maintain the proper subdirectory structure when copying the source code files.
2. Copy the SampleClient.jar file from the WmSampleAdapter\code\jars directory to the WmSampleAdapter1\code\jars directory.
If the WmSampleAdapter1\code\jars directory does not exist, you must create it.
3. Copy all files in WmAdapterSample\pub except index.html to WmSampleAdapter1\pub.
4. Make sure that you have updated your jcode script as described in Prerequisites for Code Compilation.
5. Execute the following commands from a command prompt:
a. jcode makeall WmSampleAdapter1
b. jcode fragall WmSampleAdapter1
6. Go to Integration Server Administrator > Package > Management and reload the WmSampleAdapter1 package.