3.6Artefact
3.6.1General
An Artefact lists all natures and Build commands.
3.6.2Properties
N/A
3.6.3Nature
An Artefact may have one or more Natures.
A Nature defines the type of an Eclipse project.
You have to define the Value property. It corresponds to the value of the Nature (see Figure 1).

Figure 1: Resource Model – Artefact – Nature
3.6.4Build Command
An Artefact may have one or more Build commands.
A Build command defines the command to execute when editing a file.
You have to define the Name property. It corresponds to the ID of the Command (see Figure 2).

Figure 2: Resource Model – Artefact – Build command
3.6.5Set up
3.6.5.1Nature ID
The Nature IDs to define are:
- org.eclipse.wst.common.project.facet.core.nature
- org.eclipse.jdt.core.javanature
- org.eclipse.wst.common.modulecore.ModuleCoreNature
- org.eclipse.jem.workbench.JavaEMFNature
3.6.5.2Build Command
The Build Commands to define are:
- org.eclipse.jdt.core.javabuilder
- org.eclipse.wst.common.project.facet.core.builder
- org.eclipse.wst.validation.validationbuilder