From oquinn@dev-null.com Sat Dec 21 21:15:09 2002 Return-Path: Mailing-List: contact turbine-torque-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list turbine-torque-user@jakarta.apache.org Received: (qmail 19006 invoked by uid 98); 21 Dec 2002 21:15:09 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 18972 invoked from network); 21 Dec 2002 21:15:07 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 21 Dec 2002 21:15:07 -0000 Received: (qmail 88845 invoked by uid 500); 21 Dec 2002 21:13:50 -0000 Received: (qmail 88838 invoked from network); 21 Dec 2002 21:13:50 -0000 Received: from unknown (HELO fsonline.com) (206.196.80.108) by daedalus.apache.org with SMTP; 21 Dec 2002 21:13:50 -0000 Received: from [24.243.194.226] (HELO dev-null.com) by fsonline.com (CommuniGate Pro SMTP 3.3.2) with ESMTP id 3033594 for turbine-torque-user@jakarta.apache.org; Sat, 21 Dec 2002 15:39:29 -0600 Message-ID: <3E04DBD7.1010901@dev-null.com> Date: Sat, 21 Dec 2002 15:23:35 -0600 From: Jim O'Quinn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Turbine Torque Users List Subject: Re: ${strings.getPackageAsPath($pkpeer)}TVoucherBatchPeer.java References: <3E03A9F3.4070409@fsonline.com> <3E04810D.2090106@marmot.at> In-Reply-To: <3E04810D.2090106@marmot.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > are you using torque 3.0??? > > never had this problem .. could you please provide more info about > your environment? 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: 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 > > > martin > > Jim 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: >> >> For additional commands, e-mail: >> >> > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > >