Hi,
I have a problem in my viewaction extension point.
Referenced identifier 'com.mytestplugin.views.ResourceManagerView' in attribute 'targetID' cannot be found.
Please help me!
Regards
ihsan
Printable View
Hi,
I have a problem in my viewaction extension point.
Referenced identifier 'com.mytestplugin.views.ResourceManagerView' in attribute 'targetID' cannot be found.
Please help me!
Regards
ihsan
Is this a compile or execution error?
Is there a missing import?
Hello,
Thanks for your reply. It is a compile error.My xml file has this error for the targetID attribute.
Regards
Arif
Please post the full text of the error message.Quote:
It is a compile error
The following error i get in my plugin xml file.
Referenced identifier 'com.mytestplugin.views.ResourceManagerView' in attribute 'targetID' cannot be found
Regards/
Arif
That doesn't look like the error messages I get. Here is an example:
Please copy full text of error message and paste it here. Here is a sample:
Code:TestSorts.java:138: cannot find symbol
symbol : variable var
location: class TestSorts
var = 2;
^
I get this compile time error on the targetID="com.mytestplugin.views.ResourceManagerVi ew">
<extension
point="org.eclipse.ui.viewActions">
<viewContribution
id="com.mytestplugin.ResourceManagerViewContributi on"
targetID="com.mytestplugin.views.ResourceManagerVi ew">
<action
class="com.mytestplugin.ResourceManagerViewActionD elegate2"
icon="icons/sample.gif"
id="com.mytestplugin.ResourceManagerViewAction"
label="Click me"
style="push"
toolbarPath="additions">
</action>
</viewContribution>
What compiler are you using? I was using the javac command to compile a .java file.
What program is reading your xml file and giving the error?
How does this relate to java programming?
Actually i am working on plugin development in Eclipse.
i want to develop my own plugin.so for this we have to code in xml as well as in java and then we integrate these two by extensions points.
Sorry, I don't know anything about coding XML.
Ok no problem,but do you know which id we have to write in targetID. My plugins working on builtin view id but when i write my own view id its generate the mentioned error.