[jira] [Updated] (TORQUE-361) Groovy can't resolve import from ddl scripts

"Max Philipp Wriedt (Jira)" <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.torque.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/TORQUE-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Philipp Wriedt updated TORQUE-361:
--------------------------------------
    Description: 
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}

  was:
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 cl ass org.apache.torque.generator.template.groovy.TorqueGenGroovy
 @ line 17, column 1.
   import org.apache.torque.generator.template.groovy.TorqueGenGroovy
   ^{code}


> 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
>            Reporter: Max Philipp Wriedt
>            Priority: Major
>
> 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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.