Recipe 7.6 Setting Types and Global Properties


7.6.1 Problem

You want to create tasks and types for an Ant build, or set global Ant properties.

7.6.2 Solution

Select Window Preferences Ant Runtime, and click the Tasks, Types, or Properties tabs.

7.6.3 Discussion

If you click the Tasks and Types tabs, you can add new Ant tasks and types. Those tasks and types then will be available to build files without having to use Ant <taskdef> or <typedef> elements. Eclipse also enables you to set global Ant properties, across all projects, if you click the Properties tab in this dialog. To add a new global property, just click the Add button in the Properties tab, and enter a name and value for the new property.

Eclipse Cookbook
Inside XML (Inside (New Riders))
ISBN: 596007108
EAN: 2147483647
Year: 2006
Pages: 232
Authors: Steve Holzner

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: