db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Monroe" <Greg.Mon...@DukeCE.com>
Subject RE: Template conrrection
Date Thu, 09 Feb 2006 14:15:58 GMT
> in order to use my template before those in the ClassPath

I think the problem is that you need to have ALL the templates
in the new directory and not just the one's you've customized.

> -----Original Message-----
> From: kaneda-java@dedaletechnology.com 
> [mailto:kaneda-java@dedaletechnology.com] 
> Sent: Thursday, February 09, 2006 8:59 AM
> To: torque-user@db.apache.org
> Subject: Template conrrection
> 
> 
> Hi,
> I wanted to customise the template.
> I try to copy the *.vm file into ${basedir}/src/templates
> and set
> torque.templatePath=${basedir}/src/templates
> torque.useClasspath=false
> in order to use my template before those in the ClassPath
> 
> But it does not work.
> 
> I did add * customised by Charles Sabourdin in 
> ${basedir}/src\templates\om\bean\Bean.vm
> but it is not used.
> I use :
> maven-torque-plugin-3.2
> maven 1.1-beta-2
> --
> java version "1.4.2_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 
> 1.4.2_06-b03) Java HotSpot(TM) Client VM (build 1.4.2_06-b03, 
> mixed mode)
> 
> I will try to edit those in 
> $HOME_USER\.maven\repository\torque\jars\torque-gen-templates-
> 3.2.jar but this is not a nice solution
> 
> ---------------------------------------------------------------------
> 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 intended recipient you may not rely
on the contents of this email or any attachments, and we ask that you  please not read, copy
or retransmit this communication, but reply to the sender and destroy the email, its contents,
and all copies thereof immediately.  Any unauthorized dissemination, distribution or copying
of this communication is strictly prohibited.



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message