admin@glassfish.java.net

Re: SYNC-007 - exclude user created files from synchronization

From: Jerome Dochez <jerome.dochez_at_oracle.com>
Date: Thu, 08 Jul 2010 22:39:15 -0700

+1

On 7/8/10 4:52 PM, Bill Shannon wrote:
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=12026
>
> Requirement SYNC-007 says:
>
> Provide a mechanism to exclude user created files from being removed by
> cleaning process.
>
> During normal synchronization, only a few subdirectories of the
> instance directory are synchronized. In particular, config,
> applications,
> generated (as a side effect of applications), lib, and docroot.
>
> During full synchronization (--syncfull flag), *all* subdirectories of
> the instance directory were being removed.
>
> To satisfy the above requirement, I propose changing full synchronization
> to only remove the same directories from the list above that normal
> synchronization will synchronize. That means that any *other* directory
> will be left alone. If you want to have user created files that aren't
> touched during synchronization, create a (e.g.) "userdata" directory
> under the instance directory and put your files there.
>
> Note also that this means the logs directory will survive full
> synchronization,
> which is probably a good thing.
>
> Does that seem ok?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>