At the moment I achieve this end (having one torque install for all my apps) by blasting away the schema , src/java, src/sql directories and then copying in my torque property files and executing the torque build.xml via an ant call. It seems to work quite well, but I don't do any fancy stuff. I then copy the results back into my source tree.
My torque property files are generated from templates using ant filtersets. This allows me to build releases for each environment just by changing my environmental property file. I can post some of this if anyone is interested Stephen Haberman wrote: >A single, machine-wide installation would allow a clean source tree and >also for customization to occur in the templates, but then those >customizations would occur for any project on the machine that used that >installation, which of course isn't desirable. > >So, what if the templates could have conditional includes? E.g. you >could set a property: > >torque.include.object = src/myadditions.vm >torque.include.peer = src/myadditions2.vm > >Then at the end of Object.vm/Peer.vm, it'd check the corresponding >torque.include.object/torque.include.peer property to see if it should >execute another template in the given context. > >Both the classpath or machine-wide installation could take advantage of >this approach. Looking at the current project I'm working on, I'd really >like the template customization ability but am too stubborn to unzip >torque into my source tree. > >Does this sound like a good idea? I'd be glad to put the functionality >together, but would like to get an okay first. Not a guarantee that it'd >be committed, of course, but just that I'm not wasting my time or >missing a different, better approach. > >Thanks, >Stephen > > > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > >From - Sun Jun 23 18:30:58 2002 >X-UIDL: 1024778845.21084.mail017.syd.optusnet.com.au,S=4431 >X-Mozilla-Status: 0000 >X-Mozilla-Status2: 00000000 >Return-Path: <[EMAIL PROTECTED]> >Received: from m1.dnsix.com (m1.dnsix.com [216.148.213.135]) > by mail017.syd.optusnet.com.au (8.11.1/8.11.1) with ESMTP id g5MKlOX21069 > for <[EMAIL PROTECTED]>; Sun, 23 Jun 2002 06:47:24 +1000 >Received: from [192.18.49.131] (helo=nagoya.betaversion.org) > by m1.dnsix.com with smtp (Exim 3.34 #1) > id 17Lrn1-0008Jp-00 > for [EMAIL PROTECTED]; Sat, 22 Jun 2002 13:47:24 -0700 >Received: (qmail 20543 invoked by uid 97); 22 Jun 2002 20:47:24 -0000 >Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm >Precedence: bulk >List-Unsubscribe: <mailto:[EMAIL PROTECTED]> >List-Subscribe: <mailto:[EMAIL PROTECTED]> >List-Help: <mailto:[EMAIL PROTECTED]> >List-Post: <mailto:[EMAIL PROTECTED]> >List-Id: "Tomcat Users List" <tomcat-user.jakarta.apache.org> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >Delivered-To: mailing list [EMAIL PROTECTED] >Received: (qmail 20531 invoked by uid 98); 22 Jun 2002 20:47:23 -0000 >X-Antivirus: nagoya (v4198 created Apr 24 2002) >Message-ID: <000801c21a2d$fdfa8760$[EMAIL PROTECTED]> >From: "Ed Thompson" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >References: <002001c21a2a$bf9dbe90$6801a8c0@yoda> >Subject: Re: security_constraint question >Date: Sat, 22 Jun 2002 16:47:15 -0400 >MIME-Version: 1.0 >Content-Type: text/plain; > charset="iso-8859-1" >Content-Transfer-Encoding: 7bit >X-Priority: 3 >X-MSMail-Priority: Normal >X-Mailer: Microsoft Outlook Express 6.00.2600.0000 >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > >Thanx, that did it! > >----- Original Message ----- >From: "Mark A. Richman" <[EMAIL PROTECTED]> >To: "'Tomcat Users List'" <[EMAIL PROTECTED]> >Se > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
