Compiling the Phase 4 Implementation
To compile the Phase 4 implementation, perform the following:
![*](chapterTOC_bullet.png)
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.
![*](chapterTOC_bullet.png)
Copy all the source code from the
WmSampleAdapter\code\sourcePhase4 directory to the
MyWmSampleAdapter\code\source directory.
![*](chapterTOC_bullet.png)
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.