]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/deploy/VersionedDirSync.java
Move default agent to execution package
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / core / deploy / VersionedDirSync.java
index b1d77fff958733a2238bfe6276ad3f53bd5a429c..13d254366b274b53d236136562abe271cb5b8bcc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2012 Mathieu Baudier
+ * Copyright (C) 2007-2012 Argeo GmbH
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -42,6 +42,7 @@ public class VersionedDirSync implements Runnable {
                changed = null;
                if (clean) {
                        try {
+                               log.info("Clean " + dir);
                                FileUtils.deleteDirectory(dir);
                        } catch (IOException e) {
                                throw new SlcException("Cannot delete checkout directory "
@@ -49,6 +50,7 @@ public class VersionedDirSync implements Runnable {
                        }
                        dir.mkdirs();
                }
+               log.info("Checkout " + url + " to " + dir);
                changed = versioningDriver.checkout(url, dir, true);
                if (log.isDebugEnabled())
                        log.debug("Synchronized " + url + " to " + dir);