\r
public class SlcExecutionBuildListener extends AppenderSkeleton implements\r
ProjectRelatedBuildListener {\r
- public static final String ANT_TYPE = "org.apache.tools.ant";\r
- public static final String SLC_ANT_TYPE = "org.argeo.slc.ant";\r
-\r
- public static final String REF_SLC_EXECUTION = "slcExecution";\r
-\r
private Project project;\r
\r
// to avoid stack overflow when logging for log4j\r
}\r
\r
SlcExecution slcExecution = (SlcExecution) project\r
- .getReference(REF_SLC_EXECUTION);\r
+ .getReference(SlcAntConstants.REF_SLC_EXECUTION);\r
if (slcExecution == null)\r
throw new SlcAntException("No SLC Execution registered.");\r
\r
+ " not consistent with listener project " + project);\r
\r
SlcExecution slcExecution = (SlcExecution) project\r
- .getReference(REF_SLC_EXECUTION);\r
+ .getReference(SlcAntConstants.REF_SLC_EXECUTION);\r
\r
if (slcExecution == null)\r
throw new SlcAntException("No SLC Execution registered.");\r
\r
try {\r
SlcExecution slcExecution = (SlcExecution) project\r
- .getReference(REF_SLC_EXECUTION);\r
+ .getReference(SlcAntConstants.REF_SLC_EXECUTION);\r
if (slcExecution != null) {\r
if (currentStepNotified) {\r
slcExecution.getSteps().add(\r