Loading groovy files from a remote repository

2020-05-23 Thread Saravanan Palanichamy
Hello

I have a requirement where I load all my groovy files into a remote
database. I then have to pull them down to compile and I am wondering what
is the best way to do this. Right now I do this

* I pull down the names of all files (not the actual file)
* I then use a GroovyClassLoader to load each one of them (turning off
script compile). If I hit a classNotFound error, I then catch that and try
to parse a file with that name from my repository

The problem I run into is my file name matching logic. I use the full class
name to locate a file in my remote repository with that name. The issue
with this is that my class names now have to match my file name. How do I
preserve the goodness of groovy's flexibility of defining class names that
dont match file names, and even define multiple classes in the same file

regards
Saravanan


Re: [ANNOUNCE] Groovy 2.5.12 and 3.0.4 Windows Installers Released

2020-05-23 Thread Paco Zarate
Thank you Keegan!!

On Fri, May 22, 2020 at 12:07 AM Keegan Witt  wrote:

> New Groovy installers for Windows released:
>
> 2.5.12:
> https://bintray.com/groovy/Distributions/download_file?file_path=groovy-2.5.12.msi
> 3.0.4:
> https://bintray.com/groovy/Distributions/download_file?file_path=groovy-3.0.4.msi
>
> -Keegan
>