Please enable JavaScript to view this site.

Altova MapForce 2020 Professional Edition

MapForce Plug-in for Eclipse > Working with Mappings and Projects

Configuring Automatic Build and Generation of MapForce Code

Scroll Home Prev Top Next More

Automatic MapForce code building and generation is enabled by default in any MapForce/Eclipse project (see Creating a MapForce/Eclipse Project ). If you want to enable automatic build and generation of MapForce code in an existing project which is not of type MapForce/Eclipse, you can do this by manually adding to it the MapForce Code Generation builder and the MapForce nature.

 

To add the MapForce Code Generation builder to a project:

Add to the Eclipse .project file the lines highlighted below:

 

<buildSpec>
    <buildCommand>
        <name>org.eclipse.jdt.core.javabuilder</name>
        <arguments>
        </arguments>
    </buildCommand>
     <buildCommand>
         <name>com.altova.mapforceeclipseplugin.MapForceBuilder</name>
         <arguments>
         </arguments>
      </buildCommand>
  </buildSpec>

 

 

To add the MapForce nature to a project:

Add to the Eclipse .project file the lines highlighted below:

 

  <natures>
    <nature>org.eclipse.jdt.core.javanature</nature>
     <nature>com.altova.mapforceeclipseplugin.MapForceNature</nature>      
  </natures>

 

Tip:You can quickly open the .project file from the Navigator view of Eclipse (To enable this view, select the menu command Window | Show View | Navigator).

 

 

To switch automatic MapForce code generation on/off:

On the Project menu, click Build automatically.

 

 

To disable the MapForce Code Generation builder:

1.On the Project menu, click Properties.

2.Click Builders.

mf_eclipse_disable_mf_builder

3.Click to clear the MapForce Code Generation check box.

© 2019 Altova GmbH