[ https://issues.apache.org/jira/browse/TORQUE-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17697856#comment-17697856 ]
Max Philipp Wriedt edited comment on TORQUE-361 at 3/8/23 11:49 AM: -------------------------------------------------------------------- I will test this in the near future. Hadn't found the time for it by now. But a question in between (maybe a little off-topic): Inside Jira version 5.1 is defined as "unreleased". In [Downloads|https://db.apache.org/torque/torque-5.1/download.html] it is released. There is also an issue with the 5.1 templates download. was (Author: JIRAUSER299058): I will test this in the near future. Hadn't found the time for it by now. But a question in between (maybe a little off-topic: Inside Jira version 5.1 is defined as "unreleased". In [Downloads|https://db.apache.org/torque/torque-5.1/download.html] it is released. There is also an issue with the 5.1 templates download. > Groovy can't resolve import from ddl scripts > -------------------------------------------- > > Key: TORQUE-361 > URL: https://issues.apache.org/jira/browse/TORQUE-361 > Project: Torque > Issue Type: Bug > Components: Generator > Affects Versions: 5.0, 5.1 > Reporter: Max Philipp Wriedt > Priority: Major > Labels: groovy > > The GroovyShell invoked at GroovyScriptOutlet.java:42 doesn't get a > classpath, if i try to start it from a gradle instance. (the generator is > invoked inside a kotlin.class) > {code:java} > Error executing template torque.sql.ddl.database > org.apache.torque.generator.GeneratorException: Error executing template > torque.sql.ddl.database > Caused by: org.apache.torque.generator.GeneratorException: Error executing > groovy script torque.sql.ddl.database > Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: > startup failed: > Script1.groovy: 17: unable to resolve class > org.apache.torque.generator.template.groovy.TorqueGenGroovy > @ line 17, column 1. > import org.apache.torque.generator.template.groovy.TorqueGenGroovy > ^{code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org For additional commands, e-mail: torque-dev-h...@db.apache.org