In the head of the process-conf.xml file, below the <beans> tag and above the first <bean>, add the following code to declare a "user" variable with a specified Salesforce username:
<bean id="user" class="java.lang.String">
<constructor-arg value="yourusername"/>
</bean>
Then in the map entries replace
<entry key="sfdc.username" value="
yourusername"/>with the following code:
<entry>
<key> <value>sfdc.username</value></key>
<ref bean="user" />
</entry>
Do the same in each of the process beans, and use the same technique to declare variables for your environment, encrypted password, and output folders.
To share a properties file external to your process-conf.xml file, use the Spring PropertyPlaceholderConfigurer as detailed in this techno.blog.
Thanks to Jeremy for the tips and syntax.
No comments:
Post a Comment