What is the JavaEMFNature <nature> for an Eclipse project?

I am ready to create an existing Java project in NetBeans. I look at previously created build-related files to confirm that I can safely build directly from source files.

There is a .project file in the root directory. This is a short file, so I include it here:

 <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>qrcode</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jem.workbench.JavaEMFNature</nature> <nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature> </natures> </projectDescription> 

For this question, I would like to know, in particular, what JavaEMFNature <nature> . I can not find any link to information about this anywhere.

A secondary but related question: am I correcting that no matter what the JavaEMFNature , that it is not intended to be executed (as indicated in the .project file)?

Another secondary question: what are the other two <natures> , and what is the purpose of <buildCommand> ( org.eclipse.jdt.core.javabuilder )?

I raise these questions first of all to confirm that I can ignore this .project file as I am re-creating the project in NetBeans, but I also ask to find out (for future reference).

+6
source share
2 answers

JavaEMFNature is an internal JEM class that is a Java language model implemented in EMF terms. As far as I know, it is also used by WTP for the JSP / JSF model. This is part of the JEETools project and is responsible for all sorts of things, such as getting source paths and containers, library paths, updating the classpath for the project, etc.

All this in the source code if you want to go through it ...

+11
source

I think EMF stands for Eclipse Modeling Framework http://www.eclipse.org/modeling/emf/

+1
source

Source: https://habr.com/ru/post/908472/


All Articles