Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to add new features MANUALLY?
How to add new features MANUALLY? [message #222666] Thu, 16 October 2008 18:43 Go to next message
Eclipse User
Originally posted by: mstev.ozone.com

Ok I could use the menu help-Software Updates->Find and install...
to add/update new features to an Eclipse installation.

However is there a way to add/update features manually?

Assume I have downloaded a *.zip file with a new feature.
Can I simply extract it to the Eclipse directory tree?
Is the new feature automatically recognized by a running Eclipse
or do I have to re-boot Eclipse?

Do I have (in addition to the copy operation) "register" somewhere the new/update feature
or does Eclipse recognize the add/update feature automatically?

Do I have to extract only the "plugin" sub-folder or the "features" sub-folder as well?

Pia
Re: How to add new features MANUALLY? [message #222672 is a reply to message #222666] Thu, 16 October 2008 22:04 Go to previous messageGo to next message
Eclipse User
Originally posted by: atulwagle.gmail.com

Pia Stevens wrote:
> Ok I could use the menu help-Software Updates->Find and install...
> to add/update new features to an Eclipse installation.
>
> However is there a way to add/update features manually?
>
> Assume I have downloaded a *.zip file with a new feature.
> Can I simply extract it to the Eclipse directory tree?
> Is the new feature automatically recognized by a running Eclipse
> or do I have to re-boot Eclipse?
>
> Do I have (in addition to the copy operation) "register" somewhere the new/update feature
> or does Eclipse recognize the add/update feature automatically?
>
> Do I have to extract only the "plugin" sub-folder or the "features" sub-folder as well?
>
> Pia

Yes you can extract the zip file in the eclipse directory structure.
Once extracted, eclipse doesn't recognize the feature automatically, you
need to reboot it.

Now thats the only thing to do about it.

You need to extract both the directories, plugin and features.

The way I do this, is something like this. I don't want to mess with my
eclipse installation. so i created a directory on C:\MyEclipsePlugins
(or anywhere) and extract my plugin there. Now to link the plugin to the
eclipse installation is via a link file.
So my directory structure looks something like this:

C:\Eclipse3.3
\links
myplugins.lnk
...

The "links" directory is not created by default, you need to create it.
Now the "myplugins.lnk" looks something like this (it would be just a
single line)

c:\MyEclipsePlugins\<your plugin name>

Advantage obviously is u can used this plugin in multiple eclipse
installations at the same time.

Atul
Re: How to add new features MANUALLY? [message #222678 is a reply to message #222666] Thu, 16 October 2008 22:09 Go to previous messageGo to next message
Eclipse User
Originally posted by: atulwagle.gmail.com

Pia Stevens wrote:
> Ok I could use the menu help-Software Updates->Find and install...
> to add/update new features to an Eclipse installation.
>
> However is there a way to add/update features manually?
>
> Assume I have downloaded a *.zip file with a new feature.
> Can I simply extract it to the Eclipse directory tree?
> Is the new feature automatically recognized by a running Eclipse
> or do I have to re-boot Eclipse?
>
> Do I have (in addition to the copy operation) "register" somewhere the new/update feature
> or does Eclipse recognize the add/update feature automatically?
>
> Do I have to extract only the "plugin" sub-folder or the "features" sub-folder as well?
>
> Pia

Yes you can extract the zip file in the eclipse directory structure.
Once extracted, eclipse doesn't recognize the feature automatically, you
need to reboot it.

Now thats the only thing to do about it.

You need to extract both the directories, plugin and features.

The way I do this, is something like this. I don't want to mess with my
eclipse installation. so i created a directory on C:\MyEclipsePlugins
(or anywhere) and extract my plugin there. Now to link the plugin to the
eclipse installation is via a link file.
So my directory structure looks something like this:

C:\Eclipse3.3
\links
myplugins.lnk
...

The "links" directory is not created by default, you need to create it.
Now the "myplugins.lnk" looks something like this (it would be just a
single line)

c:\MyEclipsePlugins\<your plugin name>

Advantage obviously is u can used this plugin in multiple eclipse
installations at the same time.

Atul
Re: How to add new features MANUALLY? [message #222683 is a reply to message #222666] Fri, 17 October 2008 07:38 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Pia Stevens wrote:
> Ok I could use the menu help-Software Updates->Find and install...
> to add/update new features to an Eclipse installation.
>
> However is there a way to add/update features manually?
>
> Assume I have downloaded a *.zip file with a new feature.
> Can I simply extract it to the Eclipse directory tree?
>
Yes, if you use 3.4 or newer you put it into the dropins folder,
otherwise into the plugins folder.
> Is the new feature automatically recognized by a running Eclipse
> or do I have to re-boot Eclipse?
>
You have to restart and best is to use the -clean and -debug command
line options.
> Do I have (in addition to the copy operation) "register" somewhere the new/update feature
>
No.
> or does Eclipse recognize the add/update feature automatically?
>
> Do I have to extract only the "plugin" sub-folder or the "features" sub-folder as well?
>
It will work without the features folder but if you have one it's best
to put it there as well.

Dani
> Pia
>
Re: How to add new features MANUALLY? [message #222691 is a reply to message #222666] Fri, 17 October 2008 07:59 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Pia Stevens wrote:

Please don't cross post.

Dani
> Ok I could use the menu help-Software Updates->Find and install...
> to add/update new features to an Eclipse installation.
>
> However is there a way to add/update features manually?
>
> Assume I have downloaded a *.zip file with a new feature.
> Can I simply extract it to the Eclipse directory tree?
> Is the new feature automatically recognized by a running Eclipse
> or do I have to re-boot Eclipse?
>
> Do I have (in addition to the copy operation) "register" somewhere the new/update feature
> or does Eclipse recognize the add/update feature automatically?
>
> Do I have to extract only the "plugin" sub-folder or the "features" sub-folder as well?
>
> Pia
>
Re: How to add new features MANUALLY? [message #222696 is a reply to message #222666] Fri, 17 October 2008 13:27 Go to previous messageGo to next message
Christian Opitz is currently offline Christian Opitz
Messages: 11
Registered: July 2009
Junior Member
Hi Pia,

> Assume I have downloaded a *.zip file with a new feature.
> Can I simply extract it to the Eclipse directory tree?

My favorite answer: It depends ;-) Usually it should work though.

> Is the new feature automatically recognized by a running Eclipse
> or do I have to re-boot Eclipse?

You should reboot Eclipse.

> Do I have to extract only the "plugin" sub-folder or the "features"
sub-folder as well?

If you have both you should extract both and copy them to the Eclipse
installation folder. If you only have a feature file (you said that you
downloaded a feature) this of course needs to go to the feature directory.

HTH,
Christian
Re: How to add new features MANUALLY? [message #222923 is a reply to message #222666] Tue, 21 October 2008 22:30 Go to previous message
Eclipse Webmaster is currently offline Eclipse Webmaster
Messages: 476686
Registered: July 2009
Senior Member
You were kindly asked to not cross-post to so many lists recently, yet
you continue. Please stop cross-posting, or you will be banned from our
news server.

Denis



Pia Stevens wrote:
> Ok I could use the menu help-Software Updates->Find and install...
> to add/update new features to an Eclipse installation.
>
> However is there a way to add/update features manually?
>
> Assume I have downloaded a *.zip file with a new feature.
> Can I simply extract it to the Eclipse directory tree?
> Is the new feature automatically recognized by a running Eclipse
> or do I have to re-boot Eclipse?
>
> Do I have (in addition to the copy operation) "register" somewhere the new/update feature
> or does Eclipse recognize the add/update feature automatically?
>
> Do I have to extract only the "plugin" sub-folder or the "features" sub-folder as well?
>
> Pia
Previous Topic:How do I include external files in dynamic web project?
Next Topic:deploy to tomcat failure
Goto Forum:
  


Current Time: Thu Oct 23 15:21:09 GMT 2014

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

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