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