Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Cannot build the HelloWorld plugin
Cannot build the HelloWorld plugin [message #14140] Thu, 24 April 2003 19:18 Go to next message
Eclipse UserFriend
Originally posted by: Gyorgy.Balogh.vanderbilt.edu

Hi,

I'm very new in eclipse. I tried to do the helloworld plugin example by
doing the steps described in the help.

Everything is ok to this point:

- In the Java Build Path properties, select the Projects tab, and check the
projects org.eclipse.ui and org.eclipse.swt. These are the projects that
contain the classes we imported.

There is no org.eclipse.ui and org.eclipse.swt on that page.

What is the problem?

Thanks
George
Re: Cannot build the HelloWorld plugin [message #14261 is a reply to message #14140] Fri, 25 April 2003 00:08 Go to previous messageGo to next message
Eclipse UserFriend
The problem is because the example doesn't tell you how you are suppose to
import certain jar files into your class path.I would recomend you that
you should create the plugin that eclipse creates itself then you won't
have to face this problem as all the necesary imports will be done by
itself.

Go to File->New->Project->PLugin Development->plug-in project->Next->give
it a name->Next->Next->then from the list click on HelloWorld and Finish.
This would get a plugin just like the one you are trying to created and
there onward on won't be having any problem with any more examples.If you
any more problem ask another question.
I hope this helps.

Syed


Gyorgy Balogh wrote:

> Hi,

> I'm very new in eclipse. I tried to do the helloworld plugin example by
> doing the steps described in the help.

> Everything is ok to this point:

> - In the Java Build Path properties, select the Projects tab, and check the
> projects org.eclipse.ui and org.eclipse.swt. These are the projects that
> contain the classes we imported.

> There is no org.eclipse.ui and org.eclipse.swt on that page.

> What is the problem?

> Thanks
> George
Re: Cannot build the HelloWorld plugin [message #17628 is a reply to message #14140] Sat, 26 April 2003 23:28 Go to previous message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

Syed's advice will work, but what's going on could be that the plug-ins are
not selected by default in Window > Preferences > Plug-In Development >
Target Platform. If you go there, and click 'Not In Workspace' and Apply
then that will help.

While the preferences dialog is up, select Plug-In Development > Java Build
Path Control, and turn on the option that asys "Use classpath containers for
dependent plug-ins". This will eliminate the need for adding the libraries
manually and make your Package Explorer display tidier as well. This is a
new 2.1 feature and is covered in the Tips and Tricks online help. For this
to have an effect on existing, open projects you'll probably have to close
and re-open them after changing it.

Next double-click your plugin.xml and go to the Dependencies page. Click the
Add... button and then add the plug-ins you want to use.

Hope this helps.

--
Ed Burnette, co-author Eclipse in Action (www.manning.com)


"Gyorgy Balogh" <Gyorgy.Balogh@vanderbilt.edu> wrote in message
news:b89nsq$spf$1@rogue.oti.com...
> Hi,
>
> I'm very new in eclipse. I tried to do the helloworld plugin example by
> doing the steps described in the help.
>
> Everything is ok to this point:
>
> - In the Java Build Path properties, select the Projects tab, and check
the
> projects org.eclipse.ui and org.eclipse.swt. These are the projects that
> contain the classes we imported.
>
> There is no org.eclipse.ui and org.eclipse.swt on that page.
>
> What is the problem?
>
> Thanks
> George
>
>
>
Previous Topic:New to Eclipse
Next Topic:Missing some API references in Eclipse Help
Goto Forum:
  


Current Time: Mon Jul 14 03:55:29 EDT 2025

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

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

Back to the top