As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<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="MYWEBSITE"> <map> <entry key="root"><value>/appdeploy/MYWEBSITE</value></entry> <entry key="user"><value>admin</value></entry> <entry key="password"><value>admin</value></entry> <entry key="autoFix"><value>true</value></entry> </map> </entry> …
To define more targets follow the pattern of default-target.xml. There are two steps involved a) definition of your target and b) registration of your target with the deployment engine.
<bean class="org.alfresco.deployment.impl.server.DeploymentTargetRegistrationBean" init-method="register"> … </bean>