DekGenius.com
Previous Section  < Day Day Up >  Next Section

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.

    Previous Section  < Day Day Up >  Next Section