Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Perform Steps above to setup to setup a common rules repository.

  2. Create a folder called ProjectRules in the DDB repository.

    1. Add folders to this folder for Forecast, PostForecast, PreForecast, and SqlRules.

  3. Add any project-specific rules to these folders beneath ProjectRules.

  4. In the packager automation script, after the Steps above that copy the common rules into the DDB repository do the following:

    1. Use shell commands to copy the rules from ProjectRules into Rules of the DDB repository.

      1. Windows

        Code Block
        xcopy /s/y ProjectRules\\* Rules
      2. Linux

        Code Block
        cp -r ProjectRules/* Rules
  5. The hammer packager command should be able to run without any modifications. The rules from the common rules repository will be in place in the Rules folder of the project with additional project-specific rules included as well.

...

  1. Perform Steps above to setup to setup a common rules repository.

  2. Create a folder called ProjectRules in the DDB repository.

    1. Add folders to this folder for Forecast, PostForecast, PreForecast, and SqlRules.

  3. For any rules you wish to modify, use the same rule name as what is present in the common rules repository.

    1. Make the necessary code adjustments to the rule.

  4. Place the project-specific rule in the appropriate folder beneath ProjectRules.

  5. In the packager automation script, after the Steps above that copy the common rules into the DDB repository do the following:

    1. Use shell commands to copy the rules from ProjectRules into Rules of the DDB repository.

      1. Windows

        Code Block
        xcopy /s/y ProjectRules\\* Rules
      2. Linux

        Code Block
        cp -r ProjectRules/* Rules
  6. The hammer packager command should be able to run without any modifications. The rules from the common rules repository will be in place in the Rules folder of the project with any project-specific overrides having replaced the common rule.

...