db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Day <akc...@yahoo.com>
Subject Re: Not Generating Base Classes
Date Tue, 24 Nov 2009 15:20:47 GMT
I am getting this error in the velocity log:
RHS of #set statement is null. Context will not be modified. om/Control.vm [line 105, column
1], one for each table.  line 105 is 

        #set ($retVar = $builderArray.add("${packagePeer}.${tbl.JavaName}Peer") )


I started over when the templates and still have the same problem.  If I move the code from
the BaseControl.vm to the Control.vm then it generates the base classes, but that is not the
ultimate answer. 

Also, another problem, I cannot get the base classes to build into a separate directory. 
I used the torque.subpackage.base in the default.properties, but it does not work.

Thanks for your help.

 
Angela Day
National Autism Association of Central Texas

http://www.naacentraltexas.org
formally FEAT Austin





________________________________
From: Thomas Fischer <fischer@seitenbau.net>
To: Apache Torque Users List <torque-user@db.apache.org>
Sent: Tue, November 24, 2009 1:22:31 AM
Subject: Re: Not Generating Base Classes

> Upgraded to Torque 3.3 and now not generating Base Classes.  All
> other classes created.  No errors generating.  What am I doing wrong?

In the standard setup out of the box, Torque generates base classes. So
either there should be an error message in the velocity.log, or you have
changed the setup such that base classes are no longer created. In the
latter case, it would be helpful to know in which ways your setup differs
from the standard setup.

I'd recommend downloading the torque generator anew, runnung it on your
schema and then figure out the differences between your setup and the
standard setup. Maybe it is apparent which change it is, or otherwise you
need to apply the changes one after another and check which has this
effect.

        Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message