Reading Configuration information from a text file

How to create a configuration XML file, given a set of batch files? Spire needs to know

  1. The order in which the batch files must run.
  2. Which directories the batch files belong in.
  3. How the batch files are organized into dialogs.

  4. This is enough to create a config.xml file. But this file still requires some editing. Additional information is required:
  5. The source location(s) of the batch files (the <Locations> tag).
  6. Project info in (title, image, helpurl) in the <Main> tag
  7. Button info for each batch file (comment_label, button_text, program_name)

Creating a Spire configuration from a text file.

The text file must contain a list of SPIDER batch files, and specify which directories and dialogs they belong to. Python porgrams and other non-SPIDER executables are also allowed. The order of the list indicates the order for running the programs.