Compiling the Phase 4 Implementation
To compile the Phase 4 implementation, perform the following:

Disable the
WmSampleAdapter and
MyWmSampleAdapter packages.
Important:
The WmSampleAdapter and MyWmSampleAdapter packages have the same adapter major code and conflict with each other if they are not disabled.

Copy all the source code from the
WmSampleAdapter\code\sourcePhase4 directory to the
MyWmSampleAdapter\code\source directory.

Restart
Integration Server.
Note:
On running the command jcode makeall MyWmSampleAdapter, if the error \code\source\com\wm\adapter\wmSampleAdapter\util\DocumentHelper.java uses unchecked or unsafe operations. Recompile with -Xlint:unchecked for details. appears, perform the following:
1. Check if the classes for all Java files are created in code\classes directory.
2. If the classes are created, ignore the error and run the command: jcode fragall MyWmSampleAdapter
3. If the classes are not created, redo the steps.