Skip to content

Associate Project (New Version)

Introduction

When generating source code projects, you can choose to associate them with the project currently open in the window. This allows flexible integration of newly generated projects with existing projects, facilitating unified management and feature expansion. This document demonstrates the merging of projects for Java Web Engineering (New Version).

Associate Project (New Version)

  1. In the first step when inputting the requirement description, select "Associate Project/Submodule", then select "Project" from the list. Then select "Java Web Engineering (New Version)".

Description: Submodules are other modules under this project. For more submodule content, please click on the "Associate Submodule" section below to view.

Associate Submodule

Description: According to your needs, you can choose whether to add context. After adding context, the generated source code will better meet your requirements, based on the context content. For usage details, please click "Associate Context" to view.

Associate Context

  1. In the source code generation step, select rules, or add new rules, customize the content of the rules. Then click "Start Generation"

Associate Project_Rule Files

  1. Start generating source code information.

  1. After generation is complete, click on the generated Java files to view their content.

Description: Viewing code files only previews the code content. Since the required jar packages are not loaded, if code appears highlighted in red, this is normal. After selecting files and merging code, there will be no red highlighting. The left side shows existing code, while the right side shows new code, with the comparison result between the two. If the original project does not have this Java file, the left side will be empty.

  1. Then check the required files, click "Merge Code", after merging, the system will automatically merge the files checked for the current module. After successful merging, it displays the merged files and their locations.

Description: Can only merge to the project currently open in the window.

Description: If you cannot see the merged files, refresh the project cache and you will be able to see the merged files in the corresponding path.

  1. Rollback merged files, click the "Rollback" button.

  1. Rollback successful, when needed later, you can re-check files and merge again.

邮箱:chendw@feisuanyz.com 邮编:518000 地址:深圳市前海深港合作区前湾一路1号A栋201室