Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 52806 invoked from network); 30 Sep 2005 20:22:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Sep 2005 20:22:10 -0000 Received: (qmail 99557 invoked by uid 500); 30 Sep 2005 20:22:09 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 99538 invoked by uid 500); 30 Sep 2005 20:22:08 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 99527 invoked by uid 99); 30 Sep 2005 20:22:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2005 13:22:08 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.206.41] (HELO web32811.mail.mud.yahoo.com) (68.142.206.41) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 30 Sep 2005 13:22:12 -0700 Received: (qmail 43962 invoked by uid 60001); 30 Sep 2005 20:21:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ownxPzHLEaKQB1iDMgxavtkdZFQ3Eq71rWzX1YSmX+cl4LHxosnwiQeSSvrr1JucvhX4AQmYW4vVqM40FeNSmPCHEB+ouTWXyHMtisHGdUY1DzGR7OFVQhlx3HTnftMahXSPo3tdzopjnCSqPPpoamE5IGp669tRm4OTeDR8KvQ= ; Message-ID: <20050930202144.43960.qmail@web32811.mail.mud.yahoo.com> Received: from [12.20.43.1] by web32811.mail.mud.yahoo.com via HTTP; Fri, 30 Sep 2005 13:21:44 PDT Date: Fri, 30 Sep 2005 13:21:44 -0700 (PDT) From: Jim Caserta Subject: Re: Antwort: RE: VM_global_library.vm not found To: Apache Torque Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thank you all, Breaking it out into a Templates folder worked well. Jim --- Thomas Fischer wrote: > > > > > What do you mean with 'main Torque folder' ? In the > home directory of the > generator, I would create a subdirectory named > 'templates' and extract the > jar there. > > From Torque 3.1 on, the generator is separated from > the runtime, so the > generator should reside in an extra directory. > Though it may seem > convenient at first to use a single directory, it > causes confusion later. > > Thomas > > Jim Caserta schrieb am > 30.09.2005 17:24:33: > > > I think you mean un-package the vm templates and > put > > them in the own Templates folder under the main > Torque > > folder.. correct? > > > > --- Thomas Fischer wrote: > > > > > > > > > > > > > > > > > Jim, > > > > > > the templates are only packaged as jar with the > > > generator, and should be > > > loaded from the classpath by default. Make sure > the > > > generator configuration > > > is configured such that it uses the class path > to > > > look for the templates. > > > If you prefer not to work with the classpath, > > > unpackage the templates jar > > > and make sure the location is known to the > > > generator. > > > > > > Thomas > > > > > > Jim Caserta schrieb am > > > 30.09.2005 16:26:43: > > > > > > > My apologies... > > > > > > > > I used the -noclasspath with the same results, > > > however > > > > I noticed that the last error message in the > > > velocity > > > > log is: > > > > [error] ResourceManager : unable to find > resource > > > > 'sql/base/Control.vm' in any resource loader. > > > > > > > > No source is being generated. Is the situation > the > > > > same with this error message as the other, in > that > > > it > > > > still should be working successfully? Maybe > I'm > > > > missing another problem elsewhere.. > > > > > > > > Thank you.. > > > > Jim > > > > > > > > --- Greg Monroe > wrote: > > > > > > > > > I think the VM_global_library not found > error is > > > not > > > > > the issue. I see > > > > > this message with 3.1.1 builds too. > > > > > > > > > > Most problems of this sort come from old > > > versions of > > > > > the jar files > > > > > being in the class path somewhere. This > includes > > > the > > > > > various libraries > > > > > that Torque is dependent on as well. > > > > > > > > > > Try running ant with the -noclasspath option > to > > > > > prevent picking up > > > > > old versions. If this works, then start > looking > > > > > thru your class path > > > > > for problems. > > > > > > > > > > Good luck > > > > > > > > > > Greg > > > > > > > > > > > -----Original Message----- > > > > > > From: Jim Caserta > > > [mailto:smoothie_jc@yahoo.com] > > > > > > Sent: Friday, September 30, 2005 8:33 AM > > > > > > To: torque-user@db.apache.org > > > > > > Subject: VM_global_library.vm not found > > > > > > > > > > > > > > > > > > Good morning.. > > > > > > > > > > > > I downloaded 3.2-rc2 of Torque and the > latest > > > > > version > > > > > > of Ant. I'm cuurently using Torque 3.0 and > > > > > attempting > > > > > > to convert over. > > > > > > > > > > > > Creating the schema works fine, however > when I > > > > > attempt > > > > > > to generate the java files, I receive the > > > errors: > > > > > > > > > > > > [error] ResourceManager : unable to find > > > resource > > > > > > 'VM_global_library.vm' in any resource > loader. > > > > > > > > > > > > [info] Velocimacro : error using VM > library > > > > > template > > > > > > VM_global_library.vm : > > > > > > > > > > > > > > > > > > > > > org.apache.velocity.exception.ResourceNotFoundException: > > > > > > Unable to find resource > 'VM_global_library.vm' > > > > > > > > > > > > I did find another reference to this > problem, > > > and > > > > > I > > > > > > also downloaded the gen-3.1.1.jar file > that > > > has > > > > > the vm > > > > > > files in it. I placed this 'jar' file in > the > > > 'lib' > > > > > > folder of file 'torque-gen-3.2-rc2', which > is > > > > > where I > > > > > > execute the ant command from, however the > > > problem > > > > > > persists. > > > > > > > > > > > > Thank you in advance for any suggestions! > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > > > > __________________________________ > > > > > > Yahoo! Mail - PC Magazine Editors' Choice > 2005 > > > > > > http://mail.yahoo.com > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > To unsubscribe, e-mail: > > > > > torque-user-unsubscribe@db.apache.org > > > > > > For additional commands, e-mail: > > > > > torque-user-help@db.apache.org > > > > > > > > > > > > > > > > > > > > > > Duke CE Privacy Statement > > > > > Please be advised that this e-mail and any > files > > > > > transmitted with it are confidential > > > communication > > > > > or may otherwise be privileged or > confidential > > > and > > > > > are intended solely for the individual or > entity > > > to > > > > > whom they are addressed. If you are not the > === message truncated === __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org