![]() ![]() ![]() Step 3 (optional): Define a destination folder for the generated sources.Ī destination folder for the generated Java code is set by using #Staruml abstract class full#Thus, the full name of our root package will be. We have defined com.archetype to be a prefix of our root package. In our example, you can see in the Rebel Property Editor that Rebel allows you to set a custom base package for your project, using the Rebel Property Editor. Step 2 (optional): define the base package for your project. ![]() ( contacts) and the value of its stereotype attribute ( root). In the Properties panel below, you can see the name of the package Model Explorer that the contacts is our root package. Looking at our example project, you can see in the StarUML In other words: the UML package having stereotype root is the starting point of the All contents below this package will be processed during the code Setting up a new project Step 1: Using StarUML Property editor, set the stereotype of the projectĬode generation always starts from the package having stereotype This chapter will guide you step by step through the code generation setup.įor the sake of simplicity, we will use the example from the picture below. In order to generate Java code from your UML model, you need to configure the project root We have prepared a short screencast that presents the creation of a simple project, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |