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 <[EMAIL PROTECTED]> wrote:

Hi,

On 7/3/06, Nicolas Toper <[EMAIL PROTECTED]> 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/ - [EMAIL PROTECTED]
Software craftsmanship, JCR consulting, and Java development

Reply via email to