On Tue, Feb 12, 2002 at 05:07:55PM -0500, Pete Kazmier wrote:
> On Tue, Feb 12, 2002 at 01:24:21PM -0800, Ryan Campbell wrote:
> > org.apache.velocity.exception.ResourceNotFoundException:
> > Unable to find resource 'om/Object.vm'
> 
> If you send me your build.properties and database schema I'd be happy
> to try and recreate the problem and then post back the results to the
> list.

Unfortunately, I have not had any luck either.  I get the same error you
reported.  When I first attempt to build your object model, it
successfully generates 203 of your 236 base objects (tables).  On the
204th pass, Velocity complains that it cannot find the same template
(om/Object.vm) it has been using for the past 203 passes.  

If I immediately attempt to generate the object model a second time,
Torque will successfully generate the rest of the object model (the
additional 33 classes are generated for a total of 236).  If you don't
mind this two step build process, you should be able to proceed from
here.

I also tried different platforms (linux and solaris).  Both result in
the same behavior.  Perhaps some of the gurus on this list can help you
out.  I didn't post your schema because I wasn't sure if it was ok to do
so without your permission, but it might help if you supplied it to the
list so someone else might try to recreate the problem.

Sorry I couldn't have been of more help.  I've only learned enough to
write the tutorial as I haven't had the need to actually use Torque yet!
:)

Pete

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to