This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
documentation:duplicatemodule [2018/04/24 15:07] beudez |
documentation:duplicatemodule [2019/09/04 16:36] (current) beudez |
||
---|---|---|---|
Line 5: | Line 5: | ||
In order to duplicate a module, you have to type the following command from the //capsis4// directory: | In order to duplicate a module, you have to type the following command from the //capsis4// directory: | ||
- | On Linux/MacOS: | + | On Linux/macOS: |
<code>sh ant duplicate-module -Dpackage.name=packagename -Dnew.package.name=newpackagename -Dnew.prefix=Newprefix</code> | <code>sh ant duplicate-module -Dpackage.name=packagename -Dnew.package.name=newpackagename -Dnew.prefix=Newprefix</code> | ||
Line 15: | Line 15: | ||
- //newpackagename// and //Newprefix// are respectively the package name and the prefix of the new module (module to create in //capsis4/src// directory). | - //newpackagename// and //Newprefix// are respectively the package name and the prefix of the new module (module to create in //capsis4/src// directory). | ||
- | For example, the following command (on Linux/MacOS): | + | For example, the following command (on Linux/macOS): |
<code>sh ant duplicate-module -Dpackage.name=training -Dnew.package.name=training2 -Dnew.prefix=Tra2</code> | <code>sh ant duplicate-module -Dpackage.name=training -Dnew.package.name=training2 -Dnew.prefix=Tra2</code> | ||