To compile the Phase 4 implementation (the WmSampleAdapter4 package), use the procedure in
Compiling the Phase 1
Implementation, substituting each occurrence of WmSampleAdapter1 with WmSampleAdapter4, and sourcePhase1 with sourcePhase4.
Important: You must disable the WmSampleAdapter and all WmSampleAdapterN packages before you proceed. All of these packages have the same adapter major code and conflict with each other if they are not disabled.