incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raj Saini <rajsa...@gmail.com>
Subject Graffito build failure with PostgreSQL 8.1
Date Thu, 02 Feb 2006 10:14:43 GMT
Hi,

I am trying to build Graffito on Jetspeed 2.0.1 Branch. Build fails with
following message:

==================Build error messages===========================
test:test:
test.dbsetup:
    [copy] Copying 1 file to
C:\Projects\graffito\components\target\test-classes

    [echo] driver path : C:/Program Files/PostgreSQL/8.1/jdbc/postgresql-
8.1-404
.jdbc3.jar

db.reinit.test:
db.test.properties:
    [echo] org.apache.portals.graffito.test.database.default.name : postgres
    [echo] org.apache.portals.graffito.test.database.url :
jdbc:postgres://local
host/portal
    [echo] org.apache.portals.graffito.test.database.driver :
org.postgresql.Dri
ver
    [echo] org.apache.portals.graffito.test.database.user : portal
    [echo] org.apache.portals.graffito.test.database.password : portal
    [echo] org.apache.portals.graffito.test.database.path : C:/Program
Files/Pos
tgreSQL/8.1/jdbc/postgresql-8.1-404.jdbc3.jar
    [echo] org.apache.portals.graffito.test.jetspeed : true

db.scripts.gen:
torque:init:

    [echo] Generating SQL schema creation scripts for postgres
    [torque-sql] Using classpath
    [torque-sql] Generating to file
C:\Projects\graffito\components\target\src\s
ql\postgres\report.components.sql.generation

BUILD FAILED
File...... C:\Projects\graffito\maven.xml
Element... maven:reactor
Line...... 88
Column.... 40
Unable to obtain goal [test:test] --
C:\Projects\graffito\components\maven.xml:1
70:28: <torque-sql> Exception thrown by 'generator.parse'. For more
information
consult the velocity log, or invoke ant with the -debug flag.
Total time: 34 seconds


================== Relevent portion of
velocity.log======================================
2006-02-02 15:34:43,551 - Velocimacro : initialization starting.
2006-02-02 15:34:43,551 - Velocimacro : adding VMs from VM library template
: VM_global_library.vm
2006-02-02 15:34:43,551 - ResourceManager : unable to find resource
'VM_global_library.vm' in any resource loader.
2006-02-02 15:34:43,551 - Velocimacro : error using  VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
2006-02-02 15:34:43,551 - Velocimacro :  VM library template macro
registration complete.
2006-02-02 15:34:43,551 - Velocimacro : allowInline = true : VMs can be
defined inline in templates
2006-02-02 15:34:43,551 - Velocimacro : allowInlineToOverride = false : VMs
defined inline may NOT replace previous VM definitions
2006-02-02 15:34:43,551 - Velocimacro : allowInlineLocal = false : VMs
defined inline will be  global in scope if allowed.
2006-02-02 15:34:43,551 - Velocimacro : messages on  : VM system will output
logging messages
2006-02-02 15:34:43,551 - Velocimacro : autoload off  : VM system will not
automatically reload global library macros
2006-02-02 15:34:43,551 - Velocimacro : initialization complete.
2006-02-02 15:34:43,551 - Velocity successfully started.
2006-02-02 15:34:43,786 - ResourceManager : found sql/base/Control.vm with
loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2006-02-02 15:34:43,801 - ResourceManager : unable to find resource
'sql/base/postgres/table.vm' in any resource loader.
2006-02-02 15:34:43,801 - Method parse threw exception for reference
$generator in template sql/base/Control.vm at  [35,7]


Can someone point me what wrong I am doing?

Regards,

Raj

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