laplacian-tutorial projects.
Read this in other languages: [日本語] [简体中文]
The following graph shows the dependencies between each project.
The application-model project.
The java-stack-service project.
The domain-model project.
-
./script/create-new-application-model-project.sh
Adds a new application-model project to this project group.
Usage: create-new-application-model-project.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
, --project-name [VALUE]
New project's name (Default: application-model) , --project-version [VALUE]
The initial version number (Default: 0.0.1) , --namespace [VALUE]
Namespace (Default: laplacian.tutorial)
-
./script/create-new-domain-model-plugin-project.sh
Adds a new domain-model-plugin project to this project group.
Usage: create-new-domain-model-plugin-project.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
, --project-name [VALUE]
New project's name (Default: domain-model-plugin) , --project-version [VALUE]
The initial version number (Default: 0.0.1) , --namespace [VALUE]
Namespace (Default: laplacian.tutorial)
-
./script/create-new-domain-model-project.sh
Adds a new domain-model project to this project group.
Usage: create-new-domain-model-project.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
, --project-name [VALUE]
New project's name (Default: domain-model) , --project-version [VALUE]
The initial version number (Default: 0.0.1) , --namespace [VALUE]
Namespace (Default: laplacian.tutorial)
-
./script/create-new-generator-project.sh
Adds a new generator project to this project group.
Usage: create-new-generator-project.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
, --project-name [VALUE]
New project's name (Default: generator) , --project-version [VALUE]
The initial version number (Default: 0.0.1) , --namespace [VALUE]
Namespace (Default: laplacian.tutorial)
-
./script/create-new-java-stack-service-project.sh
Adds a new java-stack-service project to this project group.
Usage: create-new-java-stack-service-project.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
, --project-name [VALUE]
New project's name (Default: java-stack-service) , --project-version [VALUE]
The initial version number (Default: 0.0.1) , --namespace [VALUE]
Namespace (Default: laplacian.tutorial)
-
./script/create-new-model-project.sh
Adds a new model project to this project group.
Usage: create-new-model-project.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
, --project-name [VALUE]
New project's name (Default: model) , --project-version [VALUE]
The initial version number (Default: 0.0.1) , --namespace [VALUE]
Namespace (Default: laplacian.tutorial)
-
./script/create-new-plugin-project.sh
Adds a new plugin project to this project group.
Usage: create-new-plugin-project.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
, --project-name [VALUE]
New project's name (Default: plugin) , --project-version [VALUE]
The initial version number (Default: 0.0.1) , --namespace [VALUE]
Namespace (Default: laplacian.tutorial)
-
./script/create-new-project-group-project.sh
Adds a new project-group project to this project group.
Usage: create-new-project-group-project.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
, --project-name [VALUE]
New project's name (Default: project-group) , --project-version [VALUE]
The initial version number (Default: 0.0.1) , --namespace [VALUE]
Namespace (Default: laplacian.tutorial)
-
./script/create-new-project-types-project.sh
Adds a new project-types project to this project group.
Usage: create-new-project-types-project.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
, --project-name [VALUE]
New project's name (Default: project-types) , --project-version [VALUE]
The initial version number (Default: 0.0.1) , --namespace [VALUE]
Namespace (Default: laplacian.tutorial)
-
./script/create-new-template-project.sh
Adds a new template project to this project group.
Usage: create-new-template-project.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
, --project-name [VALUE]
New project's name (Default: template) , --project-version [VALUE]
The initial version number (Default: 0.0.1) , --namespace [VALUE]
Namespace (Default: laplacian.tutorial)
-
./script/do-each-subproject.sh
Executes the command specified by the argument for each subproject.
Example:
$ ./scripts/null -c git statusUsage: do-each-subproject.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
-c, --continue-on-error
Even if the given command fails in a subproject in the middle, executes it for the remaining subprojects.
-
Generates resources in the project, including subprojects.
Usage: generate-all.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
-c, --continue-on-error
Even if the given command fails in a subproject in the middle, executes it for the remaining subprojects.
-
./script/generate-application-model.sh
Generates the laplacian-tutorial/application-model project as a subproject in the following directory.
subprojects/application-modelIf the subproject already exists, the content of the subproject is updated.
Usage: generate-application-model.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
-c, --clean
Delete all local resources of the subproject and regenerate them.
-
./script/generate-domain-model.sh
Generates the laplacian-tutorial/domain-model project as a subproject in the following directory.
subprojects/domain-modelIf the subproject already exists, the content of the subproject is updated.
Usage: generate-domain-model.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
-c, --clean
Delete all local resources of the subproject and regenerate them.
-
./script/generate-java-stack-service.sh
Generates the laplacian-tutorial/java-stack-service project as a subproject in the following directory.
subprojects/java-stack-serviceIf the subproject already exists, the content of the subproject is updated.
Usage: generate-java-stack-service.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
-c, --clean
Delete all local resources of the subproject and regenerate them.
-
Generates the resources in each directory of
src/model/template/in this project. The results are reflected in each directory ofdest/doc/script/.Generator input files
-
src/Stores static resources that are not processed the generator. The contents of this directory are copied directly into thedest/directory. -
model/Stores the static model data files written in YAML or JSON format used for the generation. -
template/This directory contains the template files used for the generation. Files with a extension.hbswill be handled as templates. All other files are copied as is.-
template/desttemplate/doctemplate/scriptsEach of these directories contains the template files of the resource to be output in the directorydest/doc/scripts. -
template/modeltemplate/templateThese directories store template files updating the contents oftemplate/andmodel/used for the generation. If the content oftemplate/model/is updated as a result of the generation, the generation process is executed recursively. The changes totemplate/model/that occur during the above process are treated as an intermediate state and will be lost after the completion of the process. Use the --dry-run option to check these intermediate files.
-
Generator output files
-
dest/Outputs the source files of applications and modules created as the result of the generation process. -
doc/Outputs the project documentation. -
scripts/Outputs various scripts used in development and operation.
Usage: generate.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
-d, --dry-run
After this command is processed, the generated files are output to the
.NEXTdirectory without reflecting to the folders ofdest/doc/scripts/. In addition, the difference between the contents of the.NEXTdirectory and the current files. This directory also contains any intermediate files created during the generation.-r, --max-recursion [VALUE]
The upper limit of the number of times to execute recursively when the contents of the
model/template/directory are updated during the generation process. (Default: 10) , --local-module-repository [VALUE]The repository path to store locally built modules. The modules in this repository have the highest priority.
, --updates-scripts-only
Updates script files only. This option is used to generate the generator script itself when the project is initially generated.
-
-
./script/git-each-subproject.sh
Executes the git sub-command specified by the argument for each subproject.
Example:
$ ./scripts/null -c statusUsage: git-each-subproject.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
-c, --continue-on-error
Even if the given command fails in a subproject in the middle, executes it for the remaining subprojects.
-
After the resources in the project are generated, the resources in the
./destdirectory are built as a generator module and registered in the local repository.Usage: publish-local.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
-r, --max-recursion [VALUE]
This option is the same as the option of the same name in generate.sh. (Default: 10) , --skip-generation
This option is the same as the option of the same name in generate.sh.
, --local-module-repository [VALUE]
The path to the local repository where the built module will be stored. If the repository does not exist in the specified path, it will be created automatically.
-
./script/publish-local-application-model.sh
Generates resources for the laplacian-tutorial/application-model subproject.
Usage: publish-local-application-model.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
-
./script/publish-local-domain-model.sh
Generates resources for the laplacian-tutorial/domain-model subproject.
Usage: publish-local-domain-model.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
-
./script/publish-local-java-stack-service.sh
Generates resources for the laplacian-tutorial/java-stack-service subproject.
Usage: publish-local-java-stack-service.sh [OPTION]...
-h, --help
Displays how to use this command.
-v, --verbose
Displays more detailed command execution information.
- model/project/subprojects/application-model.yaml
- model/project/subprojects/java-stack-service.yaml
- model/project/subprojects/laplacian-tutorial/application-model.yaml
- model/project/subprojects/laplacian-tutorial/domain-model.yaml
- model/project/subprojects/laplacian-tutorial/java-stack-service.yaml
- model/project.yaml