You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Rubén Vaquero (JIRA)" <ji...@apache.org> on 2013/08/06 21:09:48 UTC
[jira] [Created] (CB-4514) The method copyTo of DirectoryEntry
doesn't copy recursively on Android
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