Java Code Generation

Java Add-In

Java Code Generation

Top  Previous  Next

Procedure for Code Generation:

 

1.In StarUML(tm), select the [Tools] -> [Java] -> [Generate Code...] menu.

 

2.At the [Select Starting Package Location] page in the [Java Code Generation] dialog box, select a package and click [Next].

 

java_codegen_baseelement

 

3.At the [Select the code generation element(s)] page, select the elements and click [Next].

 

java_codegen_eleNoAll

 

4.At the [Output Directory Setup] page, select a directory to save the output sources and click [Next].

 

java_codegen_basedir

 

5.At the [Option Setup] page, select options and click [Next]. Reverse engineering will start now.

 

java_codegen_opt

 

6.The [Code Generation] page will show the code generation progress status and return code generation failure or success results.

 

java_codegen_end

noteNote

·The following error will occur if Java code generation is executed without including Java profile. Please ensure that Java profile is included in the project before executing code generation.

 

java_codegen_profile_not_included