diff options
author | Pascal Rapicault | 2012-04-28 01:10:50 +0000 |
---|---|---|
committer | Pascal Rapicault | 2012-04-28 01:17:44 +0000 |
commit | 3ae7052955faa45c91b29e331a7e221cdd15562c (patch) | |
tree | 558db68be6e6064208881bf91f94fa7b78c5f2ed /bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java | |
parent | 5f304d6941d7ccfa810a553d41d3900c77784a8e (diff) | |
download | rt.equinox.p2-3ae7052955faa45c91b29e331a7e221cdd15562c.tar.gz rt.equinox.p2-3ae7052955faa45c91b29e331a7e221cdd15562c.tar.xz rt.equinox.p2-3ae7052955faa45c91b29e331a7e221cdd15562c.zip |
Support for bundled macosx - http://bugs.eclipse.org/57349v20120428-0117
Diffstat (limited to 'bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java')
-rw-r--r-- | bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java index ff4c32b12..9626ad0d5 100644 --- a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java +++ b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2010 IBM Corporation and others. + * Copyright (c) 2008, 2012 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 @@ -7,6 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Pascal Rapicault - Support for bundled macosx http://bugs.eclipse.org/57349 *******************************************************************************/ package org.eclipse.equinox.internal.frameworkadmin.equinox; @@ -57,6 +58,9 @@ public class ParserUtils { return launcherPath.toFile(); } } + if (EclipseLauncherParser.MACOSX_BUNDLED.equals(launcherData.getOS())) { + Log.log(LogService.LOG_WARNING, "Problem figuring out the osgi install area. The bundled mode of macosx requires a -startup argument to be specified."); //$NON-NLS-1$ + } return launcherFile.getParentFile(); } return null; |