Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Importing default project settings to create identical projects

Importing default project settings to create identical projects

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

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:12
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.