cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubén Vaquero (JIRA) <j...@apache.org>
Subject [jira] [Created] (CB-4514) The method copyTo of DirectoryEntry doesn't copy recursively on Android
Date Tue, 06 Aug 2013 19:09:48 GMT
Rubén Vaquero created CB-4514:
---------------------------------

             Summary: The method copyTo of DirectoryEntry doesn't copy recursively on Android
                 Key: CB-4514
                 URL: https://issues.apache.org/jira/browse/CB-4514
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, Plugin File
    Affects Versions: 3.0.0, 2.5.0
            Reporter: Rubén Vaquero
            Assignee: Joe Bowser


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()));


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message