commit | e16960c49f183a4f15470533476c227334a551c3 | [log] [tgz] |
---|---|---|
author | Marcel Offermans <marrs@apache.org> | Tue Dec 13 20:11:21 2011 +0000 |
committer | Marcel Offermans <marrs@apache.org> | Tue Dec 13 20:11:21 2011 +0000 |
tree | 402999cf5826047af00737115e099382251015c2 | |
parent | afa213bd233c87681a0b45b24c2fb67dbb68d061 [diff] |
FELIX-3270 fixed as suggested in the issue git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1213904 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java b/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java index 3e78114..920c042 100644 --- a/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java +++ b/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/spi/SnapshotCommand.java
@@ -95,7 +95,7 @@ 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 {