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