Skip to main content

This article explains how to import project settings into a new project.

Problem:

Is there a way to create a file containing default project settings, which can be used as a template to create identical projects?

Resolution:

Yes, there is a way to achieve this. Follow these steps to import project settings into a new project:


  1. Create a new project, including all the extensions needed for all projects, search paths, any component parameters etc.
  2. Once you are happy with the settings, add a component (any will do) but actual loading of the component is not a requirement of this procedure.
  3. Click Tools > Scripts > Utilities.
  4. Click Generate a script to build this project from scratch and at the prompt, save the project either to the default location or one of your choosing.
  5. Open the saved file in a text editor, and edit the ADD COMPONENTS section to remove the lines that identify the component you added to your project. For example:
              //   Add components:
    if (addComp("yourComponentName", type="system_component_jcl") > 0) { vComp := (system_component_jcl="REP1.JCL");
    }
  6. Save the file and close the editor.
  7. Start Revolve.
  8. Go to Tools> Shell
  9. Type (where x:\\yyy represents the location and name of the file you saved above): Show compile(“x:\\yyy.rqs”)
  10. You should get a return code 1 from the compilation

You now have a compiled script that contains the environment variables and set options for your project(s).

To run this script to create new projects:


  1. Create NEW project through the wizard
  2. Press NEXT until you are prompted to Add Components
  3. Add the components required for this project
  4. Press NEXT
  5. UNCHECK “Start the analysis database build process”
  6. Press Finish
  7. Go to Tools> Shell and type (where x:\\yyy represents the location and name of the file you compiled above): invoke(“x:\\yyy.rqc”)

This will build the project with all the features, specific variables and options etc. from your project template.

Incident Number: 2202899

Old KB# 14388

#SupportTip
#EnterpriseAnalyzer