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