[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Setting up CatalogManager.properties on Mac OS X for use with DocBook
Scott Anguish: > it's whatever the default one is in the first case, which includes this > path as one of the 'extensions' directories. > > and in the other, it's explicitly including java -cp > "/Library/Java/Extensions" Maybe just for getting the file to work, I have written a small Program using java.Util.RessourceBundle to load the Properties. So you do not have to run xalan to test this. ----------------------------------------- import java.util.*; public class Proptest { public static void main(String argv[]) throws java.io.IOException { // get file ResourceBundle test = ResourceBundle.getBundle("CatalogManager"); Enumeration keys = test.getKeys(); while (keys.hasMoreElements()) { String key = (String) keys.nextElement(); String value = test.getString(key); System.out.println(key + "=" + value); } } } ----------------------------------------- Ciao Jens Skripczynski -- E-Mail: skripi-lists(at)myrealbox(dot)com There are three ways to get something done: (1) Do it yourself. (2) Hire someone to do it for you. (3) Forbid your kids to do it.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]