Re: Java Project API/SPI

Jan Pokorsky <[email protected]> Wed, 23 Jul 2003 21:17:41 +0200
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Organization Sun Microsystems, Inc.
Message-ID <[email protected]>
If you look at the natures owerview 
http://www.netbeans.org/download/prj40_prototype/javadoc/ProjectsCoreAPIs/org/netbeans/api/projects/doc-files/natures.html#Natures 
you can find following definitions:

* natures provide a mechanism for registering extensions to a project in 
a declarative form
* a project nature is a XML file
* it has a unique name and a version
* ...

I do not think the JavaProject accomplishes them. Sorry, that I am not 
constructive but I am not able to bring up any better name.

Jan

Pavel Buzek wrote:
> this is not a blocker but I think it would improve the API (BTW: this is 
> not my idea, I just like it):
> 
> Would not it also make sense to rename JavaProject to JavaNature? IMO 
> this name would make more sense. Now you have multiple *Project classes 
> for one project (Project, IdeProject, JavaProject, WebProject, etc.) 
> while all except 'Project' actually represent the installed natures.
> 
> -pavel
>