Look at how Scarab does things. -jon
on 4/12/02 9:57 AM, "Roy Truelove" <[EMAIL PROTECTED]> wrote: > Hello folks, > > I'm having trouble integrating Torque with an existing application. > The application already has a directory tree, ant build file, etc., and > Torque is in a completely seperate dir. What I'd like to do is generate the > .class files for my object with Torque, and then copy them (and whatever > else is needed) over to my application's directory. I've done the following > so far in an attempt to get things working : > > 1. Copied over all of Torque's generated class files (including the "map" > subdirectory) > 2. Copied over all of the necessary .jar files from the lib dir into my > app's classpath. > 3. Copied the run-time props file "Torque.properties run-time" into my app's > classpath (as well as root dir, where the build.xml file is) > > The error I get when trying to do a JUnit test is that log4j was not > initialized, which I'm assuming means that it cannot find the run-time > properties file. > > If moving from Torque to an existing application is too much trouble > (because of integration with log4j, Velocity, etc) would it just be simpler > to move my app over to the Toruqe directories? I'd like to avoid this if > possible. > > Thank in advance for the help, > Roy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
