Right-click anywhere in the script editor or right-click on the name of the script in the project and select Run as ...

In the submenu select 'Ant build' to run the script as configured. Select 'Ant build ...' to display the 'Edit configuration and launch' dialog and customize the execution of the script by Ant.

If you use buidSimpleBook the Ant dialog allows you to run all tasks or only the selected ones among