[364129] Error logged on Eclipse startup
The contribution to the o.e.ui.startup ext point is moved to the UI
plugin and now pointing to a dedicated startup class.
diff --git a/plugins/org.eclipse.libra.facet.ui/plugin.xml b/plugins/org.eclipse.libra.facet.ui/plugin.xml
index 2e9ada9..8c6a61a 100644
--- a/plugins/org.eclipse.libra.facet.ui/plugin.xml
+++ b/plugins/org.eclipse.libra.facet.ui/plugin.xml
@@ -84,6 +84,12 @@
</page>
</wizard-pages>
</extension>
+ <extension
+ point="org.eclipse.ui.startup">
+ <startup
+ class="org.eclipse.libra.facet.internal.ui.LibraFacetUIStartup">
+ </startup>
+ </extension>
</plugin>
diff --git a/plugins/org.eclipse.libra.facet.ui/src/org/eclipse/libra/facet/internal/ui/LibraFacetUIStartup.java b/plugins/org.eclipse.libra.facet.ui/src/org/eclipse/libra/facet/internal/ui/LibraFacetUIStartup.java
new file mode 100644
index 0000000..083bb87
--- /dev/null
+++ b/plugins/org.eclipse.libra.facet.ui/src/org/eclipse/libra/facet/internal/ui/LibraFacetUIStartup.java
@@ -0,0 +1,24 @@
+/*******************************************************************************
+ * Copyright (c) 2012 SAP AG 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Kaloyan Raev (SAP AG) - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.libra.facet.internal.ui;
+
+import org.eclipse.libra.facet.OSGiBundleFacetUtils;
+import org.eclipse.ui.IStartup;
+
+public class LibraFacetUIStartup implements IStartup {
+
+ public void earlyStartup() {
+ // Dummy call to ensure that the org.eclipse.libra.facet plug-in is loaded
+ // We need this to have the WebContextRootSynchronizer registered as resource change listener
+ OSGiBundleFacetUtils.class.getName();
+ }
+
+}
diff --git a/plugins/org.eclipse.libra.facet/plugin.xml b/plugins/org.eclipse.libra.facet/plugin.xml
index 854b57a..14e5df0 100644
--- a/plugins/org.eclipse.libra.facet/plugin.xml
+++ b/plugins/org.eclipse.libra.facet/plugin.xml
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
- <extension
- point="org.eclipse.ui.startup">
- <startup></startup>
- </extension>
<extension
point="org.eclipse.wst.common.project.facet.core.facets">