This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Sun Resolver classes released
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: Sun Resolver classes released
- From: Eric Richardson <eric dot richardson at milagrosoft dot com>
- Date: Thu, 25 Oct 2001 16:57:52 -0700
- Cc: "Bradford, Denis" <denisb at rational dot com>, Norman Walsh <ndw at nwalsh dot com>
- List-Id: <docbook-apps.lists.oasis-open.org>
- Organization: MilagroSoft Inc.
- References: <3906C56A7BD1F54593344C05BD1374B10286E3A2@SUS-MA1IT01>
Bradford, Denis wrote:
> As noted recently, I've got the Sun resolver classes working, but
> not sure it's set up optimally. Is there some way to avoid hard
> coding full catalog pathnames in the CatalogManager.properties file?
All the specs I've sifted through indicate a full pathname - sure enough,
> that's the only thing that seems to work, as in Norm's example:
>
> catalogs=/share/doctypes/catalog
>
> I must be missing something, because that seems very
anti-portability. I'd
> prefer to use an environment variable or relative path, like one of the
> following:
>
> catalogs=$SHARE/doctypes/catalog
> catalogs=%SHARE%/doctypes/catalog
> catalogs=catalog
Norm,
I can't say I like this all that much as well. I currently using the old
xmlcatalog code. The -D parameters are much easier to integrate in ant
as ant gives the absolute path. Not sure what the optimal way is but
maybe it could be a combination. Perhaps a default location related to
the jar file could be imposed so the extra classpath entry doesn't have
to be added for the config file location as this is a bit
counter-intuitive. Maybe look for -D and if none exist then use the
config file if found.
I also have some code for the path stuff for the config file that could
be useful. It's a bit of a hack but at least would be good for some ideas.
Eric
p.s. any status on freeing the software source?
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>