`%build` section uses `ant` command to build the project and run the tests. The used target(s) may vary depending on the `build.xml` file. You can use `ant -p` command to list the project info or manually look for `<target>` nodes in the `build.xml` file