02-04-2009 04:02 PM
02-05-2009 05:31 AM
02-05-2009 10:03 AM
application-context.xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Sample FSDeploymentRunnable implementation - add others here –>
<bean id="sampleRunnable" class="org.alfresco.deployment.SampleRunnable"/>
<bean id="sampleProgramRunnable" class="org.alfresco.deployment.ProgramRunnable">
<property name="program"><value>/bin/cp</value></property>
<!– Arguments that get appended to the final command line –>
<property name="arguments">
<list>
<value>/Users/britt/dump.txt</value>
</list>
</property>
<!– The directory that the program runs in. –>
<property name="directory"><value>/</value></property>
</bean>
<bean id="properties"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="ignoreUnresolvablePlaceholders">
<value>true</value>
</property>
<property name="locations">
<list>
<value>classpath:deployment.properties</value>
</list>
</property>
</bean>
<bean id="configuration" class="org.alfresco.deployment.config.Configuration"
init-method="init">
<property name="dataDirectory">
<value>${dep.datadir}</value>
</property>
<property name="logDirectory">
<value>${dep.logdir}</value>
</property>
<property name="metaDataDirectory">
<value>${dep.metadatadir}</value>
</property>
<!– Target Configuration. Modify for your site. –>
<property name="targetData">
<map>
<entry key="mktContent">
<map>
<entry key="root"><value>/apps/alfresco/deploy/mktContentStage</value></entry>
<entry key="user"><value>admin</value></entry>
<entry key="password"><value>admin</value></entry>
</map>
</entry>
</map>
</property>
</bean>
<bean id="deploymentReceiverService" class="org.alfresco.deployment.impl.server.DeploymentReceiverServiceImpl"
init-method="init">
<property name="configuration">
<ref bean="configuration"/>
</property>
</bean>
<bean id="deploymentReceiverTransport" class="org.alfresco.deployment.impl.server.DeploymentReceiverTransportImpl">
<property name="deploymentReceiverService">
<ref bean="deploymentReceiverService"/>
</property>
</bean>
<bean id="deploymentReceiverTransportRMI" class="org.springframework.remoting.rmi.RmiServiceExporter">
<property name="service">
<ref bean="deploymentReceiverTransport"/>
</property>
<property name="serviceInterface">
<value>org.alfresco.deployment.DeploymentReceiverTransport</value>
</property>
<property name="serviceName">
<value>deployment</value>
</property>
<property name="registryPort">
<value>${dep.rmi.port}</value>
</property>
</bean>
</beans>
02-05-2009 10:48 AM
02-05-2009 11:37 AM
04-30-2009 05:22 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.