jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Toper" <nto...@gmail.com>
Subject Re: Config file and launch backup
Date Tue, 04 Jul 2006 22:11:04 GMT
Hi Jukka,

In our earlier chat today, you used a method from RepositoryImpl create with
two arguments: RepositoryImpl.create("repo.xml", "repo/"); I don't find it
in the Javadoc nor in the code. What is the correct way to instantiate the
right Repository providing I have all params?

Thanks
Nico
my blog! http://www.deviant-abstraction.net !!

On 7/4/06, Jukka Zitting <jukka.zitting@gmail.com> wrote:
>
> Hi,
>
> 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.xmlrepository/
>
> BR,
>
> Jukka Zitting
>
> --
> Yukatan - http://yukatan.fi/ - info@yukatan.fi
> Software craftsmanship, JCR consulting, and Java development
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message