Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff McAffer2009-02-19 03:33:53 +0000
committerJeff McAffer2009-02-19 03:33:53 +0000
commit235b3d1dca7f5a3cac6eddaf9d9349b9b0f69f99 (patch)
treed494d0c49cd4c555495dc94c1781db400fe4b15c /bundles/org.eclipse.equinox.p2.publisher
parentbeb0e1e34fd9503e3c1f85d5f3a053c02fb98563 (diff)
downloadrt.equinox.p2-235b3d1dca7f5a3cac6eddaf9d9349b9b0f69f99.tar.gz
rt.equinox.p2-235b3d1dca7f5a3cac6eddaf9d9349b9b0f69f99.tar.xz
rt.equinox.p2-235b3d1dca7f5a3cac6eddaf9d9349b9b0f69f99.zip
Bug 222260 [publisher] Incorrect showsplash argument
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.publisher')
-rw-r--r--bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/eclipse/ProductFileAdvice.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/eclipse/ProductFileAdvice.java b/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/eclipse/ProductFileAdvice.java
index c17fee8da..4f637775c 100644
--- a/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/eclipse/ProductFileAdvice.java
+++ b/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/eclipse/ProductFileAdvice.java
@@ -27,6 +27,8 @@ import org.eclipse.equinox.p2.publisher.AbstractPublisherAction;
*/
public class ProductFileAdvice extends AbstractAdvice implements IExecutableAdvice, IConfigAdvice, IBrandingAdvice {
+ private final static String OSGI_SPLASH_PATH = "osgi.splashPath"; //$NON-NLS-1$
+ private final static String SPLASH_PREFIX = "platform:/base/plugins/"; //$NON-NLS-1$
private IProductDescriptor product;
private String configSpec;
private String os;
@@ -143,7 +145,7 @@ public class ProductFileAdvice extends AbstractAdvice implements IExecutableAdvi
result.setProperty("eclipse.product", product.getId()); //$NON-NLS-1$
String location = getSplashLocation();
if (location != null)
- result.setProperty("osgi.splashPath", location); //$NON-NLS-1$
+ result.setProperty(OSGI_SPLASH_PATH, SPLASH_PREFIX + location); //$NON-NLS-1$
return result;
}

Back to the top