Hi Jeremy,

http://rifers.org/dtd/datasources_1_1.dtd shows you that you can use a <config> tag.

Best regards,

Geert

On 16 Feb 2007, at 01:34, Jeremy Whitlock wrote:

Hi All,
In my config.xml I have a param with a value of "target/data". I would like to be able to get that value within my datasource.xml so the HSQLDB path can be what is entered in the config.xml. For example:

<config>
    <param name="DATA.ROOT">target/data</param>
</config>

<datasources>
  <datasource name="sac">
    <driver>org.hsqldb.jdbcDriver </driver>
    <url>jdbc:hsqldb:<param name="DATA.ROOT" />/sac</url>
    <user>sa</user>
    <password></password>
    <poolsize>5</poolsize>
  </datasource>
</datasources>

Now the syntax above doesn't matter but it should illustrate what I need to do. I have searched the Wiki but I have not found anything.

Take care,

Jeremy
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users

--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to