Pages: 1
Print
Author Topic: xmetal60.ini and rules_path variable  (Read 2964 times)
dvdbdgr
Member

Posts: 5


« on: August 20, 2010, 10:03:47 AM »

Hi,

Using XMetaL 6.0.1 with the Documentum adapter.

In Documentum, our Application Support Documents are split up into separate folders based on doctype.  When opening a document in XMetaL outside of Documentum, we'd like to be able to use the same Support documents structure.

We tried setting the rules_path variable in xmetal60.ini to the separate folders like this:

rules_path=C:\Documents and Settings\Documentum\XML Applications\folder1;C:\Documents and Settings\Documentum\XML Applications\folder2;C:\Documents and Settings\Documentum\XML Applications\folder3;

Which works, but only for the first 2 doctypes listed in the variable.  Opening a doctype that corresponds to the third entry doesn't work.  We've tried different orders for the paths and this is always the case.

What's the best way to go about this?  Does the rules_path variable support multiple paths?

Thanks!
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2507



WWW
« Reply #1 on: August 20, 2010, 12:10:23 PM »

I'm surprised you get two folders working as we don't test this INI variable with multiple different paths.

One thing you might do would be to use a catalog file. The <xmetal install path>\Rules folder contains a file called catalog (no file extension) that contains default settings. For cleanliness (when upgrading) you might wish to create a new ourcatalog.soc file (whatever filename you wish) and reference it from the main catalog file. You will see a couple of other *.soc files in the same folder which are used for our DITA support and you could use those as examples.

Having said that, keep in mind that our Documentum integration isn't designed to work in "mixed mode" (editing files checked out from Documentum and on the local file system at the same time for the same schema).
« Last Edit: August 20, 2010, 12:14:50 PM by Derek Read » Logged
Pages: 1
Print
Jump to: