]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.launcher/src/main/java/org/argeo/slc/ant/AntConstants.java
Introduce org.argeo.slc.lib.detached
[gpl/argeo-slc.git] / runtime / org.argeo.slc.launcher / src / main / java / org / argeo / slc / ant / AntConstants.java
1 package org.argeo.slc.ant;
2
3 public interface AntConstants {
4 // ANT
5 /** The Ant reference to the Spring application context used. */
6 public static final String REF_ROOT_CONTEXT = "slcApplicationContext";
7 /** The Ant reference to the SLC structure registry used. */
8 public static final String REF_STRUCTURE_REGISTRY = "slcStructureRegistry";
9 /** The Ant reference to the <code>TreePath</code> of the current project */
10 public static final String REF_PROJECT_PATH = "slcProjectPath";
11 /**
12 * Resource path to the property file listing the SLC specific Ant tasks:
13 * /org/argeo/slc/ant/taskdefs.properties
14 */
15 public static final String SLC_TASKDEFS_RESOURCE_PATH = "/org/argeo/slc/ant/taskdefs.properties";
16 /**
17 * Resource path to the property file listing the SLC specific Ant types:
18 * /org/argeo/slc/ant/typedefs.properties
19 */
20 public static final String SLC_TYPEDEFS_RESOURCE_PATH = "/org/argeo/slc/ant/typedefs.properties";
21 public static final String REF_SLC_EXECUTION = "slcExecution";
22
23 // SLC EXECUTION
24 public static final String EXECTYPE_ANT = "org.apache.tools.ant";
25 public static final String EXECTYPE_SLC_ANT = "org.argeo.slc.ant";
26
27 public final static String EXECATTR_RUNTIME = "slc.runtime";
28 public final static String EXECATTR_ANT_FILE = "ant.file";
29 public final static String EXECATTR_ANT_TARGETS = "ant.targets";
30
31 // PROPERTIES
32 /** Property for the root dir (SLC root property file). */
33 public final static String ROOT_DIR_PROPERTY = "slc.rootDir";
34 /** Property for the conf dir (SLC root property file). */
35 public final static String CONF_DIR_PROPERTY = "slc.confDir";
36 /** Property for the work dir (SLC root property file). */
37 public final static String WORK_DIR_PROPERTY = "slc.workDir";
38 /** Name of the Spring bean used by default */
39 public final static String DEFAULT_TEST_RUN_PROPERTY = "slc.defaultTestRun";
40
41 /** Property for the runtime to use. */
42 public final static String RUNTIME_PROPERTY = "slc.runtime";
43
44 // LOG4J
45 public final static String MDC_ANT_PROJECT = "slc.ant.project";
46
47 }