commit | 39e926e83b553dbaabe9a96cc0daa13279215133 | [log] [tgz] |
---|---|---|
author | Guillaume Sauthier <guillaume@apache.org> | Thu Jul 04 14:32:18 2013 +0000 |
committer | Guillaume Sauthier <guillaume@apache.org> | Thu Jul 04 14:32:18 2013 +0000 |
tree | 7eaaaea989902e777ad0cd4631fcb3eee470bc94 | |
parent | adae60df1ff96a266ed49111d9352feb19a025cf [diff] |
FELIX-4021 maven-ipojo-plugin fails on WAR packaging * When writing back resources, their paths were not converted git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1499767 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/store/JarFileResourceStore.java b/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/store/JarFileResourceStore.java index c88104c..0f0e660 100644 --- a/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/store/JarFileResourceStore.java +++ b/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/store/JarFileResourceStore.java
@@ -148,7 +148,7 @@ } public void write(String resourcePath, byte[] resource) throws IOException { - this.m_content.put(resourcePath, resource); + this.m_content.put(getInternalPath(resourcePath), resource); } public void close() throws IOException {