Re: MDR first test

Martin Matula <[email protected]> Mon, 23 Dec 2002 15:52:24 +0100
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
Hi Matteo,

[email protected] wrote:
> I need to generate a repository starting from my metamodel exported by Rose
> Unisys plugin
> Is MDR the right tool to generate my own repository?

Sure.

> How I can store the repository in memory. Infact the default SPI is based
> on Btree.

The SPI is just set of interfaces. We have two different implementations 
of it - one is btree and the other one is an implementation using 
HashMaps - it is memory-only.
System property org.netbeans.mdr.storagemodel.StorageFactoryClassName 
controls which implementation of storage factory is used. Just set it to 
the class name of storage factory for memory implementation, which is:
org.netbeans.mdr.persistence.memoryimpl.StorageFactoryImpl

> There are same sample code on the web to navigate the repository except the
> XTest from CVS. It doesn't work.

I am not sure what code you mean. Have you tried to download MDR modules 
from NetBeans Update Center, or are you trying to use the MDR as a 
standalone library?
Regards,
Martin