Create Genero Archive from MANIFEST

Create a Genero Archive (gar) file for applications and services MANIFEST file.

About this task

If you have many applications to package, it is recommended to create the MANIFEST by hand. The fglgar checks if a MANIFEST file is present in the archive directory and uses it to create the Genero Archive (.gar) file.

Before you begin

As a prerequisite, you have:

  • Created a MANIFEST file.
  • Created application configuration files (xcf) for your applications and/or services
Note:

When you use the fglgar tool to create your Genero Archive and you specify --application or --service with an .xcf file as parameter, the fglgar tool automatically creates the MANIFEST for you, pointing to the specified .xcf file. If you specify --application or --service with a .42m or .42r file as parameter, the tool will automatically generate a standard .xcf for that app or service, and create a MANIFEST file that points to the generated .xcf file.

Use the fglgar tool to create a Genero Archive.
If you are in the directory containing your MANIFEST file and your program files, type the command:
fglgar gar -s directory

where the -s option specifies the source directory. If no other parameters are specified, the -s option is mandatory. However, if you add the --application or --service option, the -s is no longer mandatory and it defaults to current directory.

This creates a Genero Archive (.gar) file with the same name as the archive directory.

If you need to specify the directory where the archive content is located, include the --input-source option:
fglgar gar --input-source ./fuzzy

This creates a Genero Archive (.gar) file with the same name as your program, drawing its content from the ./fuzzy directory.

If you wish to specify a name for your archive, use the --output option:
fglgar gar --input-source ./fuzzy --output myfuzzy.gar
This creates a Genero Archive (.gar) file with the name myfuzzy.gar, drawing its content from the ./fuzzy directory.
Note:

The Genero Archive (.gar) file name has no importance.

What to do next

When you have created the archive in the above steps, your next task is to deploy the archive file on the GAS.