Hello,
I am trying to generate the dbpsml-schema.sql script for postgresql and get
the error that follows. I have configured the dbpsml.properties file as
indicated in the installation instructions. ant will create the sql file
without a problem for hypersonic or mysql, but not postgres. I am using the
1.4b1 source release and postgresql 7.2.3. Has anyone seen this before?
Thanks for any response and the log entry follows.
Greg
BUILD FAILED
c:\jetspeed\src\build\torque\build.xml:215: Exception thrown by
'generator.parse
'. For more information consult the velocity log, or invoke ant with the
-debug
flag.
at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:564)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:104)
at org.apache.tools.ant.Task.perform(Task.java:217)
at org.apache.tools.ant.Target.execute(Target.java:164)
at org.apache.tools.ant.Target.performTasks(Target.java:182)
at org.apache.tools.ant.Project.executeTarget(Project.java:601)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:256)
at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:120)
at org.apache.tools.ant.Task.perform(Task.java:217)
at org.apache.tools.ant.Target.execute(Target.java:164)
at org.apache.tools.ant.Target.performTasks(Target.java:182)
at org.apache.tools.ant.Project.executeTarget(Project.java:601)
at org.apache.tools.ant.Project.executeTargets(Project.java:560)
at org.apache.tools.ant.Main.runBuild(Main.java:454)
at org.apache.tools.ant.Main.start(Main.java:153)
at org.apache.tools.ant.Main.main(Main.java:176)
--- Nested Exception ---
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'c
hop' in class org.apache.velocity.util.StringUtils threw exception class
java.l
ang.ArrayIndexOutOfBoundsException : -1
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j
ava:308)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer
ence.java:207)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere
nce.java:250)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java
:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfSt
atement.java:109)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.
java:271)
at org.apache.velocity.Template.merge(Template.java:296)
at org.apache.velocity.texen.Generator.parse(Generator.java:425)
at org.apache.velocity.texen.Generator.parse(Generator.java:361)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j
ava:259)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer
ence.java:207)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere
nce.java:250)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java
:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfSt
atement.java:109)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java
:94)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344
)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirect
ive.java:153)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java
:94)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344
)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirect
ive.java:153)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.
java:271)
at org.apache.velocity.Template.merge(Template.java:296)
at org.apache.velocity.texen.Generator.parse(Generator.java:451)
at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:552)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:104)
at org.apache.tools.ant.Task.perform(Task.java:217)
at org.apache.tools.ant.Target.execute(Target.java:164)
at org.apache.tools.ant.Target.performTasks(Target.java:182)
at org.apache.tools.ant.Project.executeTarget(Project.java:601)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:256)
at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:120)
at org.apache.tools.ant.Task.perform(Task.java:217)
at org.apache.tools.ant.Target.execute(Target.java:164)
at org.apache.tools.ant.Target.performTasks(Target.java:182)
at org.apache.tools.ant.Project.executeTarget(Project.java:601)
at org.apache.tools.ant.Project.executeTargets(Project.java:560)
at org.apache.tools.ant.Main.runBuild(Main.java:454)
at org.apache.tools.ant.Main.start(Main.java:153)
at org.apache.tools.ant.Main.main(Main.java:176)
Total time: 8 seconds
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
