protected Repository createRepository() throws Exception {
// Repository repository = new TransientRepository(getRepositoryFile(),
// getHomeDir());
RepositoryConfig repositoryConfig = RepositoryConfig.create(
AbstractJackrabbitTestCase.class
protected Repository createRepository() throws Exception {
// Repository repository = new TransientRepository(getRepositoryFile(),
// getHomeDir());
RepositoryConfig repositoryConfig = RepositoryConfig.create(
AbstractJackrabbitTestCase.class
getHomeDir().getAbsolutePath());
RepositoryImpl repositoryImpl = RepositoryImpl.create(repositoryConfig);
return repositoryImpl;
}
getHomeDir().getAbsolutePath());
RepositoryImpl repositoryImpl = RepositoryImpl.create(repositoryConfig);
return repositoryImpl;
}
@Override
protected void clearRepository(Repository repository) throws Exception {
RepositoryImpl repositoryImpl = (RepositoryImpl) repository;
@Override
protected void clearRepository(Repository repository) throws Exception {
RepositoryImpl repositoryImpl = (RepositoryImpl) repository;