Tool to run the repository standalone (useful for CIFS and FTP server testing)

Importer no longer flushes integrity events
Improvement to one-jar ant script
Changed bean local references to normal references in scheduler


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2286 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-02-02 14:50:18 +00:00
parent a38de2aa2d
commit 21eab8566f
5 changed files with 152 additions and 22 deletions

View File

@@ -31,7 +31,6 @@ import java.util.Set;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.model.ContentModel;
import org.alfresco.repo.policy.BehaviourFilter;
import org.alfresco.repo.transaction.AlfrescoTransactionSupport;
import org.alfresco.service.cmr.dictionary.ChildAssociationDefinition;
import org.alfresco.service.cmr.dictionary.ClassDefinition;
import org.alfresco.service.cmr.dictionary.DataTypeDefinition;
@@ -395,11 +394,6 @@ public class ImporterComponent
// Import tracking
private List<ImportedNodeRef> nodeRefs = new ArrayList<ImportedNodeRef>();
// Flush threshold
private int flushThreshold = 500;
private int flushCount = 0;
/**
* Construct
*
@@ -535,14 +529,6 @@ public class ImporterComponent
}
}
// do we need to flush?
flushCount++;
if (flushCount > flushThreshold)
{
AlfrescoTransactionSupport.flush();
flushCount = 0;
}
return nodeRef;
}