Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 229165 Details for
Bug 351102
Xtext detection mechanism to activate JDT functionality is too limited
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Extended isJavaEnabled test
ExtendedIsJavaEnabled.patch (text/plain), 2.33 KB, created by
Hendrik Eeckhaut
on 2013-03-28 14:56:44 EDT
(
hide
)
Description:
Extended isJavaEnabled test
Filename:
MIME Type:
Creator:
Hendrik Eeckhaut
Created:
2013-03-28 14:56:44 EDT
Size:
2.33 KB
patch
obsolete
>commit 1ae14568aa4194549032e249d89945ef195deedd >Author: Hendrik Eeckhaut <hendrik.eeckhaut@sigasi.com> >Date: Thu Mar 28 14:48:04 2013 -0400 > > Check for more plugins in the isJavaEnabled test > >diff --git a/plugins/org.eclipse.xtext.ui.shared/META-INF/MANIFEST.MF b/plugins/org.eclipse.xtext.ui.shared/META-INF/MANIFEST.MF >index 99c47f1..52f3d59 100644 >--- a/plugins/org.eclipse.xtext.ui.shared/META-INF/MANIFEST.MF >+++ b/plugins/org.eclipse.xtext.ui.shared/META-INF/MANIFEST.MF >@@ -9,6 +9,8 @@ Bundle-Vendor: Eclipse Modeling Project > Require-Bundle: org.eclipse.xtext.ui;bundle-version="2.0.0";resolution:=optional;x-installation:=greedy, > org.eclipse.xtext.builder;bundle-version="2.0.0";resolution:=optional;x-installation:=greedy, > org.eclipse.jdt.core;bundle-version="3.5.1";resolution:=optional;x-installation:=greedy, >+ org.eclipse.jdt.ui;bundle-version="3.5.0";resolution:=optional;x-installation:=greedy, >+ org.eclipse.jdt.debug;bundle-version="3.5.0";resolution:=optional;x-installation:=greedy, > org.eclipse.xtext.common.types.ui;bundle-version="2.0.0";resolution:=optional;x-installation:=greedy > Bundle-RequiredExecutionEnvironment: J2SE-1.5 > Bundle-ActivationPolicy: lazy >diff --git a/plugins/org.eclipse.xtext.ui.shared/src/org/eclipse/xtext/ui/shared/internal/Activator.java b/plugins/org.eclipse.xtext.ui.shared/src/org/eclipse/xtext/ui/shared/internal/Activator.java >index 9c0f4e7..7921ea4 100644 >--- a/plugins/org.eclipse.xtext.ui.shared/src/org/eclipse/xtext/ui/shared/internal/Activator.java >+++ b/plugins/org.eclipse.xtext.ui.shared/src/org/eclipse/xtext/ui/shared/internal/Activator.java >@@ -16,6 +16,9 @@ import org.eclipse.core.runtime.IExtensionPoint; > import org.eclipse.core.runtime.Platform; > import org.eclipse.core.runtime.Plugin; > import org.eclipse.jdt.core.JavaCore; >+import org.eclipse.jdt.ui.JavaUI; >+import org.eclipse.jdt.debug.core.IJavaThread; >+import org.eclipse.xtext.common.types.ui.notification.TypeResourceUnloader; > import org.osgi.framework.BundleContext; > > import com.google.inject.Guice; >@@ -82,6 +85,9 @@ public class Activator extends Plugin { > public static boolean isJavaEnabled() { > try { > JavaCore.class.getName(); >+ JavaUI.class.getName(); >+ IJavaThread.class.getName(); >+ TypeResourceUnloader.class.getName(); > return true; > } catch (Throwable e) { > log.warn("Disabling JDT use. : "+e.getMessage());
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
sven.efftinge
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 351102
: 229165