Step 4: Run the project as console application

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Code Generator > Generating Java code > Example: Build a Java application with Eclipse and Ant >

Step 4: Run the project as console application

To run the Java project as a console application:

1.In the Package Explorer view of Eclipse, click the MappingConsole.java file available in the com.mapforce package.

eclipse_select_console_application

2.On the Run menu, click Run As | Java application.

 

If Eclipse detects system configuration or run-time errors, you will be prompted. Otherwise, the Java application executes the mapping transformation and generates the CompletePO.xml at the output path (in this example: C:\workspace\CompletePO\CompletePO.xml).


© 2019 Altova GmbH