|
From: Jason v. Z. <ja...@ze...> - 2003-02-01 16:45:46
|
Hi,
I've added variable interpolation in the XMLProperty.java file so that I
can more easily integrate Hermes into our application server. The
interpolation only works with system properties with the "ebxmlms"
prefix.
So I'm setting a system property in our application server with:
<system-properties>
<property name="ebxmlms.basedir" value="${plexus.work}/ebxmlms"/>
</system-properties>
And then I can do something like the following in the
msh.properties.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Property>
<MSH>
<Log>
<!-- "JDK" or "LOG4J" -->
<UseLogger>LOG4J</UseLogger>
<!-- empty path: user.home -->
<LogPath>${ebxmlms.basedir}</LogPath>
<LogFile>msh.log</LogFile>
...
</Log>
</MSH>
</Property>
This makes it very easy for integrators, like myself, to move the
application server around the filesystem and have things completely
self-contained.
So this means we can deploy Hermes and not have to deal with absolute
paths which is essential for our installation setup.
You can find the file here:
http://www.apache.org/~jvanzyl/ebxmlms/XMLProperty.java
I'll send changes in whatever form you like. Do you prefer patches or
whole files?
--
jvz.
Jason van Zyl
ja...@ze...
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
|