Go to the directory INSTALL/registry-samples/publish-extrinsic.
Type the following command:
Ant-base/ant run