admin@glassfish.java.net

Commands that save files

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Mon, 27 Sep 2010 08:54:03 -0500

  We have several commands that save files on the DAS within the domain
directory tree. Here is a (partial?) list and where the files are written:

Command
        Output file location
backup-domain <domaindir>/backups
export-http-lb-config
        <domaindir>/generated
collect-log-files
        no default - --outputfilepath is required param - file is saved on DAS,
param is absolute pathname, no option to save locally (--retrieve)
export-sync-bundle
        <domaindir>/sync


I'm just checking to make sure this is ok when looking at this across
all of the commands.

backup-domain and export-sync-bundle are creating their own directory
for this, while export-http-lb-config is reusing a directory that is
already there. Should the former commands use the generated directory
too? Should export-http-lb-config create its own directory? Should
collect-log-files have a default place within the domain tree to put the
files?

Thoughts?
Tom