Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Manifest.mf Problem
Manifest.mf Problem [message #190235] Fri, 26 January 2007 17:01 Go to next message
Eclipse UserFriend
Originally posted by: ihybily.gmail.com

Hi, I'm encountering a problem with my plugin in eclipse3.2.1

i'm doing the very first example in the book "contributing to
Eclipse".---the easist plug-in "org.eclipse.contribution.hello"
after i wrote these in the plugin.xml
<plugin>
<extension
point="org.eclipse.ui.actionSets">
<actionSet
id="org.eclipse.contribution.hello.actionSet"
label="Hello Action Set">
<action
id="org.eclipse.contribution.hello.HelloAction"
label="Hello">
</action>
</actionSet>
</extension>
</plugin>

i got an error in the MANIFEST.MF
"Plug-ins declaring extensions or extension points must set singleton
attribute to true"

so I added the
singleton:=true
to my
Bundle-SymbolicName: org.eclipse.contribution.hello
-->
Bundle-SymbolicName: org.eclipse.contribution.hello; singleton:=true

I still got the original error. :(

can anyone help?
thanks in advance
amy
Re: Manifest.mf Problem [message #190292 is a reply to message #190235] Fri, 26 January 2007 20:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"amy" <ihybily@gmail.com> wrote in message
news:b441ce7d5a30052a5f151249f41e929e$1@www.eclipse.org...
> i got an error in the MANIFEST.MF
> "Plug-ins declaring extensions or extension points must set singleton
> attribute to true"
>
> so I added the singleton:=true to my Bundle-SymbolicName:
> org.eclipse.contribution.hello
> -->
> Bundle-SymbolicName: org.eclipse.contribution.hello; singleton:=true
>
> I still got the original error. :(


If you create a new plug-in project using the "new project" wizard to
specify a "hello world" plug-in, and you inspect its manifest.mf, are there
any relevant differences between that and the one that you created by hand?
Re: Manifest.mf Problem [message #190385 is a reply to message #190292] Sat, 27 January 2007 10:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ihybily.gmail.com

Walter Harley wrote:

> "amy" <ihybily@gmail.com> wrote in message
> news:b441ce7d5a30052a5f151249f41e929e$1@www.eclipse.org...
>> i got an error in the MANIFEST.MF
>> "Plug-ins declaring extensions or extension points must set singleton
>> attribute to true"
>>
>> so I added the singleton:=true to my Bundle-SymbolicName:
>> org.eclipse.contribution.hello
>> -->
>> Bundle-SymbolicName: org.eclipse.contribution.hello; singleton:=true
>>
>> I still got the original error. :(


> If you create a new plug-in project using the "new project" wizard to
> specify a "hello world" plug-in, and you inspect its manifest.mf, are there
> any relevant differences between that and the one that you created by hand?

yes i wanted practise by hand as much as possible so i didn't choose the
"create a plug-in using one of the templates"

but the error disapeared after sometime!!!! i don't know why......
at least i can go on now.
Re: Manifest.mf Problem [message #190458 is a reply to message #190385] Sun, 28 January 2007 23:18 Go to previous message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"amy" <ihybily@gmail.com> wrote in message
news:3d1911361dc18cb4f3fd5d757524c14c$1@www.eclipse.org...
> yes i wanted practise by hand as much as possible so i didn't choose the
> "create a plug-in using one of the templates"

That's an excellent approach. However, it's often useful to compare your
hand-generated code with what the wizard produces, especially when something
is going wrong.
Previous Topic:Plugin Fragment & External Jars
Next Topic:Cannot Load Visual Editor
Goto Forum:
  


Current Time: Thu Apr 25 07:08:35 GMT 2024

Powered by FUDForum. Page generated in 0.08380 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top