Merged DEV\EXTENSIONS to HEAD

svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/DEV/EXTENSIONS@4868 svn://svn.alfresco.com:3691/alfresco/BRANCHES/DEV/EXTENSIONS@4869 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/DEV/EXTENSIONS@4904 svn://svn.alfresco.com:3691/alfresco/BRANCHES/DEV/EXTENSIONS@4938 .
   Module management support
   Modularization of Records Management


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4956 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-01-29 14:43:37 +00:00
parent 0e3da160a2
commit f047c6baaf
42 changed files with 3324 additions and 664 deletions

View File

@@ -0,0 +1,36 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<!--
Context for testing module components.
This is a primary context that pulls in all the others required,
including the Alfresco context.
-->
<beans >
<!-- Import the Alfresco nitty gritty -->
<import resource="classpath:alfresco/application-context.xml" />
<!--
Define the module components that need testing.
This is pretty much how they will appear in individual module contexts, anyway
-->
<bean id="module.test.importerComponent" class="org.alfresco.repo.module.ImporterModuleComponent" parent="module.baseComponent">
<!-- General properties for component management -->
<property name="moduleId" value="module.test" />
<property name="name" value="importerComponent" />
<property name="description" value="A sample data importer" />
<property name="sinceVersion" value="2.0" />
<property name="appliesFromVersion" value="1.0" />
<property name="appliesToVersion" value="1.4" />
<!-- Implementation-specific properties for execution -->
<property name="importer" ref="spacesBootstrap" />
<property name="bootstrapView">
<props>
<prop key="path">/cm:categoryRoot/cm:generalclassifiable</prop>
<prop key="location">module/module-importer-test-categories.xml</prop>
</props>
</property>
</bean>
</beans>

View File

@@ -0,0 +1,26 @@
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
xmlns:sys="http://www.alfresco.org/model/system/1.0"
xmlns:cm="http://www.alfresco.org/model/content/1.0"
xmlns:test="http://www.alfresco.org/test/1.0">
<cm:category>
<cm:name>module.importer.test.categories</cm:name>
<sys:node-uuid>test:xyz-root</sys:node-uuid>
<cm:subcategories>
<cm:category>
<cm:name>X</cm:name>
<sys:node-uuid>test:x</sys:node-uuid>
</cm:category>
<cm:category>
<cm:name>Y</cm:name>
<sys:node-uuid>test:y</sys:node-uuid>
</cm:category>
<cm:category>
<cm:name>Z</cm:name>
<sys:node-uuid>test:z</sys:node-uuid>
</cm:category>
</cm:subcategories>
</cm:category>
</view:view>

Binary file not shown.