Re: Extending Natures

Pavel Buzek <[email protected]> Fri, 29 Aug 2003 10:41:28 +0200
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Message-ID <[email protected]>
there are issues filed for this feature in issuezilla, both marked with 
target milestone 4.0, which means they -are- planned.

"There is no API for adding a natures to the existing project."
http://www.netbeans.org/issues/show_bug.cgi?id=34310

UI for managing project natures
http://www.netbeans.org/issues/show_bug.cgi?id=26221

It would be helpful to know what requirements will be implemented in 
4.0. Can someone from project team say that?

-pavel

Tomas Zezula wrote:
> Hi Joe,
> as far as I know the base natures are specified statically in the
> nature-file (ProjectDescriptor section).
> You can't change it dynamically in the current implementation.
> To do what you described, you will need to create two natures and
> two project templates.
> 
> I hope it will change, there was a request from the RMI module and the
> CORBA module to allow adding natures dynamically into the project, but
> this feature was canceled. I hope this will change.
> Adding natures should be quite easy to implement, removing the nature is
> much worse and in my personal opinion it is not needed.
> 
> Tomas
> 
> On Fri, 2003-08-29 at 01:37, Joe Warzecha wrote:
> 
>>I have a situation where, depending on what the
>>user selects on my project creation wizard, my
>>nature may extend nature "a" or nature "b". How
>>can I do this? It seems like all I've seen is
>>how to specify which natures my nature extends
>>in my nature.xml file and I don't want to specify
>>that it extends both "a" and "b".
>>
>>Also, is there a way to change what natures my
>>nature extends? For example, after the project is
>>created, via a system action, I may want to change my
>>nature so that it extends nature "b" instead of nature
>>"a". How can I do this?
>>
>>Thanks,
>>   -Joe-
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [email protected]
>>For additional commands, e-mail: [email protected]
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>