Hi all, I require help again regarding dfs 6.5. We have a requirement of uploading documents to documentum using dfs 6.5 (Java). We have developed a jar file having the code for the same. The problem is the default location of dfc.properties and dfs-client.xml is inside the source folder. So if the code has to run for a different documentum server (Dev and Prod), we will have to change the dfc.properties and dfs-client.xml which are inside the jar. Is there anyway in which the 2 files can be placed in a different location outside the jar and code be configured to pick them up. Any help will be highly appreciated. Thanks in advance.
March 3, 2009 edited March 3, 2009 #2
Hi, At least for dfc.properties you can quickly specify it's location with a system property like
-Ddfc.properties.file=.
You can also create a JAR file for each environment and add it to the classpath of the server or consumer application. This can also be used for the dfc.properties since the framework also searchers for it in the classpath.