Develop your module
Developing your module is an iterative process that involves creating objects in BladeSmith, generating code, editing and compiling code, and testing and debugging code.
When you identify errors, you must repeat the process to correct errors. development can be iterative in another way: you can create objects in BladeSmith one by one, coding and testing each one before creating the next. When you are finished developing your module, you package it for distribution.
To create your module:
- Create a project in BladeSmith.
See Create a project for more information.
- Define the contents of your module
in BladeSmith.
See Create module objects for more information.
- Generate module
code in BladeSmith.
See Generate files for more information.
- Edit and compile module
code.
See Edit and compile module code for more information.
- Debug your module
code.
See Debug your module for more information.
- Repeat steps 2 through 5 until your module is complete and the code functions properly.
- Test your module
code.
Run generated functional test scripts on UNIX™ or on Windows™ with a UNIX™ emulation program. For instructions for UNIX™, see Performing functional tests. For instructions for Windows™, see Performing functional tests on modules.
- If necessary, repeat steps 4 through 7 until your module is complete and the code functions properly.
- Package your module with BladePack.