jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "DataStore" by ThomasMueller
Date Fri, 02 Oct 2009 08:10:07 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "DataStore" page has been changed by ThomasMueller:
http://wiki.apache.org/jackrabbit/DataStore?action=diff&rev1=50&rev2=51

  
  {{{
  JackrabbitRepositoryFactory rf = new RepositoryFactoryImpl();
+ Properties prop = new Properties();
+ prop.setProperty("org.apache.jackrabbit.repository.home", DIR);
+ prop.setProperty("org.apache.jackrabbit.repository.conf", DIR + "/repository.xml");
- JackrabbitRepository rep = (JackrabbitRepository) rf.getRepository(null);
+ JackrabbitRepository rep = (JackrabbitRepository) rf.getRepository(prop);
  RepositoryManager rm = rf.getRepositoryManager(rep);
  
  // need to login to start the repository

Mime
View raw message