diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-13 01:08:16 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-13 01:08:16 +0000 |
commit | 848d2c8e854f701f467f2e0e717303952920a4a4 (patch) | |
tree | 67a9e2ec7ebe2a7abb3015c79403fa0e86b327df /branches/sca-equinox | |
parent | 0b71ac44e65047d21b5e2c23536a5f5763121719 (diff) |
apply mkdir to META-INF only
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@694864 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | branches/sca-equinox/tools/maven/maven-tuscany-bundle-plugin/src/main/java/org/apache/tuscany/tools/sca/tuscany/bundle/plugin/LibraryBundleMojo.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/branches/sca-equinox/tools/maven/maven-tuscany-bundle-plugin/src/main/java/org/apache/tuscany/tools/sca/tuscany/bundle/plugin/LibraryBundleMojo.java b/branches/sca-equinox/tools/maven/maven-tuscany-bundle-plugin/src/main/java/org/apache/tuscany/tools/sca/tuscany/bundle/plugin/LibraryBundleMojo.java index 7b7d0d7e08..5fbd3008d2 100644 --- a/branches/sca-equinox/tools/maven/maven-tuscany-bundle-plugin/src/main/java/org/apache/tuscany/tools/sca/tuscany/bundle/plugin/LibraryBundleMojo.java +++ b/branches/sca-equinox/tools/maven/maven-tuscany-bundle-plugin/src/main/java/org/apache/tuscany/tools/sca/tuscany/bundle/plugin/LibraryBundleMojo.java @@ -137,12 +137,13 @@ public class LibraryBundleMojo extends AbstractMojo { } Manifest mf = LibraryBundleUtil.libraryManifest(jarFiles, project.getName(), version, copyJars); - File file = new File(project.getBasedir(), "META-INF/MANIFEST.MF"); + File file = new File(project.getBasedir(), "META-INF"); + file.mkdir(); + file= new File(file, "MANIFEST.MF"); if (log.isDebugEnabled()) { log.debug("Generating " + file); } - file.mkdirs(); FileOutputStream fos = new FileOutputStream(file); mf.write(fos); fos.close(); |