When you have your application configured correctly and running on the GAS, you are now
ready to package the files required to deploy it as an application.
This topic provides you with steps to configure and deploy an application that you can test
on your own machine.
For the purposes of this quick start, you can use the configuration files created for the
HelloWorld.xcf application. See Configure an application.
-
Update the application configuration file
<PATH>
element as
follows:
<PATH>$(res.deployment.path)</PATH>
-
Create a new directory where you will archive the application's source files (you can
name it, for example, "helloworld_deploy").
-
Copy all the HelloWorld application source files from
$GSTDIR
/samples to the archive directory.
Note: If you are deploying resources (for example, images or Web components) with your application,
these need to go in dedicated directories in the archive. For details about building an archive with
public resources, please see
Deploying, enabling, and running applications on GAS.
-
Copy the updated application configuration file (HelloWorld.xcf) to the
directory with the application source files.
-
In the same directory, create a MANIFEST file ( see MANIFEST file) and save it with the name "MANIFEST" (without
extension).
The MANIFEST contents resembles the
following:
<MANIFEST>
<DESCRIPTION></DESCRIPTION>
<APPLICATION xcf="HelloWorld.xcf"/>
</MANIFEST>
-
Create an archive (gar) file to deploy your application by
performing the following steps:
-
From the command line, navigate to the directory that contains the application
source files AND the MANIFEST file.
-
Enter the command:
fglgar --gar
.
A Genero Archive (gar) file is created in your current
directory that has the same name as the directory. See the fglgar topic in the Genero Business Development Language User Guide.