- Incorporate JCR project into Repository project

- Single configuration entry point for JCR and non-JCR clients (i.e. application-context.xml)
- Addition of build-war, incremental-war build targets (no deploy)
- Remove build of JCR TCK war file by default

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2777 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2006-05-05 16:33:22 +00:00
parent c29f0fd4f1
commit 19e3138e1c
80 changed files with 14665 additions and 3 deletions

View File

@@ -23,6 +23,7 @@
<import resource="classpath:alfresco/policy-context.xml" />
<import resource="classpath:alfresco/import-export-context.xml" />
<import resource="classpath:alfresco/bootstrap-context.xml" />
<import resource="classpath:alfresco/jcr-api-context.xml" />
<import resource="classpath*:alfresco/patch/*-context.xml" />
<import resource="classpath*:alfresco/domain/*-context.xml" />

View File

@@ -0,0 +1,20 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="JCR.Repository" class="org.alfresco.jcr.repository.RepositoryImpl" init-method="init">
<property name="serviceRegistry"><ref bean="ServiceRegistry"/></property>
<property name="importerComponent"><ref bean="importerComponent"/></property>
<property name="defaultWorkspace"><value>SpacesStore</value></property>
</bean>
<bean id="JCR.DictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/model/jcrModel.xml</value>
</list>
</property>
</bean>
</beans>

View File

@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!-- This file exists to keep backward compatibility with pre v1.3 releases -->
<!-- JCR clients should now just reference application-context.xml directly -->
<import resource="classpath:alfresco/application-context.xml"/>
</beans>

View File

@@ -0,0 +1,62 @@
<model name="jcr:jcrmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>JCR Model Definitions</description>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
</imports>
<namespaces>
<namespace uri="http://www.jcp.org/jcr/1.0" prefix="jcr"/>
<namespace uri="http://www.jcp.org/jcr/nt/1.0" prefix="nt"/>
<namespace uri="http://www.jcp.org/jcr/mix/1.0" prefix="mix"/>
<namespace uri="http://www.jcp.org/jcr/sv/1.0" prefix="sv"/>
<namespace uri="http://www.w3.org/XML/1998/namespace" prefix="xml"/>
</namespaces>
<types>
<type name="nt:base">
<properties>
<property name="jcr:primaryType">
<type>d:qname</type>
<protected>true</protected>
<mandatory>true</mandatory>
</property>
<property name="jcr:mixinTypes">
<type>d:qname</type>
<protected>true</protected>
<multiple>true</multiple>
</property>
</properties>
</type>
</types>
<aspects>
<aspect name="mix:referenceable">
<properties>
<property name="jcr:uuid">
<type>d:text</type>
<protected>true</protected>
<mandatory>true</mandatory>
</property>
</properties>
</aspect>
<aspect name="mix:lockable">
<properties>
<property name="jcr:lockOwner">
<type>d:text</type>
</property>
<property name="jcr:lockIsDeep">
<type>d:boolean</type>
</property>
</properties>
</aspect>
</aspects>
</model>