[ https://issues.apache.org/jira/browse/TORQUE-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17698040#comment-17698040 ]
Georg Kallidis commented on TORQUE-361: --------------------------------------- thanks for mentioning this! - Torque 5.1 Templates [Downloads|https://db.apache.org/torque/torque-5.1/download.html] and Jira Release Status are fixed now. Also, I would encourage you, if you might want to share some code (as soon you think, of course). As your code is gradle based this might become an integrated tool instead of the [ant tasks|https://db.apache.org/torque/torque-5.1/documentation/modules/ant-tasks/reference/index.html] (or the [maven-plugin)|https://db.apache.org/torque/torque-4.0/documentation/modules/maven-plugin/reference/index.html]? > 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