Sometimes you may want to run xmlimport in a Nix system from the command line. If you try this, xmlimport will probably blurt back at you:
~/adobe/central/bin/xmlimport: can’t find resource file jftools.cat!
Even though xmlimport works fine in standard use of Central
The reason is that in your shell, you probably don’t have the proper environment variables set.
See this public document, that seems to be hidden from the web at the time of writing:
http://www.adobe.com/support/products/enterprise/knowledgecenter/c4814.pdf
It refers you to the XmlImport.pdf documentation for UNIX, which lists the environment variables that need to be set for use of xmlimport
The above error can be corrected by setting the NLSPATH variable to
NLSPATH=/home/username/adobe/central/bin/%N:$NLSPATH
And hey presto! now you can use xmlimport from the command line and from your scripts :-)
