Indirectly reference from class file? WTF? [message #35559] |
Wed, 16 March 2005 09:16 |
Eclipse User |
|
|
|
Originally posted by: et.nospam-et3d.com
I'm have a source to a CDT plugin which I hope to adapt (if I can't find
an easier way to do what I want). Apart from it being old and using
deprecated stuff, I also have a problem that I don't understand at all.
Here's a block of code:
public static final String ATTR_TSIM = MIPlugin.getUniqueIdentifier() +
".TSIM"; //$NON-NLS-1$
public static final String ATTR_TSIM_LAUNCH =
MIPlugin.getUniqueIdentifier() + ".TSIMLAUNCH"; //$NON-NLS-1$
public static final String ATTR_TSIM_HOST =
MIPlugin.getUniqueIdentifier() + ".TSIMHOST"; //$NON-NLS-1$
public static final String ATTR_TSIM_PORT =
MIPlugin.getUniqueIdentifier() + ".TSIMPORT"; //$NON-NLS-1$
public static final String DEBUG_NAME = MIPlugin.getUniqueIdentifier()
+ ".GDB"; //$NON-NLS-1$
public static final String ATTR_DEBUG_NAME =
MIPlugin.getUniqueIdentifier() + ".GDBNAME"; //$NON-NLS-1$
public static final String ATTR_GDB_INIT =
MIPlugin.getUniqueIdentifier() + ".GDBINITSTR"; //$NON-NLS-1$
All these lines look the same to me, but the editor underlines
"MIPlugin.getUniqueIdentifier()" in the first and third assignments, and
reports:
The type org.osgi.framework.BundleActivator cannot be resolved. It is
indirectly referenced from required .class files
I have no idea at all what's it talking about or what it's coming from.
Any idea?
Eyal
|
|
|
Powered by
FUDForum. Page generated in 0.08208 seconds