Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2015-03-07 22:01:07 -0500
committerPascal Rapicault2015-03-07 22:24:14 -0500
commit1f7d3bed9b77058a2c2bb18c4846c30fcfab6d18 (patch)
treed91566516ff136d9c5d7ec4a7e6f4214c7fd467f
parent6513488ecff51b10083d38900a5479c72ef13ad6 (diff)
downloadrt.equinox.p2-1f7d3bed9b77058a2c2bb18c4846c30fcfab6d18.tar.gz
rt.equinox.p2-1f7d3bed9b77058a2c2bb18c4846c30fcfab6d18.tar.xz
rt.equinox.p2-1f7d3bed9b77058a2c2bb18c4846c30fcfab6d18.zip
Bug 461653 - Fix product export on new mac layout
Force create the install folder Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java b/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java
index 74e7724a5..891ff3ba0 100644
--- a/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java
+++ b/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java
@@ -10,7 +10,7 @@
* Cloudsmith - https://bugs.eclipse.org/bugs/show_bug.cgi?id=226401
* EclipseSource - ongoing development
* Sonatype, Inc. - ongoing development
- * Pascal Rapicault - Support for bundled macosx http://bugs.eclipse.org/57349
+ * Pascal Rapicault - Support for bundled macosx 431116
* Red Hat, Inc. - support repositories passed via fragments (see bug 378329).Bug 460967
* SAP AG - list formatting (bug 423538)
*******************************************************************************/
@@ -1389,6 +1389,7 @@ public class DirectorApplication implements IApplication, ProvisioningListener {
}
private static boolean canWrite(File installDir) {
+ installDir.mkdirs(); //Force create the folders because otherwise the call to canWrite fails on Mac
if (installDir.canWrite() == false)
return false;

Back to the top