Re: Running groovy programs

Jochen Theodorou <[email protected]>
Newsgroups gmane.comp.lang.groovy.user
Message-ID <[email protected]>
On 21.03.22 15:26, Andriy Rysin wrote:
> Ah, sorry I didn't get it at first. Technically if we need extra wrapper
> to start a program I could probably do a shell/bat scripts. I was hoping
> we could use the same command (I have other tools that are invoked by
> their groovy file, so I was trying to keep the more complex one the same).

It surely would not be impossible to make a global transform, which
helps the compiler with the setup. But this global transform would have
to be on the classpath. And that could be done by placing it in
~/.groovy/lib/

The transform would then add the source path to the classpath for the
compiler used for the compilation during the conversion phase. Still
requires a one-time setup step of course.

Out of the box I think we have no solution for this really.

bye Jochen
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.