Author: rob.stryker(a)jboss.com
Date: 2012-02-16 02:55:41 -0500 (Thu, 16 Feb 2012)
New Revision: 38804
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.dmr/build.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.dmr/src/org/jboss/ide/eclipse/as/dmr/Activator.java
Log:
No idea wtf happen. Build.properties not exported somehow. Bundle would not start
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.dmr/build.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.dmr/build.properties 2012-02-16 06:05:38 UTC
(rev 38803)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.dmr/build.properties 2012-02-16 07:55:41 UTC
(rev 38804)
@@ -3,4 +3,6 @@
bin.includes = META-INF/,\
.,\
plugin.xml,\
- jboss-dmr-1.1.1.Final.jar
+ jboss-dmr-1.1.1.Final.jar,\
+ bin/,\
+ build.properties
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.dmr/src/org/jboss/ide/eclipse/as/dmr/Activator.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.dmr/src/org/jboss/ide/eclipse/as/dmr/Activator.java 2012-02-16
06:05:38 UTC (rev 38803)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.dmr/src/org/jboss/ide/eclipse/as/dmr/Activator.java 2012-02-16
07:55:41 UTC (rev 38804)
@@ -1,8 +1,47 @@
package org.jboss.ide.eclipse.as.dmr;
import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleContext;
public class Activator extends Plugin {
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.ide.eclipse.as.dmr";
//$NON-NLS-1$
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
}
Show replies by date