Hi all,

I'm currently developing on a W2K box and deploying to a Linux box. The
problem I have is in the struts-config.xml file for datasource
configurations. Is there a way to use an environment variable as the initial
path for the DB url? When I need to build a production release, I first have
to change it so that it suits Linux.

Heres the conf, any input would be appreciated.

Thanks,
karl
/***************************************************************************
*/
<data-source
    autoCommit="false"
    description="Test Database"
    driverClass="interbase.interclient.Driver"
    maxCount="5"
    minCount="2"
    password="pass"
        **Windows**
    url="jdbc:interbase://localhost/d:/Projects/database/test.gdb"
        **Linux**
    url="jdbc:interbase://localhost/projects/database/test.gdb"
    user="user"

  />
/***************************************************************************
*/

Reply via email to