Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2011-01-28 13:14:37 -0500
committerDJ Houghton2011-01-28 13:14:37 -0500
commitea4c70236c31bec52114376fc0cec7d41efc4881 (patch)
tree63584db0c9b491dd85218469a02418b8824fb8ca /bundles
parentae116eabee98122e65bcf0ca5ad01a519c6cfc75 (diff)
downloadrt.equinox.p2-ea4c70236c31bec52114376fc0cec7d41efc4881.tar.gz
rt.equinox.p2-ea4c70236c31bec52114376fc0cec7d41efc4881.tar.xz
rt.equinox.p2-ea4c70236c31bec52114376fc0cec7d41efc4881.zip
Bug 331893 - Use mkdirs workaround also in case of file based downloaded bundles
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactRepository.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactRepository.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactRepository.java
index 635688bd8..37dc95e7f 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactRepository.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactRepository.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2010 IBM Corporation and others.
+ * Copyright (c) 2007, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -780,7 +780,7 @@ public class SimpleArtifactRepository extends AbstractArtifactRepository impleme
} else {
// file based
File parent = outputFile.getParentFile();
- parent.mkdirs();
+ mkdirs(parent);
if (!parent.isDirectory())
throw failedWrite(new IOException(NLS.bind(Messages.sar_failedMkdir, parent.toString())));
target = new FileOutputStream(file);

Back to the top