1 | /*
|
---|
2 | * Copyright 2001-2004 The Apache Software Foundation
|
---|
3 | *
|
---|
4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
---|
5 | * you may not use this file except in compliance with the License.
|
---|
6 | * You may obtain a copy of the License at
|
---|
7 | *
|
---|
8 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
9 | *
|
---|
10 | * Unless required by applicable law or agreed to in writing, software
|
---|
11 | * distributed under the License is distributed on an "AS IS" BASIS,
|
---|
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
---|
13 | * See the License for the specific language governing permissions and
|
---|
14 | * limitations under the License.
|
---|
15 | *
|
---|
16 | */
|
---|
17 |
|
---|
18 | package org.apache.tools.ant.taskdefs;
|
---|
19 |
|
---|
20 |
|
---|
21 |
|
---|
22 | /**
|
---|
23 | *
|
---|
24 | * Adds a data type definition to the current project.
|
---|
25 | * Two attributes are
|
---|
26 | * needed, the name that identifies this data type uniquely, and the full
|
---|
27 | * name of the class (including the packages) that implements this
|
---|
28 | * type.
|
---|
29 | * <p>You can also define a group of data types at once using the file or
|
---|
30 | * resource attributes. These attributes point to files in the format of
|
---|
31 | * Java property files. Each line defines a single data type in the
|
---|
32 | * format:</p>
|
---|
33 | * <pre>
|
---|
34 | * typename=fully.qualified.java.classname
|
---|
35 | * </pre>
|
---|
36 | * <p>Typedef should be used to add your own types to the system. Data
|
---|
37 | * types are things likepaths or filesets that can be defined at
|
---|
38 | * the project level and referenced via their ID attribute.</p>
|
---|
39 | * <p>Custom data types usually need custom tasks to put them to good use.</p>
|
---|
40 | *
|
---|
41 | * @since Ant 1.4
|
---|
42 | * @ant.task category="internal"
|
---|
43 | */
|
---|
44 | public class Typedef extends Definer {
|
---|
45 | }
|
---|