GenCopy

DISCLAIMER: This mechanism is currently deprecated and will eventually be discontinued, please take a look at the Customized Resources.

Sometimes you need to include files in your solution, these typically include client logos or template files that must be present after a solution is fully generated. The way to include this in Genio is by using a mechanism called GenCopy.

In your project folder, the one where your Basecase file is located, there will be a group of folders with the name starting by GenCopy. It's the name given to the folders that will determine where it will be generated,

GenCopy types

GenCopy should follow the following structure:

  • GenCopy\Generic
  • GenCopy\{Platform}
  • GenCopy\Generic_{Sub-Platform}
  • GenCopy\{Platform}_{Sub-Platform}
  • GenCopy_{ClientID}\{AppId}

1. Generic

Files in this folder will be copied to the root of all projects in all platforms

2. Platform

Files will be copied to the root of the given platform. Possible values:

  • MVC
  • QWEB
  • WIN
  • WCF
  • ADMINCS

3. Generic Subplatform

Files will be copied to the root of a sub generation Possible values:

  • CS
  • Reindex

4. Platform and Subplatform

The files will be copied to the subplatform of the specified platform.

5. Client and Application

This is the default way for resources of the given client. Generations without a specific application, like WebAdmin must specify the platform instead.

Example 1: GenCopy_QUIDGEST\APP1 The files will only be copied to the specified application of the given client. Used for customer specific resources.

Example 2: GenCopy_QUIDGEST\ADMINCS This will create files in the WebAdmin folder of the Quidgest client