Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Possible to have multiple features in one project?
Possible to have multiple features in one project? [message #41403] Wed, 21 January 2009 21:02 Go to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

It seems that every feature has to be in its own (tiny) project. That
seems very inefficient in terms of management and organization - is
there any trick that would allow multiple features in a single project?

Eric
Re: Possible to have multiple features in one project? [message #41610 is a reply to message #41403] Thu, 22 January 2009 18:34 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Look at the org.eclipse.sdk-feature project in
dev.eclipse.org:/cvsroot/eclipse.

There are a bunch of feature in subdirectories of that project. Map
file entries for those nested features then look like:
feature@org.eclipse.pde.sdk=v20080313a,:pserver:anonymous@dev.eclipse.org :/cvsroot/eclipse,,org.eclipse.sdk-feature/features/org.ecli pse.pde.sdk

-Andrew
Eric Rizzo wrote:
> It seems that every feature has to be in its own (tiny) project. That
> seems very inefficient in terms of management and organization - is
> there any trick that would allow multiple features in a single project?
>
> Eric
Re: Possible to have multiple features in one project? [message #41909 is a reply to message #41610] Fri, 23 January 2009 14:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 1/22/2009 1:34 PM, Andrew Niefer wrote:
> Look at the org.eclipse.sdk-feature project in
> dev.eclipse.org:/cvsroot/eclipse.
>
> There are a bunch of feature in subdirectories of that project.

I notice that the project does not have the nature
org.eclipse.pde.FeatureNature nor include org.eclipse.pde.FeatureBuilder
- what is the impact of missing the nature and builder? Can you still do
IDE exports of products and update sites that use features in such a
project?

Thanks,
Eric


> Eric Rizzo wrote:
>> It seems that every feature has to be in its own (tiny) project. That
>> seems very inefficient in terms of management and organization - is
>> there any trick that would allow multiple features in a single project?
>>
>> Eric
Re: Possible to have multiple features in one project? [message #42033 is a reply to message #41909] Fri, 23 January 2009 15:39 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
The features are projects themselves, so they can be checked out
individually as well.

When checking out the parent project, you can't export the nested
features. You can export the features if you check them out
individually. I do notice the nested feature projects don't have the
feature nature either, I don't know what does other than you can't right
click on the feature.xml and generate a build.xml. Also, I expect any
warnings that PDE would put on features wouldn't show up either.

Headless build itself does not care about the feature nature.
-Andrew

Eric Rizzo wrote:
> On 1/22/2009 1:34 PM, Andrew Niefer wrote:
>> Look at the org.eclipse.sdk-feature project in
>> dev.eclipse.org:/cvsroot/eclipse.
>>
>> There are a bunch of feature in subdirectories of that project.
>
> I notice that the project does not have the nature
> org.eclipse.pde.FeatureNature nor include org.eclipse.pde.FeatureBuilder
> - what is the impact of missing the nature and builder? Can you still do
> IDE exports of products and update sites that use features in such a
> project?
>
> Thanks,
> Eric
>
>
>> Eric Rizzo wrote:
>>> It seems that every feature has to be in its own (tiny) project. That
>>> seems very inefficient in terms of management and organization - is
>>> there any trick that would allow multiple features in a single project?
>>>
>>> Eric
>
Re: Possible to have multiple features in one project? [message #590167 is a reply to message #41403] Thu, 22 January 2009 18:34 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Look at the org.eclipse.sdk-feature project in
dev.eclipse.org:/cvsroot/eclipse.

There are a bunch of feature in subdirectories of that project. Map
file entries for those nested features then look like:
feature@org.eclipse.pde.sdk=v20080313a,:pserver:anonymous@dev.eclipse.org :/cvsroot/eclipse,,org.eclipse.sdk-feature/features/org.ecli pse.pde.sdk

-Andrew
Eric Rizzo wrote:
> It seems that every feature has to be in its own (tiny) project. That
> seems very inefficient in terms of management and organization - is
> there any trick that would allow multiple features in a single project?
>
> Eric
Re: Possible to have multiple features in one project? [message #590277 is a reply to message #41610] Fri, 23 January 2009 14:33 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
On 1/22/2009 1:34 PM, Andrew Niefer wrote:
> Look at the org.eclipse.sdk-feature project in
> dev.eclipse.org:/cvsroot/eclipse.
>
> There are a bunch of feature in subdirectories of that project.

I notice that the project does not have the nature
org.eclipse.pde.FeatureNature nor include org.eclipse.pde.FeatureBuilder
- what is the impact of missing the nature and builder? Can you still do
IDE exports of products and update sites that use features in such a
project?

Thanks,
Eric


> Eric Rizzo wrote:
>> It seems that every feature has to be in its own (tiny) project. That
>> seems very inefficient in terms of management and organization - is
>> there any trick that would allow multiple features in a single project?
>>
>> Eric
Re: Possible to have multiple features in one project? [message #590329 is a reply to message #41909] Fri, 23 January 2009 15:39 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
The features are projects themselves, so they can be checked out
individually as well.

When checking out the parent project, you can't export the nested
features. You can export the features if you check them out
individually. I do notice the nested feature projects don't have the
feature nature either, I don't know what does other than you can't right
click on the feature.xml and generate a build.xml. Also, I expect any
warnings that PDE would put on features wouldn't show up either.

Headless build itself does not care about the feature nature.
-Andrew

Eric Rizzo wrote:
> On 1/22/2009 1:34 PM, Andrew Niefer wrote:
>> Look at the org.eclipse.sdk-feature project in
>> dev.eclipse.org:/cvsroot/eclipse.
>>
>> There are a bunch of feature in subdirectories of that project.
>
> I notice that the project does not have the nature
> org.eclipse.pde.FeatureNature nor include org.eclipse.pde.FeatureBuilder
> - what is the impact of missing the nature and builder? Can you still do
> IDE exports of products and update sites that use features in such a
> project?
>
> Thanks,
> Eric
>
>
>> Eric Rizzo wrote:
>>> It seems that every feature has to be in its own (tiny) project. That
>>> seems very inefficient in terms of management and organization - is
>>> there any trick that would allow multiple features in a single project?
>>>
>>> Eric
>
Previous Topic:HELP: Adding files to RCP product root.
Next Topic:Headless build an update site with multiple features
Goto Forum:
  


Current Time: Thu Jun 24 13:46:39 GMT 2021

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

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

Back to the top