to/scripts /path/to/scripts/TagText.groovy
On Fri, Mar 4, 2022 at 7:04 AM Jochen Theodorou wrote:
> On 12.02.22 17:03, Andriy Rysin wrote:
> > Hi all
> >
> > I have a question about running/packaging groovy programs.
> > I have a small suite of (commandline) NLP t
This approach may work well for simple file include but if I have packages
(and import statements, which is inevitable if program grows) it does not
compile.
Andriy
On Wed, Mar 9, 2022 at 4:47 AM Jochen Theodorou wrote:
> On 08.03.22 19:08, Andriy Rysin wrote:
> > So it looks like gro
,
Andriy
On Fri, Mar 18, 2022 at 12:46 PM Jochen Theodorou wrote:
> On 18.03.22 15:32, Andriy Rysin wrote:
> > This approach may work well for simple file include but if I have
> > packages (and import statements, which is inevitable if program grows)
> > it does not compil
iy
On Mon, Mar 21, 2022 at 3:41 PM Jochen Theodorou wrote:
> 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 s
I am hitting some out of memory errors when using closures while similar
code with lambdas in java works ok
https://issues.apache.org/jira/browse/GROOVY-10918%E2%80%A6
I'm not sure how quickly it gets addressed so I was looking for a
workaround and I couldn't find anything quickly.
Wrapping
The variables at the top are not global (they are local to the script main
function).
You can make them visible to the functions with @Field annotation
Regards
Andriy
On Thu, Aug 10, 2023, 6:30 PM James McMahon wrote:
> Hello. I am trying to use a variable I define globally in a function that
add an option, that is then changing the compiler configuration
> and a transform could react to that to add a path to the classpath
> (package corrected of course) This is certainly possible.
>
> bye Jochen
>
>
> On 23.03.22 16:37, Andriy Rysin wrote:
> > I wonder if the 'groo