are you using torque 3.0???I'm using torque 3.0, ant 1.5.1 and postgres 7.3. I have an existing database and data that I want to use with Torque. I've done my best to edit the build.properties and Torque.properties (the project is called cns_test). So far I've run:
never had this problem .. could you please provide more info about your environment?
1. ant -f build-torque.xml jdbc
- this works and I get a schema.xml file that I rename to cns_test-schema.xml
2. ant -f build-torque.xml om
- this seems to run, but creates the funny named Java class files
I've run just 'ant build-torque.xml' and it does the same. I'm sure I've got something not configured properly. I went back over the docs and searched the email list, but didn't find anything (maybe I missed it somewhere).
I've posted my config files here:
- http://dev-null.com/build.txt <- this is the output from 'ant build-xml om'
- http://dev-null.com/Torque.properties
- http://dev-null.com/build.properties
- http://dev-null.com/velocity.log
- http://dev-null.com/build-torque.xml
I feel like a fool b/c I can't seem to get this up and running. I'm pretty new to the Java web environment, but I do have SimpleORM and Cayanne working (really, I do!) with Jakarta. I checked out Torque and want to give it a try.
Jim
martinJim O'Quinn wrote:Okay, I've hit another bump and really didn't want to ask for help again, but I can't figure out what is up.
I'm able to generate my xml schema from an existing database, that works well.
I went to run 'ant -f build-torque.xml om' and it did generate the source files, but with '${strings.getPackageAsPath($pkpeer)}' in the file name.
I have 'torque.targetPackage = org.apache.torque' set in the build.properties.
I hate to ask, but can someone kick me in the right direction? I'm SO close.
Thanks,
Jim
${strings.getPackageAsPath($pkpeer)}TVoucherBatchPeer.java
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
