AMAPstudio

User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:new_module [2018/10/31 13:55]
beudez [4. Update the capsis4/etc/capsis.models file]
documentation:new_module [2019/09/04 16:35] (current)
beudez [5. Compile and test the new module skeleton]
Line 57: Line 57:
 You can use the **create-module** command of Ant to generate a copy of the template module. For that you have to type the following command from the capsis4/ directory. You can use the **create-module** command of Ant to generate a copy of the template module. For that you have to type the following command from the capsis4/ directory.
  
-On Linux/MacOS:+On Linux/macOS:
  
 <​code>​ <​code>​
Line 119: Line 119:
 ==== 4. Update the capsis4/​etc/​capsis.models file ==== ==== 4. Update the capsis4/​etc/​capsis.models file ====
  
-Add a line for the new module in the case it has been created by copying ​byb hand an existing module (see section 2.3 above). The name to be specified is the package name all in lowercase letters.+Add a line for the new module in the case it has been created by copying ​by hand an existing module (see [[documentation:​new_module?&#​option_3create_the_skeleton_by_copying_by_hand_an_existing_module_experts_only|section 2.3]]). The name to be specified is the package name all in lowercase letters.
  
-If the new module has been created using the ''​ant ​create-module''​ command ​(see [[new_module?&#​option_3create_the_skeleton_by_copying_by_hand_an_existing_module_experts_only|section 2.1]]) +If the new module has been created using the **create-module** (see [[documentation:​new_module?&#​option_1create_the_skeleton_from_the_template_module_recommended|section 2.1]]) 
-or the ''​ant ​duplicate-module''​ command ​(see [[new_module?&#​option_2create_the_skeleton_by_duplicating_automatically_an_existing_module_recommended|section 2.2]]) +or the **duplicate-module** (see [[documentation:​new_module?&#​option_2create_the_skeleton_by_duplicating_automatically_an_existing_module_recommended|section 2.2]]) ​commands of Ant, then there is nothing to do: the line for the new module has been added automatically to the capsis4/​etc/​capsis.models file.
-thenthere is nothing to do: the line for the new module has been added automatically to the capsis4/​etc/​capsis.models file.+
 ==== 5. Compile and test the new module skeleton ==== ==== 5. Compile and test the new module skeleton ====
  
 Force a general recompilation with the following command (from the Capsis install directory). Force a general recompilation with the following command (from the Capsis install directory).
  
-On Linux/MacOS:+On Linux/macOS:
 <​code>​ <​code>​
 sh ant clean compile sh ant clean compile
documentation/new_module.1540990505.txt · Last modified: 2018/10/31 13:55 by beudez