| Deploying with Genero Archive / Genero Archive procedures | |
You can list all deployed archives with a single command.
To list all deployed archives:
gasadmin --list-archives
By default, the results are output in text format. When the console output uses the form of an XML document, it can be easier to parse by other applications than textual output. To output in XML, specify the --xml-output option:
gasadmin --list-archives --xml-outputThe exit status is a 0 (zero) in case of success, 1 in case of error.
Command succeeded.
2 archives deployed:
Name : archive1
State : Disabled
Description : This my incredible first archive
Application(s):
- 22223.xcf
- 22224.xcf
Service(s) :
- 15233.xcf
Name : archive2
State : Disabled
Description : This my incredible second archive
Application(s):
- 22315.xcf
Service(s) :
- 17746.xcf
- 19164.xcf
An
example of XML output for an archive
listing:<DEPLOYMENT success=”TRUE”>
<ARCHIVE name=”MyArchive” enabled=”TRUE”>
<DESCRIPTION> This is my first achive </DESCRIPTION>
<APPLICATION xcf=”MyApp1.xcf” />
<APPLICATION xcf=”MyApp2.xcf” />
<SERVICE xcf=”MyServ1.xcf” />
<SERVICE xcf=”MyServ2.xcf” />
</ARCHIVE>
<ARCHIVE name=”MyArchive2” enabled=”TRUE”>
<DESCRIPTION> This is my second archive </DESCRIPTION>
<APPLICATION xcf=”app/MyApp3.xcf” />
<APPLICATION xcf=”app/MyApp4.xcf” />
</ARCHIVE>
</DEPLOYMENT>