Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » importing the javaeditor example
importing the javaeditor example [message #328415] Sat, 24 May 2008 08:57 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

I've installed the sdk examples and I imported the javaeditor plugin
example (by using the wizard Import -> Plugin and fragments); however, I
get many compilation errors (and the main one seems to be in the
manifest file: 'Bundle-SymbolicName' header is required in
org.eclipse.ui.examples.javaeditor/META-INF/MANIFEST.MF line 1)...

am I doing something wrong?

what is the correct way to import that plugin?

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: importing the javaeditor example [message #328433 is a reply to message #328415] Sat, 24 May 2008 12:37 Go to previous messageGo to next message
Wayne Beaton is currently offline Wayne BeatonFriend
Messages: 554
Registered: December 2017
Senior Member
That example is a touch out of date. It uses the old bundle metadata
mechanism (supported prior to version 3.0). AFAIK, it doesn't even have
a manifest.mf file.

You might try to fix it up, but I suspect that you're going to run into
a lot more problems.

Wayne

On Sat, 2008-05-24 at 10:57 +0200, Lorenzo Bettini wrote:
> Hi
>
> I've installed the sdk examples and I imported the javaeditor plugin
> example (by using the wizard Import -> Plugin and fragments); however, I
> get many compilation errors (and the main one seems to be in the
> manifest file: 'Bundle-SymbolicName' header is required in
> org.eclipse.ui.examples.javaeditor/META-INF/MANIFEST.MF line 1)...
>
> am I doing something wrong?
>
> what is the correct way to import that plugin?
>
> thanks in advance
> Lorenzo
>
Re: importing the javaeditor example [message #328470 is a reply to message #328433] Mon, 26 May 2008 08:58 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Wayne Beaton wrote:
> That example is a touch out of date. It uses the old bundle metadata
> mechanism (supported prior to version 3.0). AFAIK, it doesn't even have
> a manifest.mf file.
>
> You might try to fix it up,
There's nothing to fix. Just because it's old and not ported to the new
runtime story doesn't mean that the sample doesn't work. Installing the
sample via Welcome page works fine and also importing the plug-in and
running it works for me.

Dani
> but I suspect that you're going to run into
> a lot more problems.
>
> Wayne
>
> On Sat, 2008-05-24 at 10:57 +0200, Lorenzo Bettini wrote:
>
>> Hi
>>
>> I've installed the sdk examples and I imported the javaeditor plugin
>> example (by using the wizard Import -> Plugin and fragments); however, I
>> get many compilation errors (and the main one seems to be in the
>> manifest file: 'Bundle-SymbolicName' header is required in
>> org.eclipse.ui.examples.javaeditor/META-INF/MANIFEST.MF line 1)...
>>
>> am I doing something wrong?
>>
>> what is the correct way to import that plugin?
>>
>> thanks in advance
>> Lorenzo
>>
>>
>
>
Re: importing the javaeditor example [message #328471 is a reply to message #328415] Mon, 26 May 2008 08:58 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Lorenzo Bettini wrote:
> Hi
>
> I've installed the sdk examples and I imported the javaeditor plugin
> example (by using the wizard Import -> Plugin and fragments); however,
> I get many compilation errors (and the main one seems to be in the
> manifest file: 'Bundle-SymbolicName' header is required in
> org.eclipse.ui.examples.javaeditor/META-INF/MANIFEST.MF line 1)...
>
> am I doing something wrong?
Yes ;-) Simply install the Sample via Help > Welcome. I just tried this
and there is no error reported. Also, importing the binary project works
for me but attaching the source seems broken.

Dani
>
> what is the correct way to import that plugin?
>
> thanks in advance
> Lorenzo
>
Re: importing the javaeditor example [message #328716 is a reply to message #328471] Mon, 02 June 2008 18:24 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Daniel Megert wrote:
> Lorenzo Bettini wrote:
>> Hi
>>
>> I've installed the sdk examples and I imported the javaeditor plugin
>> example (by using the wizard Import -> Plugin and fragments); however,
>> I get many compilation errors (and the main one seems to be in the
>> manifest file: 'Bundle-SymbolicName' header is required in
>> org.eclipse.ui.examples.javaeditor/META-INF/MANIFEST.MF line 1)...
>>
>> am I doing something wrong?
> Yes ;-) Simply install the Sample via Help > Welcome. I just tried this
> and there is no error reported. Also, importing the binary project works
> for me but attaching the source seems broken.

yes, that seems to work fine; probably it downloads it from another
source... probably the documentation of the examples should be updated
though...

thanks
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Previous Topic:How to fit the wizard for different resolution montiors
Next Topic:Plugins & Target Platform Help!
Goto Forum:
  


Current Time: Sat Jul 27 16:07:54 GMT 2024

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

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

Back to the top