]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.agent/src/main/java/org/argeo/slc/ant/AntRegistryUtil.java
Improve Spring/Ant bridge
[gpl/argeo-slc.git] / org.argeo.slc.agent / src / main / java / org / argeo / slc / ant / AntRegistryUtil.java
index e81fb30eb42b69e84b2fdcdd66807395d88c78e1..476384cd2f91051c99f015abde998e63906482c4 100644 (file)
@@ -31,7 +31,7 @@ public class AntRegistryUtil {
                helper.parse(p, antFile);\r
 \r
                StructureRegistry registry = (StructureRegistry) p\r
-                               .getReference(SlcProjectHelper.REF_STRUCTURE_REGISTRY);\r
+                               .getReference(SlcAntConstants.REF_STRUCTURE_REGISTRY);\r
                registry.setMode(StructureRegistry.READ);\r
 \r
                p.executeTarget(p.getDefaultTarget());\r
@@ -53,7 +53,7 @@ public class AntRegistryUtil {
                helper.parse(p, antFile);\r
 \r
                StructureRegistry registry = (StructureRegistry) p\r
-                               .getReference(SlcProjectHelper.REF_STRUCTURE_REGISTRY);\r
+                               .getReference(SlcAntConstants.REF_STRUCTURE_REGISTRY);\r
                registry.setMode(StructureRegistry.ACTIVE);\r
                registry.setActivePaths(activePaths);\r
 \r
@@ -113,7 +113,7 @@ public class AntRegistryUtil {
                        p.executeTarget(target != null ? target : p.getDefaultTarget());\r
                } catch (Throwable e) {\r
                        exception = e;\r
-                       log.error("Exception when running Ant: ",e);\r
+                       log.error("Exception when running Ant: ", e);\r
                } finally {\r
                        p.fireBuildFinished(exception);\r
                }\r