This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Setting up CatalogManager.properties on Mac OS X for use with DocBook
- From: Jens Skripczynski <skripi-lists at myrealbox dot com>
- To: Scott Anguish <sanguish at digifix dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 9 Apr 2003 03:22:31 +0200
- Subject: Re: [docbook-apps] Setting up CatalogManager.properties on Mac OS X for use with DocBook
- References: <20030408230524.GA7251@shadowland.sc> <3F313A7C-6A24-11D7-874A-000393B61780@digifix.com>
- Reply-to: Jens Skripczynski <skripi-lists at myrealbox dot com>
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org