KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > tools > ant > MagicNames


1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */

18 package org.apache.tools.ant;
19 import org.apache.tools.ant.launch.Launcher;
20
21 /**
22  * Magic names used within Ant.
23  *
24  * Not all magic names are here yet.
25  *
26  * @since Ant 1.6
27  */

28 public final class MagicNames {
29
30     private MagicNames() {
31     }
32
33     /**
34      * prefix for antlib URIs:
35      * {@value}
36      */

37     public static final String JavaDoc ANTLIB_PREFIX = "antlib:";
38
39     /**
40      * Ant version property. {@value}
41      */

42     public static final String JavaDoc ANT_VERSION = "ant.version";
43
44     /**
45      * System classpath policy. {@value}
46      */

47     public static final String JavaDoc BUILD_SYSCLASSPATH = "build.sysclasspath";
48
49     /**
50      * The name of the script repository used by the script repo task
51      * Value {@value}
52      */

53     public static final String JavaDoc SCRIPT_REPOSITORY = "org.apache.ant.scriptrepo";
54
55     /**
56      * The name of the reference to the System Class Loader
57      * Value {@value}
58      **/

59     public static final String JavaDoc SYSTEM_LOADER_REF = "ant.coreLoader";
60
61     /**
62      * Name of the property which can provide an override of the repository dir
63      * for the libraries task
64      * Value {@value}
65      */

66     public static final String JavaDoc REPOSITORY_DIR_PROPERTY = "ant.maven.repository.dir";
67     /**
68      * Name of the property which can provide an override of the repository URL
69      * for the libraries task
70      * Value {@value}
71      */

72     public static final String JavaDoc REPOSITORY_URL_PROPERTY = "ant.maven.repository.url";
73
74     /**
75      * name of the resource that taskdefs are stored under
76      * Value: {@value}
77      */

78     public static final String JavaDoc TASKDEF_PROPERTIES_RESOURCE =
79             "/org/apache/tools/ant/taskdefs/defaults.properties";
80     /**
81      * name of the resource that typedefs are stored under
82      * Value: {@value}
83      */

84     public static final String JavaDoc TYPEDEFS_PROPERTIES_RESOURCE =
85             "/org/apache/tools/ant/types/defaults.properties";
86
87     /**
88      * Reference to the current Ant executor
89      * Value: {@value}
90      */

91     public static final String JavaDoc ANT_EXECUTOR_REFERENCE = "ant.executor";
92
93     /**
94      * Property defining the classname of an executor.
95      * Value: {@value}
96      */

97     public static final String JavaDoc ANT_EXECUTOR_CLASSNAME = "ant.executor.class";
98     /**
99      * property name for basedir of the project
100      * Value: {@value}
101      */

102     public static final String JavaDoc PROJECT_BASEDIR = "basedir";
103     /**
104      * property for ant file name
105      * Value: {@value}
106      */

107     public static final String JavaDoc ANT_FILE = "ant.file";
108
109     /**
110      * Property used to store the java version ant is running in.
111      * @since Ant 1.7
112      */

113     public static final String JavaDoc ANT_JAVA_VERSION = "ant.java.version";
114
115     /**
116      * Property used to store the location of ant.
117      * @since Ant 1.7
118      */

119     public static final String JavaDoc ANT_HOME = Launcher.ANTHOME_PROPERTY;
120
121     /**
122      * Property used to store the location of the ant library (typically the ant.jar file.)
123      * @since Ant 1.7
124      */

125     public static final String JavaDoc ANT_LIB = "ant.core.lib";
126
127     /**
128      * property for regular expression implementation.
129      * Value: {@value}
130      */

131     public static final String JavaDoc REGEXP_IMPL = "ant.regexp.regexpimpl";
132
133     /**
134      * property that provides the default value for javac's and
135      * javadoc's source attribute.
136      * @since Ant 1.7
137      * Value: {@value}
138      */

139     public static final String JavaDoc BUILD_JAVAC_SOURCE = "ant.build.javac.source";
140
141     /**
142      * property that provides the default value for javac's target
143      * attribute.
144      * @since Ant 1.7
145      * Value: {@value}
146      */

147     public static final String JavaDoc BUILD_JAVAC_TARGET = "ant.build.javac.target";
148
149     /**
150      * Name of the magic property that controls classloader reuse
151      * @since Ant 1.4.
152      * Value: {@value}
153      */

154     public static final String JavaDoc REFID_CLASSPATH_REUSE_LOADER = "ant.reuse.loader";
155
156     /**
157      * Prefix used to store classloader references.
158      * Value: {@value}
159      */

160     public static final String JavaDoc REFID_CLASSPATH_LOADER_PREFIX = "ant.loader.";
161
162     /**
163      * Reference used to store the property helper
164      * Value: {@value}
165      */

166     public static final String JavaDoc REFID_PROPERTY_HELPER = "ant.PropertyHelper";
167
168 }
169
170
Popular Tags