Compiling

 

Parameterizing the IDL compilation command

Once the IDL file has been generated, you can call the IDL compiler, in order to check IDL syntax and generate C++ or Java classes from IDL interfaces generated by Objecteering.  The options available when calling the compiler must be specified in the "Command line parameters for IDL compiler" parameter entry field. 

 

Figure 8. IDL compilation command parameter

 

 

Compiling

To compile, simply run the "MDA components/Corba Designer/IDL compilation" command from the context menu on the IDL generation work product belonging to the "ClimateControlDistributed" package (as shown in Figure 9).

 

Figure 9. Running IDL compilation

 

Steps:

1.      Right-click on the IDL generation work product belonging to the "ClimateControlDistributed" package.

2.      Run the "MDA components/Corba Designer/IDL compilation" command from the context menu that appears.

 

 

Visualizing the result of the compilation

Where there are no compilation errors, a window like the one shown in Figure 10 is displayed, indicating that IDL compilation command has been correctly run.

 

Figure 10. Result of error-free compilation

 

Where errors have occurred, a window like the one shown in Figure 11 appears, indicating the compilation errors that have been encountered.

 

Figure 11. Result of compilation indicating syntax errors

 

The information presented in this screen differs according to the IDL compiler used.