db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hicnar_torque_l...@o2.pl
Subject Re: The bookstore example
Date Tue, 10 Feb 2004 00:09:33 GMT
Thomas,

If you want to use the schema anywhere outside the torque main
directory you must change one of the properties in the
build-torque.xml, namely 

<property name="lib.dir" location="YOUR_TORQUE_LIB_LOCATION"/>

for example I've got...
<property name="lib.dir" location="/usr/local/torque/lib"/>

or (a more flexible solution) you can set yet another property in
your build.properties file so that it refers to the torque lib

for example in build.properties you add:

torque.lib.location = /usr/local/torque/lib

and then in the build-torque.xml you change the line to:

<property name="lib.dir" location="${torque.lib.location}"/>

then you can create the appropriate directory structure (just one
directory with your xml database schema) anywhere and it will work.


Cheers
Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message