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:
- Create a new project, including all the extensions needed for all projects, search paths, any component parameters etc.
- 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.
- Click Tools > Scripts > Utilities.
- 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.
-
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");
}
- Save the file and close the editor.
- Start Revolve.
- Go to Tools> Shell
- Type (where x:\\yyy represents the location and name of the file you saved above): Show compile(“x:\\yyy.rqs”)
- 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:
- Create NEW project through the wizard
- Press NEXT until you are prompted to Add Components
- Add the components required for this project
- Press NEXT
- UNCHECK “Start the analysis database build process”
- Press Finish
- 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
#SupportTip
#EnterpriseAnalyzer