Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4514

The method copyTo of DirectoryEntry doesn't copy recursively on Android

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0, 3.0.0
    • None
    • None

    Description

      the method copyTo of DirectoryEntry doesn´t copy a directory inside another directory.

      I would suggest change FileUtils.java

      in line 496

      for (File file : srcDir.listFiles()) {
      if (file.isDirectory()) {
      //copyDirectory(file, destinationDir);
      copyDirectory(file, new File(destinationDir.getAbsolutePath() + File.separator + file.getName()));

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            xyq.384.b Rubén Vaquero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: