< Day Day Up > |
Recipe 7.10 Using Ant as an External Tool7.10.1 ProblemYou want to run Ant as an external tool. 7.10.2 SolutionSelect Run External Tools External Tools, click Program, click New, and enter the required information to install Ant as an external tool. Then click Run to execute the build file. 7.10.3 DiscussionEclipse can launch and run external tools as easily as internal ones. You can run Ant as an external tool if you want to: select Run External Tools External Tools, click Program, click New, and enter the name you want to give to the external version of Ant. As for the Location field, click Browse File System, and find the correct file for your operating system to run Ant (for example, that's ant.bat in the Ant bin folder in Windows). In the Working Directory field enter the directory of your build file, and enter any arguments you want to pass to Ant in the Arguments directory. Then click Run to execute your build file and perform the build.
7.10.4 See AlsoRecipe 7.5 on using your own version of Ant. |
< Day Day Up > |