Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 52909 invoked from network); 1 Apr 2005 16:08:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Apr 2005 16:08:14 -0000 Received: (qmail 76813 invoked by uid 500); 1 Apr 2005 16:08:12 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 76790 invoked by uid 500); 1 Apr 2005 16:08:12 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 76772 invoked by uid 99); 1 Apr 2005 16:08:11 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FROM_ENDS_IN_NUMS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from postoffice6.mail.cornell.edu (HELO postoffice6.mail.cornell.edu) (132.236.56.21) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 08:08:10 -0800 Received: from [127.0.0.1] ([132.236.36.57]) by postoffice6.mail.cornell.edu (8.12.10/8.12.6) with ESMTP id j31G87gm017554 for ; Fri, 1 Apr 2005 11:08:08 -0500 (EST) Message-ID: <424D71E5.40602@cornell.edu> Date: Fri, 01 Apr 2005 11:08:05 -0500 From: Laran Evans Reply-To: lc278@cornell.edu Organization: Cornell University User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Torque Users List Subject: Re: sql/db-init/Control.vm & ResourceNotFoundException References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I re-read the documentation on the torque.templatePath property. I was surprised to see that it was required to be a relative path. I had it set to an absolute path built from the relative paths of my build file. In any case, once I specified the templatePath correctly as a relative path, the Control file was found. Thanks Thomas Fischer wrote: > > >Laran, > >which database are you using (the torque.database setting in the >build.properties of the generator) ? And which Torque version are you using >? > > Thomas > >"Laran Evans" schrieb am 31.03.2005 21:01:01: > > > >>I get this when running the create-db Ant task. >> >>org.apache.velocity.exception.ResourceNotFoundException: Unable to find >>resource >> 'sql/db-init/Control.vm' >> >>The torque and torque-gen .jars are in my classpath. I've tried with >> >> >both > > >>torque.useClasspath=true and torque.useClasspath=false. Both failed. >> >>Any suggestions? >> >>-- >>Laran Evans - Cornell University >>p: (607) 255-6864 f: (607) 255-0327 >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org >>For additional commands, e-mail: torque-user-help@db.apache.org >> >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org >For additional commands, e-mail: torque-user-help@db.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org