Revision 42753 trunk/org.gvsig.desktop/org.gvsig.desktop.framework/org.gvsig.andami.updater/src/main/java/org/gvsig/andamiupdater/Updater.java

View differences:

Updater.java
35 35
import java.io.FileReader;
36 36
import java.io.InputStream;
37 37
import java.io.OutputStream;
38
import static java.lang.System.in;
39
import java.util.logging.Level;
40
import java.util.logging.Logger;
41 38

  
42 39
import org.apache.tools.ant.Project;
43 40
import org.apache.tools.ant.ProjectHelper;
......
181 178
                    File sourceLocation = new File(filesFolder, childrenDir);
182 179
                    File targetLocation = new File(pluginsDirectory, childrenDir);
183 180
                    try {
181
                        deleteDir(targetLocation);
184 182
                        copyFilesAndFolders(sourceLocation, targetLocation);
185 183
                    } catch (Throwable th) {
186 184
                        this.warning("Can't copy files to '" + targetLocation.getAbsolutePath() + "'.", th);

Also available in: Unified diff