Date: 2004-04-18T13:53:06 Editor: 195.68.214.209 <> Wiki: DB Torque Wiki Page: FrequentlyAskedQuestions URL: http://wiki.apache.org/db-torque/FrequentlyAskedQuestions
no comment Change Log: ------------------------------------------------------------------------------ @@ -168,9 +168,17 @@ Question: Is there a way to use one installation of torque for different projects without having a copy of torque-gen for each project (e.g. copy the build-torque.xml and build.properties and set a parameter in build.properties to the torque basedir) -Answer: ???? - -- Michael Wyraz + +Answer: Yes. Torque is mavenized, thus you can install and use torque as a plugin for maven. +http://db.apache.org/torque/maven-plugin/ +http://db.apache.org/torque/maven-howto.html + +after successfull instalation of the plugin you will be able to run for example +maven -D absolute_folder_location torque:om +which will look inside the given path and will run the puild.properties that are located there. and the xml defined schema will be in a relative folder + +-- bogdan ---- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
