db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "semiz" <se...@ntb.ch>
Subject ant -f build-torque.xml create-db
Date Wed, 26 Mar 2003 10:20:12 GMT
Hello,
 
I use MS AccessDB.
 
If i wanne create the Database on it with ant -f build-torque.xml
create-db the fallowing errors occurs!
Must i adapt an odbc –connetion? Where must show it?
 
 
BUILD FAILED
file:C:/MyData/Projects/Aspecta/Lagerverwaltung/ch/bisit/Lagerverwaltung
/DBLogic2/build-torque.xml:284: Exception thrown by 'generator.parse'.
For more information consult the velocity log, or invoke ant with the
-debug flag.
 
Total time: 4 seconds
 
Warning: JAVA_HOME environment variable is not set.
  If build fails because sun.* classes could not be found
  you will need to set the JAVA_HOME environment variable
  to the installation directory of java.
 
Buildfile: build-torque.xml
 
create-db-check:
 
create-db:
[torque-data-model] Generating to file
C:\MyData\Projects\Aspecta\Lagerverwaltung\ch\bisit\Lagerverwaltung\DBLo
gic2\src\sql\create-db.sql
[torque-data-model] Resolver: used database.dtd from
org.apache.torque.engine.database.transform package 
[torque-data-model] Resolver: used
http://jakarta.apache.org/turbine/dtd/database_3_1.dtd
 
and the content of the velocità-file is as fallowing:
 
2003-03-26 11:13:36,734 - SimpleLog4JLogSystem initialized using logfile
'velocity.log'
2003-03-26 11:13:36,734 -
************************************************************** 
2003-03-26 11:13:36,734 - Starting Jakarta Velocity v1.3
2003-03-26 11:13:36,734 - RuntimeInstance initializing.
2003-03-26 11:13:36,734 - Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
2003-03-26 11:13:36,734 - Trying to use logger class
org.apache.velocity.runtime.log.AvalonLogSystem
2003-03-26 11:13:36,734 - Couldn't find class
org.apache.velocity.runtime.log.AvalonLogSystem or necessary supporting
classes in classpath. Exception : java.lang.NoClassDefFoundError:
org/apache/log/format/Formatter
2003-03-26 11:13:36,734 - Trying to use logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2003-03-26 11:13:36,734 - Using logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2003-03-26 11:13:36,754 - Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
2003-03-26 11:13:36,774 - Resource Loader Instantiated:
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2003-03-26 11:13:36,774 - FileResourceLoader : initialization starting.
2003-03-26 11:13:36,774 - FileResourceLoader : adding path
'C:\MyData\Projects\Aspecta\Lagerverwaltung\ch\bisit\Lagerverwaltung\DBL
ogic2\templates'
2003-03-26 11:13:36,774 - FileResourceLoader : initialization complete.
2003-03-26 11:13:36,784 - ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
2003-03-26 11:13:36,804 - Default ResourceManager initialization
complete.
2003-03-26 11:13:36,814 - Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
2003-03-26 11:13:36,814 - Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
2003-03-26 11:13:36,824 - Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
2003-03-26 11:13:36,834 - Loaded System Directive:
org.apache.velocity.runtime.directive.Include
2003-03-26 11:13:36,844 - Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
2003-03-26 11:13:37,154 - Created: 20 parsers.
2003-03-26 11:13:37,154 - Velocimacro : initialization starting.
2003-03-26 11:13:37,154 - Velocimacro : adding VMs from VM library
template : VM_global_library.vm
2003-03-26 11:13:37,285 - ResourceManager : unable to find resource
'VM_global_library.vm' in any resource loader.
2003-03-26 11:13:37,285 - Velocimacro : error using  VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
2003-03-26 11:13:37,285 - Velocimacro :  VM library template macro
registration complete.
2003-03-26 11:13:37,285 - Velocimacro : allowInline = true : VMs can be
defined inline in templates
2003-03-26 11:13:37,285 - Velocimacro : allowInlineToOverride = false :
VMs defined inline may NOT replace previous VM definitions
2003-03-26 11:13:37,285 - Velocimacro : allowInlineLocal = false : VMs
defined inline will be  global in scope if allowed.
2003-03-26 11:13:37,285 - Velocimacro : messages on  : VM system will
output logging messages
2003-03-26 11:13:37,285 - Velocimacro : autoload off  : VM system will
not automatically reload global library macros
2003-03-26 11:13:37,285 - Velocimacro : initialization complete.
2003-03-26 11:13:37,285 - Velocity successfully started.
2003-03-26 11:13:38,376 - ResourceManager : found sql/db-init/Control.vm
with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2003-03-26 11:13:38,406 - ResourceManager : unable to find resource
'sql/db-init/msaccess/createdb.vm' in any resource loader.
2003-03-26 11:13:38,406 - Method parse threw exception for reference
$generator in template sql/db-init/Control.vm at  [2,1]

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message