[jbosstools-commits] JBoss Tools SVN: r39342 - trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Mar 7 11:40:59 EST 2012
Author: snjeza
Date: 2012-03-07 11:40:58 -0500 (Wed, 07 Mar 2012)
New Revision: 39342
Modified:
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/RuntimeScanner.java
Log:
JBIDE-10244 Cleaning up Runtime plugin
Modified: trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/RuntimeScanner.java
===================================================================
--- trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/RuntimeScanner.java 2012-03-07 15:37:42 UTC (rev 39341)
+++ trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/RuntimeScanner.java 2012-03-07 16:40:58 UTC (rev 39342)
@@ -57,7 +57,7 @@
Shell shell = Display.getCurrent().getActiveShell();
Set<RuntimePath> runtimePaths = new HashSet<RuntimePath>();
for (RuntimePath runtimePath:RuntimeUIActivator.getDefault().getRuntimePaths()) {
- if (runtimePath.isScanOnEveryStartup()) {
+ if (runtimePath.isScanOnEveryStartup() || firstStart) {
runtimePaths.add(runtimePath);
}
}
More information about the jbosstools-commits
mailing list