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:

  1. Create a project in BladeSmith.

    See Create a project for more information.

  2. Define the contents of your module in BladeSmith.

    See Create module objects for more information.

  3. Generate module code in BladeSmith.

    See Generate files for more information.

  4. Edit and compile module code.

    See Edit and compile module code for more information.

  5. Debug your module code.

    See Debug your module for more information.

  6. Repeat steps 2 through 5 until your module is complete and the code functions properly.
  7. 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.

  8. If necessary, repeat steps 4 through 7 until your module is complete and the code functions properly.
  9. Package your module with BladePack.