You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

MagicNames.java 4.8 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. /*
  2. * Copyright 2003-2006 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. package org.apache.tools.ant;
  18. /**
  19. * Magic names used within Ant.
  20. *
  21. * Not all magic names are here yet.
  22. *
  23. * @since Ant 1.6
  24. */
  25. public final class MagicNames {
  26. private MagicNames() {
  27. }
  28. /**
  29. * prefix for antlib URIs:
  30. * {@value}
  31. */
  32. public static final String ANTLIB_PREFIX = "antlib:";
  33. /**
  34. * Ant version property. {@value}
  35. */
  36. public static final String ANT_VERSION = "ant.version";
  37. /**
  38. * System classpath policy. {@value}
  39. */
  40. public static final String BUILD_SYSCLASSPATH = "build.sysclasspath";
  41. /**
  42. * The name of the script repository used by the script repo task
  43. * Value {@value}
  44. */
  45. public static final String SCRIPT_REPOSITORY = "org.apache.ant.scriptrepo";
  46. /**
  47. * The name of the reference to the System Class Loader
  48. * Value {@value}
  49. **/
  50. public static final String SYSTEM_LOADER_REF = "ant.coreLoader";
  51. /**
  52. * Name of the property which can provide an override of the repository dir
  53. * for the libraries task
  54. * Value {@value}
  55. */
  56. public static final String REPOSITORY_DIR_PROPERTY = "ant.maven.repository.dir";
  57. /**
  58. * Name of the property which can provide an override of the repository URL
  59. * for the libraries task
  60. * Value {@value}
  61. */
  62. public static final String REPOSITORY_URL_PROPERTY = "ant.maven.repository.url";
  63. /**
  64. * name of the resource that taskdefs are stored under
  65. * Value: {@value}
  66. */
  67. public static final String TASKDEF_PROPERTIES_RESOURCE =
  68. "/org/apache/tools/ant/taskdefs/defaults.properties";
  69. /**
  70. * name of the resource that typedefs are stored under
  71. * Value: {@value}
  72. */
  73. public static final String TYPEDEFS_PROPERTIES_RESOURCE =
  74. "/org/apache/tools/ant/types/defaults.properties";
  75. /**
  76. * Reference to the current Ant executor
  77. * Value: {@value}
  78. */
  79. public static final String ANT_EXECUTOR_REFERENCE = "ant.executor";
  80. /**
  81. * Property defining the classname of an executor.
  82. * Value: {@value}
  83. */
  84. public static final String ANT_EXECUTOR_CLASSNAME = "ant.executor.class";
  85. /**
  86. * property name for basedir of the project
  87. * Value: {@value}
  88. */
  89. public static final String PROJECT_BASEDIR = "basedir";
  90. /**
  91. * property for ant file name
  92. * Value: {@value}
  93. */
  94. public static final String ANT_FILE = "ant.file";
  95. /**
  96. * Property used to store the java version ant is running in.
  97. * @since Ant 1.7
  98. */
  99. public static final String ANT_JAVA_VERSION = "ant.java.version";
  100. /**
  101. * Property used to store the location of ant.
  102. * @since Ant 1.7
  103. */
  104. public static final String ANT_HOME = "ant.home";
  105. /**
  106. * Property used to store the location of the ant library (typically the ant.jar file.)
  107. * @since Ant 1.7
  108. */
  109. public static final String ANT_LIB = "ant.core.lib";
  110. /**
  111. * property for regular expression implementation.
  112. * Value: {@value}
  113. */
  114. public static final String REGEXP_IMPL = "ant.regexp.regexpimpl";
  115. /**
  116. * property that provides the default value for javac's and
  117. * javadoc's source attribute.
  118. * @since Ant 1.7
  119. * Value: {@value}
  120. */
  121. public static final String BUILD_JAVAC_SOURCE = "ant.build.javac.source";
  122. /**
  123. * property that provides the default value for javac's target
  124. * attribute.
  125. * @since Ant 1.7
  126. * Value: {@value}
  127. */
  128. public static final String BUILD_JAVAC_TARGET = "ant.build.javac.target";
  129. /**
  130. * Name of the magic property that controls classloader reuse
  131. * @since Ant 1.4.
  132. * Value: {@value}
  133. */
  134. public static final String REFID_CLASSPATH_REUSE_LOADER = "ant.reuse.loader";
  135. /**
  136. * Prefix used to store classloader references.
  137. * Value: {@value}
  138. */
  139. public static final String REFID_CLASSPATH_LOADER_PREFIX = "ant.loader.";
  140. /**
  141. * Reference used to store the property helper
  142. * Value: {@value}
  143. */
  144. public static final String REFID_PROPERTY_HELPER = "ant.PropertyHelper";
  145. }