jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Config file and launch backup
Date Tue, 04 Jul 2006 07:42:33 GMT

On 7/3/06, Nicolas Toper <ntoper@gmail.com> wrote:
> I am working on the main class of the backup tool (LaunchBackup class) and I
> have a configuration question: the XML Config file is not specific to a
> repository (it is fairly general option such what to backup and so on).
> The main class should now which repository to backup. Would you like me to
> specify this in the command line or in the XML Config file. Since the XML
> file can be generic, I think it is more advisable to put it in

I think it's better left to the command line, at least as a starting
point. Something like this:

    java org.apache.jackrabbit.Backup backup.xml repository.xml repository/


Jukka Zitting

Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

View raw message