felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1213904 - /felix/trunk/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java
Date Tue, 13 Dec 2011 20:11:21 GMT
Author: marrs
Date: Tue Dec 13 20:11:21 2011
New Revision: 1213904

URL: http://svn.apache.org/viewvc?rev=1213904&view=rev
Log:
FELIX-3270 fixed as suggested in the issue

Modified:
    felix/trunk/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java

Modified: felix/trunk/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java
URL: http://svn.apache.org/viewvc/felix/trunk/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java?rev=1213904&r1=1213903&r2=1213904&view=diff
==============================================================================
--- felix/trunk/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java
(original)
+++ felix/trunk/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java
Tue Dec 13 20:11:21 2011
@@ -95,7 +95,7 @@ public class SnapshotCommand extends Com
             File[] children = source.listFiles();
             output = new ZipOutputStream(new FileOutputStream(target));
             for (int i = 0; i < children.length; i++) {
-                storeRecursive(target, new File(children[i].getName()), output);
+                storeRecursive(source, new File(children[i].getName()), output);
             }
         }
         finally {



Mime
View raw message