I'm using torque for this first time today, so yes, this is a newbie
question.
 
I'm using the torque with ant (build-torque.xml) as opposed to maven.
 
the "jdbc" target completes fine, and my schema xml file is produced, but
the "om" task fails miserably.
Here's the velocity.log file:

Sun Mar 13 12:45:04 EST 2005  [debug] AvalonLogSystem initialized using
logfile 'velocity.log'
Sun Mar 13 12:45:04 EST 2005   [info]
************************************************************** 
Sun Mar 13 12:45:04 EST 2005   [info] Starting Jakarta Velocity v1.3.1
Sun Mar 13 12:45:04 EST 2005   [info] RuntimeInstance initializing.
Sun Mar 13 12:45:04 EST 2005   [info] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
Sun Mar 13 12:45:04 EST 2005   [info] Trying to use logger class
org.apache.velocity.runtime.log.AvalonLogSystem
Sun Mar 13 12:45:04 EST 2005   [info] Using logger class
org.apache.velocity.runtime.log.AvalonLogSystem
Sun Mar 13 12:45:04 EST 2005   [info] Default ResourceManager initializing.
(class org.apache.velocity.runtime.resource.ResourceManagerImpl)
Sun Mar 13 12:45:04 EST 2005   [info] Resource Loader Instantiated:
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Sun Mar 13 12:45:04 EST 2005   [info] FileResourceLoader : initialization
starting.
Sun Mar 13 12:45:04 EST 2005   [info] FileResourceLoader : adding path
'D:\dev\.eclipse-workspace\torque-gen\wua\templates'
Sun Mar 13 12:45:04 EST 2005   [info] FileResourceLoader : initialization
complete.
Sun Mar 13 12:45:04 EST 2005   [info] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
Sun Mar 13 12:45:04 EST 2005   [info] Default ResourceManager initialization
complete.
Sun Mar 13 12:45:04 EST 2005   [info] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
Sun Mar 13 12:45:04 EST 2005   [info] Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
Sun Mar 13 12:45:04 EST 2005   [info] Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
Sun Mar 13 12:45:04 EST 2005   [info] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
Sun Mar 13 12:45:04 EST 2005   [info] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
Sun Mar 13 12:45:04 EST 2005   [info] Created: 20 parsers.
Sun Mar 13 12:45:04 EST 2005   [info] Velocimacro : initialization starting.
Sun Mar 13 12:45:04 EST 2005   [info] Velocimacro : adding VMs from VM
library template : VM_global_library.vm
Sun Mar 13 12:45:04 EST 2005  [error] ResourceManager : unable to find
resource 'VM_global_library.vm' in any resource loader.
Sun Mar 13 12:45:04 EST 2005   [info] Velocimacro : error using  VM library
template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
Sun Mar 13 12:45:04 EST 2005   [info] Velocimacro :  VM library template
macro registration complete.
Sun Mar 13 12:45:04 EST 2005   [info] Velocimacro : allowInline = true : VMs
can be defined inline in templates
Sun Mar 13 12:45:04 EST 2005   [info] Velocimacro : allowInlineToOverride =
false : VMs defined inline may NOT replace previous VM definitions
Sun Mar 13 12:45:04 EST 2005   [info] Velocimacro : allowInlineLocal = false
: VMs defined inline will be  global in scope if allowed.
Sun Mar 13 12:45:04 EST 2005   [info] Velocimacro : messages on  : VM system
will output logging messages
Sun Mar 13 12:45:04 EST 2005   [info] Velocimacro : autoload off  : VM
system will not automatically reload global library macros
Sun Mar 13 12:45:04 EST 2005   [info] Velocimacro : initialization complete.
Sun Mar 13 12:45:04 EST 2005   [info] Velocity successfully started.
Sun Mar 13 12:45:04 EST 2005  [error] ResourceManager : unable to find
resource 'sql/base/Control.vm' in any resource loader.

Can anyone help me resolve this or is this question better suited to a
velocity users mailing list?

Thanks,

Ray M



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

Reply via email to